<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>$hell Your Experience !!!</title>
	<atom:link href="http://shellyourexperience.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shellyourexperience.com</link>
	<description>As aventuras de um DBA usando o Poder do $hell</description>
	<lastBuildDate>Sun, 19 May 2013 14:50:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shellyourexperience.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>$hell Your Experience !!!</title>
		<link>http://shellyourexperience.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shellyourexperience.com/osd.xml" title="$hell Your Experience !!!" />
	<atom:link rel='hub' href='http://shellyourexperience.com/?pushpress=hub'/>
		<item>
		<title>Monitorando o Event Viewer com PowerShell e WMI Event Queries &#8211; Parte 2</title>
		<link>http://shellyourexperience.com/2013/05/19/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-2/</link>
		<comments>http://shellyourexperience.com/2013/05/19/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-2/#comments</comments>
		<pubDate>Sun, 19 May 2013 12:43:20 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1824</guid>
		<description><![CDATA[&#160; Na primeira parte, Monitorando o Event Viewer com PowerShell e WMI Event Queries – Parte 1,&#160; nós vimos alguns conceitos importantes como WMI, WQL, intrinsic e extrinsic events. Vamos agora partir para os temporary events,&#160; tipos de intrinsic events&#160; &#8230; <a href="http://shellyourexperience.com/2013/05/19/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1824&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Na primeira parte, <a href="http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/">Monitorando o Event Viewer com PowerShell e WMI Event Queries – Parte 1</a>,&nbsp; nós vimos alguns conceitos importantes como WMI, WQL, intrinsic e extrinsic events. Vamos agora partir para os temporary events,&nbsp; tipos de intrinsic events&nbsp; e finalmente na terceira parte ver o Objeto $Event e&nbsp; registrar um evento&nbsp; no Event Viewer .</p>
<p>A finalidade de criar um evento, é o monitoramento quando necessário. Estes eventos precisam ter consumers , ou algum processo que fique rodando em background esperando a informação que o evento foi disparado e então fazer uma determinada ação&nbsp; Eles são chamados WMI Event Consumers</p>
<p>Existe 2 tipos de WMI Event Consumers : </p>
<p><strong>Temporary Events&nbsp; Consumers</strong> : Este tipo de event consumer&nbsp; somente recebe&nbsp; as notificações enquanto ele estiver ativo (ou vivo). Isso quer dizer que enquanto sua sessão de PowerShell estiver aberta , na qual você registrou o evento usando o cmdlet Register-WMIEvent, seu evento (ou eventos) estarão ativos. Também um temporary event&nbsp; cria um PowerShell background job (veremos bem a fundo isso nos <a href="https://www.facebook.com/pages/Aprenda-Powershell/141627606017456?fref=ts">videos de treinamento</a>) e você pode finalizar este evento usando os cmdlets de bakcground Jobs (Get-Job, Stop-Job, Remove-Job, Receive-Job..etc)</p>
<p>Como o uso deste tipo de evento fica restrito a vida da sessão PowerShell, o principal uso é quando você precisa monitorar algum recurso ou processo específico e por um certo período de tempo.</p>
<p><strong>Permanent Event Consumers</strong> : Ao contrário do temporary event consumer , este tipo de event consumer não se limita a sessão de PowerShell. Este tipo de event consumer usa um conjunto de objetos persistentes e filtros para capturar o evento WMI.</p>
<p>Como ele le é registrado no <a href="http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/">repositório da WMI</a> e implementado por um executável, mesmo quando você reebotar sua maquina eles continuarão ativos (enquanto o serviço de WMI estiver ativo claro)</p>
<p>Nosso foco hoje são os <strong>Temporary Event Consumers</strong>. Vimos que neste tipo de event consumer, temos 2 tipos de WMI events :<strong> Intrinsic e Extrinsic events</strong>. Para nosso objetivo, monitorar o Event Viewer, usaremos os Intrinsic events e com ele temos varias classes de sistema, mas as mais importantes são :</p>
<p><strong>__InstanceCreationEvent :</strong> Esta classe WMI gerenérica é usada para monitorar , como o próprio nome diz, processos e recursos quando ele forem criados. Na primeira parte, <a href="http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/">Monitorando o Event Viewer com PowerShell e WMI Event Queries – Parte 1</a>, vimos um código que monitar qualquer processo quando criado. Para filtrarmos por um determinado processo, por exexmplo quando abrir um notepad, temos que usar esta classe junto a WQL de Event Queries, que veremos logo abaixo.</p>
<p><strong>__InstanceDeletionEvent : </strong>Nesta classe, todos os processos ou recursos filtrados pela WQL que forem parados serão monitorados. Se eu estiver monitorando o notepad por exemplo, quando eu fechá-lo esta classe será acionada.</p>
<p><strong>__InstanceModificationEvent : </strong>Esta classe WMI monitora as mudanças ocorridas. Um bom exemplo é se quisermos por exemplo, monitorar o percentual de carga do processador e ser notificado caso ele ultrapasse algum valor.</p>
<p>Outro uso muito interessante, e eu tenho vários exemplos aqui no meu blog, é caso eu queira monitorar algum serviço (como o do SQL Server). Não preciso criar um evento para start e stop. Coloco um unico evento na classe <strong>__InstanceModificationEvent&nbsp; </strong>que vai ficar de olho nas mudanças deste serviço.</p>
<p>Para usarmos estas classes WMI, precisamos de um tipo especial de WQL . As Event Queries.</p>
<p>Não iremos a fundo na sintaxe dela,sendo que a WQL&nbsp; para Event Queries geral tem este formato :</p>
<p><strong>SELECT <font color="#ff0000">&lt;ListaDePropriedades&gt;</font> FROM <font color="#ff0000">&lt;ClasseDeEvento&gt;</font> WITHIN <font color="#ff0000">&lt;Intervalo&gt;</font><br />WHERE <font color="#ff0000">TargetInstance</font> | <font color="#ff0000">PreviousInstance </font>&nbsp;<font color="#0000ff">ISA</font> <font color="#ff0000">&lt;NomeClasseWMI&gt;<br /></font>AND TargetInstance<font color="#ff0000">.&lt;NomeDaPropriedade&gt;</font> = <font color="#ff0000">&lt;AlgumValor&gt;</font></strong></p>
<p>Vamos entender um pouco mais esta sintaxe :</p>
<table cellspacing="0" cellpadding="2" width="554" border="3">
<tbody>
<tr>
<td valign="top" width="236"><strong><font size="2">SELECT<br />&nbsp;<font color="#ff0000">&lt;ListaDePropriedades&gt;</font></font></strong></td>
<td valign="top" width="302"><font size="1">Aqui você especifica quais propriedades<br /> da classe WMI em questão você quer retornar<br /> quando o evento for disparado. Geralmente usamos o coringa * para trazer todas</font></td>
<td valign="top" width="10"><font size="2">Select *, <br />Select propriedade1,propriedade2, propriedade3….</font></td>
</tr>
<tr>
<td valign="top" width="236"><strong><font size="2">FROM <font color="#ff0000">&lt;ClasseDeEvento&gt;</font></font></strong> </td>
<td valign="top" width="302"><font size="1">Nesta parte você coloca qual classe de evento quer usar : <strong>__InstanceCreationEvent </strong>, </font><strong><font size="1">__InstanceDeletionEvent e </font><strong><font size="1">__InstanceModificationEvent</font> </strong>. </strong></td>
<td valign="top" width="10"><font size="2">From <strong>__InstanceCreationEvent </strong>&nbsp;<br />From <strong>__InstanceDeletionEvent</strong><br />From </font><strong><strong><font size="2">__InstanceModificationEvent</font> </strong></strong></td>
</tr>
<tr>
<td valign="top" width="236"><strong><font size="2">WITHIN <font color="#ff0000">&lt;Intervalo&gt;</font></font></strong></td>
<td valign="top" width="302"><font size="1">Neste caso você informa qual o pool em SEGUNDOS que você quer que o evento execute a ação. Por exemplo, quero que me envie um email 5 segundos após o serviço do SQL Server parar.</font></td>
<td valign="top" width="10"><font size="2">Within 5<br />Within 10<br />Within100</font></td>
</tr>
<tr>
<td valign="top" width="236"><strong><font size="2">WHERE <font color="#ff0000">TargetInstance</font> | <font color="#ff0000">PreviousInstance</font> <font color="#0000ff">ISA</font> <font color="#ff0000">&lt;NomeClasseWMI&gt;</font></font></strong><font color="#ff0000"><strong></strong><br /></font></td>
<td valign="top" width="302"><font size="1">Aqui você começa sua condição. Usamos ou <strong>TargetInstance ou PreviousInstance *</strong> mais a keyword ISA e o nome da classe a ser monitorada.</font></td>
<td valign="top" width="10"><font size="2">WHERE TargetInstance ISA ‘Win32_Process’</font></td>
</tr>
<tr>
<td valign="top" width="236"><strong><font size="2">AND TargetInstance<br /><font color="#ff0000">.&lt;NomeDaPropriedade&gt;</font> = <font color="#ff0000">&lt;AlgumValor&gt;</font></font></strong></td>
<td valign="top" width="302"><font size="1">E finalmente finalizamos a condição usando quantas propriedades e filtros quisermos, sempre com o AND. Por exemplo Quero monitorar quando um novo processo NOTEPAD começar, uso o AND.Name = ‘NOTEPAD.EXE’</font> </td>
<td valign="top" width="10"><font size="2">AND TargetInstance.Name = ‘NOTEPAD.EXE’</font></td>
</tr>
</tbody>
</table>
<p><strong>* TargetInstance e PreviousInstance representam o estado do objeto antes e depois do evento. PreviousIntance somente está disponivel no __InstanceModificationEvent . A keyword ISA é obrigatório pois desta maneira aplicamos o evento também as subclasses da classe especificada em &lt;NomeClasseWMI&gt;.</strong></p>
<p>Então , como dito acima, para monitorar somente os processos notepad startados usamos a WQL :</p>
<p>&#8220;SELECT * FROM __InstanceCreationEvent WITHIN 5 WHERE TargetInstance ISA &#8216;Win32_Process&#8217; and TargetInstance.Name = &#8216;NOTEPAD.EXE&#8217;&#8221;</p>
<p>Rode este código e abra uma nova calculadora e espere 5 segundos :</p>
<div id="codeSnippetWrapper" style="overflow:auto;cursor:text;font-size:8pt;border-top:silver 1px solid;font-family:'Courier New', courier, monospace;border-right:silver 1px solid;border-bottom:silver 1px solid;direction:ltr;text-align:left;margin:20px 0 10px;border-left:silver 1px solid;line-height:12pt;max-height:200px;width:97.5%;background-color:#f4f4f4;padding:4px;">
<div id="codeSnippet" style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:white;border-style:none;padding:0;">$query = <span style="color:#006080;">"SELECT * FROM __InstanceCreationEvent WITHIN 5 WHERE TargetInstance ISA 'Win32_Process' and TargetInstance.Name = 'CALC.EXE'"</span></pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">#Register WMI <span style="color:#0000ff;">event</span></pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:white;border-style:none;padding:0;">Register-WMIEvent -Query $query -Action {Write-Host <span style="color:#006080;">"Uma calculadora foi startada"</span>}</pre>
<p><!--CRLF--></div>
</div>
<p>Agora deixe a calculadora aberta e rode ..:</p>
<div id="codeSnippetWrapper" style="overflow:auto;cursor:text;font-size:8pt;border-top:silver 1px solid;font-family:'Courier New', courier, monospace;border-right:silver 1px solid;border-bottom:silver 1px solid;direction:ltr;text-align:left;margin:20px 0 10px;border-left:silver 1px solid;line-height:12pt;max-height:200px;width:97.5%;background-color:#f4f4f4;padding:4px;">
<div id="codeSnippet" style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:white;border-style:none;padding:0;">&nbsp;</pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">$query = <span style="color:#006080;">"SELECT * FROM __InstanceDeletionEvent WITHIN 5 WHERE TargetInstance ISA 'Win32_Process' and TargetInstance.Name = 'CALC.EXE'"</span></pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:white;border-style:none;padding:0;">#Register WMI <span style="color:#0000ff;">event</span></pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">Register-WMIEvent -Query $query -Action {Write-Host <span style="color:#006080;">"Uma calculadora foi parada"</span>}</pre>
<p><!--CRLF--></div>
</div>
<p>agora feche ela.. </p>
<p>Muito legal heim !!!!</p>
<p>É isso aí pessoal, vimos nesta segunda parte os tipos de Intrinsic Events mais usados, a WQL genérica para Event Queries e como registrar um evento caso um processo específico seja startado e parado.</p>
<p>Na terceira e e ultima parte deste artigo veremos o Objeto $Event e como trabalhar com ele (claro, precisamos das informações que a classe esta me retornando quando o evento é disparado) e finalmente como registrar um evento no Event Viewer .</p>
<p>Não se esqueçam que estou preparando as <a href="http://shellyourexperience.com/videos-powershell/">videos aulas dos treinamentos de PowerShell.</a> Serão vídeos pequenos e acessíveis financeiramente e voltados para a programação do Shell e não como usar os cmdlets.</p>
<p>Curta nossa pagina no facebook :</p>
<p><a href="https://www.facebook.com/pages/Aprenda-Powershell/141627606017456?fref=ts"><strong><font size="6">APRENDA POWERSHELL</font></strong></a></p>
<p><a href="http://shellyourexperience.com/videos-powershell/"><font size="6"><strong>Torne-se um especialista em PowerShell</strong></font></a></p>
<p>Abs Pessoal. QQ duvida só me pingar !!! </p>
<p>Recursos : </p>
<p><a href="https://www.simple-talk.com/sql/database-administration/using-powershell-and-wmi-events-queries-for-powerful-notifications/">WMI Query Language via PowerShell</a> – Ravikanth Chaganti </p>
<p><a href="https://www.simple-talk.com/sql/database-administration/using-powershell-and-wmi-events-queries-for-powerful-notifications/">Using PowerShell and WMI Events Queries for Powerful Notifications</a> </p>
<p><a href="https://www.simple-talk.com/author/laerte-junior/">Laerte Junior – Simple-Talk</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1824/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1824/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1824&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/05/19/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
		<item>
		<title>Monitorando o Event Viewer com PowerShell e WMI Event Queries &#8211; Parte 1</title>
		<link>http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/</link>
		<comments>http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/#comments</comments>
		<pubDate>Fri, 17 May 2013 10:40:36 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1819</guid>
		<description><![CDATA[&#160; Esta noite passei pela mesma situação que alguns anos atras, mas desta vez eu fui acionado para verificar um problema que estava dando em uma aplicação. Verificamos que o problema não era o Banco de Dados e me foi &#8230; <a href="http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1819&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Esta noite passei pela mesma situação que alguns anos atras, mas desta vez eu fui acionado para verificar um problema que estava dando em uma aplicação. Verificamos que o problema não era o Banco de Dados e me foi informado que ficaria uma pessoa na empresa terceira (do software) a noite inteira somente para resolver e precisavamos de uma maneira de monitorar o Event Viewer para que quando a exception ocorresse enviar um email para esta pessoa.</p>
<p>Bom.. quem me conhece sabe que eu automatizo tudo que eu posso e claro, esta situação não foi diferente. Não irei a fundo nos tópicos, estou preparando as videos aulas aonde veremos um pouco mais a fundo alguns topicos como WMI, WQL e varios outros assuntos do PowerShell, mas vamos ver o que vocês podem esperar :</p>
<p>O que é WMI ?</p>
<p>Existe um conjunto de padrões que dita e unifica o gerenciamento de ambientes de computação distribuida. Este conjunto de tecnologias é chamado WBEM ( <strong>Web-Based Enterprise Management</strong>). WMI ou Windows Management Instrumentation é a implementação da Microsoft em cima do WBEM.&nbsp; Com WMI você consegue gerenciar internamente todos os componentes dos sistemas operacionais baseados em Windows com um padrão de linguagem e interface. Ë um conjunto de classes,objetos e membros que controla cada componente interno de sistemas baesados em Windows.</p>
<p>Todos os schemas do WMI (que guardam as definições das classes) são armazenados em um repositório chamado CIM (Commom Information Model). Este repositorio não guarda dados porque estes são acessados dinamicamente conforme requirido. Ele armazena todos as informações dos schemas que nos possibilitam gerenciar uma variedade de diferentes recursos uniformemente.</p>
<p>Todas as classes CIM são organizadas em namespaces, sendo que cada uma contém um grupo lógico de classes que representam um determinado recurso ou área de gerenciamento no Windows.</p>
<p>A namespace mais importante é a root\cimv2. Ela armazena as classes com o prefixo Win32_ que gerenciam praticamente todos os componentes de um sistema baseado em windows</p>
<p>Basicamente, a WMI tem a capacidade de avisar aos consumers quando algum dado de schema foi mudado..</p>
<p>Bom se o Event viewer é um componente do Windows, então eu posso gerenciar ele. Claro !!!</p>
<p>Primeiramente tenho que saber qual a WMI que corresponde ao Event Viewer. Isso é simple..basta googlar ou bingar.</p>
<p>Ela é a &#8216;Win32_NTLogEvent&#8217;. A partir dai eu usei um programinha que adoro chamado <a href="http://www.ks-soft.net/hostmon.eng/wmi/">wmiexplorer</a> para me conectar na namespace e ver as propriedades e metodos desta classe. Ele é free e simples. Existem outras maneiras como usando o <a href="https://www.google.com.br/webhp?hl=en&amp;tab=Tw&amp;q=is%20affordable#hl=en&amp;gs_rn=12&amp;gs_ri=psy-ab&amp;tok=iBeTwPPSY0Ai9AltqS-toQ&amp;pq=is%20affordable&amp;cp=3&amp;gs_id=c&amp;xhr=t&amp;q=wbemtest&amp;es_nrs=true&amp;pf=p&amp;output=search&amp;sclient=psy-ab&amp;oq=wbe&amp;gs_l=&amp;pbx=1&amp;bav=on.2,or.r_cp.r_qf.&amp;bvm=bv.46471029,d.dmQ&amp;fp=cfac44f10e55f418&amp;biw=1920&amp;bih=985">Wbemtest</a> que é default do Windows. It is up to you !!!</p>
<p>Usando o wmiexplorer eu me conecto na namespace root\cimv2&nbsp; e pode ser localmente. Mesmo se eu for registrar um evento remotamente, a classe e seus membros é a mesma <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p><a href="http://shellyourexperience.files.wordpress.com/2013/05/image1.png"><img title="image" style="display:inline;border-width:0;" border="0" alt="image" src="http://shellyourexperience.files.wordpress.com/2013/05/image_thumb1.png?w=459&#038;h=321" width="459" height="321"></a> </p>
<p>Após isso é somente buscar pela classe &#8216;Win32_NTLogEvent&#8217;. em Search e verificar suas propriedades e métodos :</p>
<p><a href="http://shellyourexperience.files.wordpress.com/2013/05/image8.png"><img title="image" style="display:inline;border-width:0;" border="0" alt="image" src="http://shellyourexperience.files.wordpress.com/2013/05/image8_thumb.png?w=479&#038;h=493" width="479" height="493"></a> </p>
<p>Todas essas propriedades eu posso usar para procurar algum evento especifico usando WQL. Mas eu quero colocar um gatilho para disparar quando ocorrer um evento especifico. No meu caso, um determinado SourceName e EventCode no Application </p>
<p>Usamos o cmdlet Register-WMIEvent para registrar esse gatilho. Vamos tentar então ? Vou registrar um gatilho para o EventCode 500 . Para isso vamos usar WQL.</p>
<p>O que é WQL ?</p>
<p>Windows Query Language é um braço da American National Standards Institute Structured Query Language (ANSI SQL) Ela é muito parecida com SQL mas com algumas alterações para suportar o acesso a WMI.&nbsp; </p>
<p>Em uma WQL Normal com uma Classe WMI que é Classe de Evento, usamos o <strong>Select * from Classe where &lt;condição&gt;</strong> para registrar o evento.</p>
<p>Vamos criar a WQL para acessar a Classe WMI Win32_NTLogEvent :</p>
<div id="codeSnippetWrapper" style="overflow:auto;cursor:text;font-size:8pt;border-top:silver 1px solid;height:42px;font-family:'Courier New', courier, monospace;border-right:silver 1px solid;border-bottom:silver 1px solid;direction:ltr;text-align:left;margin:20px 0 10px;border-left:silver 1px solid;line-height:12pt;max-height:200px;width:72.54%;background-color:#f4f4f4;padding:4px;">
<div id="codeSnippet" style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;"><!--CRLF--></div>
<p>$Query = &#8220;select * from Win32_NTLogEvent where sourcename = &#8216;AlgumSource&#8217; and eventcode = 500&#8243;</p>
</div>
<p>Se tentarmos registrar o evento na WMI :</p>
<p><a href="http://shellyourexperience.files.wordpress.com/2013/05/image2.png"><img title="image" style="display:inline;border-width:0;" border="0" alt="image" src="http://shellyourexperience.files.wordpress.com/2013/05/image_thumb2.png?w=635&#038;h=277" width="635" height="277"></a> </p>
<p>Ha. “Register-WMIEvent : Class is not an event class. “</p>
<p>Isso porque existem classes que não possuem eventos relacionados a ela . Quando isso acontece, podemos trabalhar com eventos também, mas utilizando uma diferente maneira de queries. </p>
<p>Como saber quando uma classe é de evento ou não ? Nos vídeos de&nbsp; Treinamento eu irei mais a fundo em WMI.</p>
<p>Como a classe Win32_ProcessStartTrace ja podemos trabalho com WQL normal ou ate mesmo diretamente com a Classe, pois ela é uma classe de evento.</p>
<div id="codeSnippetWrapper" style="overflow:auto;cursor:text;font-size:8pt;border-top:silver 1px solid;height:83px;font-family:'Courier New', courier, monospace;border-right:silver 1px solid;border-bottom:silver 1px solid;direction:ltr;text-align:left;margin:20px 0 10px;border-left:silver 1px solid;line-height:12pt;max-height:200px;width:73.54%;background-color:#f4f4f4;padding:4px;">
<div id="codeSnippet" style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:white;border-style:none;padding:0;">Register-WMIEvent -Class Win32_ProcessStartTrace -SourceIndentifier <span style="color:#006080;">"Monitorar Processos"</span> - Action {</pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:#f4f4f4;border-style:none;padding:0;">    Write-Host <span style="color:#006080;">"$($Event.SourceEventArgs.NewEvent.ProcessName) Foi Startado"</span></pre>
<p><!--CRLF-->
<pre style="overflow:visible;font-size:8pt;font-family:'Courier New', courier, monospace;color:black;direction:ltr;text-align:left;margin:0;line-height:12pt;width:100%;background-color:white;border-style:none;padding:0;">}</pre>
<p><!--CRLF--></div>
</div>
<p>Este código monitora qualquer processo startado localmente.O Objeto&nbsp; $Event contém toda a informação do processo. Veremos ele na segunda parte deste post. Rode este codigo e abra um notepad e veja o que acontece <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Bom, neste caso, que a Win32_NTLogEvent não é uma classe de evento, temos que partir para as Event Queries</p>
<p>Nas Event Queries temos 3 tipos de eventos : intrinsic events, extrinsic events e timer events.&nbsp; Veremos somente os dois primeiros. Até hoje não vi um uso interessante para o timer.</p>
<p>Intrinsic Events são usados para monitorar recursos que são associados com uma classe WMI. Toda vez que uma instância é criada, modificada ou deletada um intrinsic event é gerado na namespace.</p>
<p>Diferente, os Extrinsic Events não são representados por uma classe WMI. Desta maneira, não existem conjuntos comuns de extrinsic events. Quando você quer monitorar nesta condição, tem que fazer individualmente. para o recurso. </p>
<p>Um exemplo de extrinsic events, são os do Registry. Ele tem que usar extrinsic events pois não existe nenhuma classe WMI associada a ele individualmente (os intrinsic events associados a classe Win32_Registry representam o Registry como um todo). Os extrinsic events relacionados ao registry são RegistryKeyChangeEvent, RegistryTreeChangeEvent, e RegistryValueChangeEvent,e estão na&nbsp; namespace root\default .</p>
<p>Na segunda parte deste post veremos os tipos de Intrinsic Events (__InstanceCreationEvent,__InstanceDeletionEvent e __InstanceModificationEvent) a sintaxe WQL para Event Queries , o objeto $event e finalmente como registrar um evento no Event Viewer</p>
<p>Abs Pessoal. QQ duvida só me pingar !!!</p>
<p>Recursos :</p>
<p><a href="https://www.simple-talk.com/sql/database-administration/using-powershell-and-wmi-events-queries-for-powerful-notifications/">WMI Query Language via PowerShell</a> – Ravikanth Chaganti</p>
<p><a href="https://www.simple-talk.com/sql/database-administration/using-powershell-and-wmi-events-queries-for-powerful-notifications/">Using PowerShell and WMI Events Queries for Powerful Notifications</a> </p>
<p><a href="https://www.simple-talk.com/author/laerte-junior/">Laerte Junior – Simple-Talk</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1819/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1819&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/05/17/monitorando-o-event-viewer-com-powershell-e-wmi-event-queries-parte-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>

		<media:content url="http://shellyourexperience.files.wordpress.com/2013/05/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://shellyourexperience.files.wordpress.com/2013/05/image8_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://shellyourexperience.files.wordpress.com/2013/05/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLSaturday 245 &#8211; Rio de Janeiro &#8211; 31 de Agosto</title>
		<link>http://shellyourexperience.com/2013/05/16/sqlsaturday-245-rio-de-janeiro-31-de-agosto/</link>
		<comments>http://shellyourexperience.com/2013/05/16/sqlsaturday-245-rio-de-janeiro-31-de-agosto/#comments</comments>
		<pubDate>Thu, 16 May 2013 18:59:40 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1811</guid>
		<description><![CDATA[&#160; Pessoal , com grande satisfação informamos que&#160; teremos mais uma edição do SQLSaturday no Rio de Janeiro, dia 31 de Agosto de 2013. Preparem-se para um dia inteiro de treinamento free de SQL Server. Parabéns ao Dennes Torres pela &#8230; <a href="http://shellyourexperience.com/2013/05/16/sqlsaturday-245-rio-de-janeiro-31-de-agosto/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1811&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Pessoal , com grande satisfação informamos que&nbsp; teremos mais uma edição do SQLSaturday no Rio de Janeiro, dia 31 de Agosto de 2013.</p>
<p>Preparem-se para um dia inteiro de treinamento free de SQL Server. Parabéns ao Dennes Torres pela iniciativa e vamos la.</p>
<p><a title="http://www.sqlsaturday.com/245/eventhome.aspx" href="http://www.sqlsaturday.com/245/eventhome.aspx">http://www.sqlsaturday.com/245/eventhome.aspx</a></p>
<p>O call for speakers esta aberto. Submetam suas sessões :</p>
<p><a title="http://www.sqlsaturday.com/245/callforspeakers.aspx" href="http://www.sqlsaturday.com/245/callforspeakers.aspx">http://www.sqlsaturday.com/245/callforspeakers.aspx</a></p>
<p>&nbsp;</p>
<p><a href="http://www.sqlsaturday.com/245/eventhome.aspx"><img title="SQLSAT245_print" style="border-top:0;border-right:0;border-bottom:0;border-left:0;display:inline;" border="0" alt="SQLSAT245_print" src="http://shellyourexperience.files.wordpress.com/2013/05/sqlsat245_print.jpg?w=583&#038;h=291" width="583" height="291"></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1811/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1811/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1811&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/05/16/sqlsaturday-245-rio-de-janeiro-31-de-agosto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>

		<media:content url="http://shellyourexperience.files.wordpress.com/2013/05/sqlsat245_print.jpg" medium="image">
			<media:title type="html">SQLSAT245_print</media:title>
		</media:content>
	</item>
		<item>
		<title>Evento de 10 anos do codificando .Net</title>
		<link>http://shellyourexperience.com/2013/05/15/evento-de-10-anos-do-codificando-net/</link>
		<comments>http://shellyourexperience.com/2013/05/15/evento-de-10-anos-do-codificando-net/#comments</comments>
		<pubDate>Wed, 15 May 2013 18:20:25 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">http://shellyourexperience.com/2013/05/15/evento-de-10-anos-do-codificando-net/</guid>
		<description><![CDATA[Reblogged from Freccia&#039;s Blog: Olá pessoal, A comunidade comunidade Codificando .Net e SQL estará realizando no mês de junho/2013 seu evento em comemoração aos 10 anos de vida . A comunidade do Codificando .Net já é bastante conhecida no cenário brasileiro e &#8230; <a href="http://shellyourexperience.com/2013/05/15/evento-de-10-anos-do-codificando-net/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1808&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="reblog-post"><p class="reblog-from"><img alt='' src='http://1.gravatar.com/avatar/ac7b643a5132b4f150dda2b3f04b441c?s=25&amp;d=identicon&amp;r=G' class='avatar avatar-25' height='25' width='25' /> <a href="http://marcosfreccia.wordpress.com/2013/05/15/evento-de-10-anos-do-codificando-net/">Reblogged from Freccia&#039;s Blog:</a></p><div class="wpcom-enhanced-excerpt"><div class="wpcom-enhanced-excerpt-content">
<p>Olá pessoal,</p>
<p>A comunidade comunidade Codificando .Net e SQL estará realizando no mês de junho/2013 seu evento em comemoração aos 10 anos de vida . A comunidade do Codificando .Net já é bastante conhecida no cenário brasileiro e para quem quiser saber mais sobre a mesma acesse o <a href="http://comunidade.codificando.net/">site da comunidade</a>.</p>
<p>Estou vindo aqui para então divulgar que a submissão de palestras para o evento está aberta e para quem quiser compartilhar seus conhecimentos essa é uma ótima oportunidade.</p>
</div> <p class="read-more"><a href="http://marcosfreccia.wordpress.com/2013/05/15/evento-de-10-anos-do-codificando-net/" target="_self"><span>Read more&hellip;</span> 85 more words</a></p></div></div> ]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/05/15/evento-de-10-anos-do-codificando-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLBITS XI..again&#8230;unforgettable</title>
		<link>http://shellyourexperience.com/2013/05/10/sqlbits-xi-againunforgettable/</link>
		<comments>http://shellyourexperience.com/2013/05/10/sqlbits-xi-againunforgettable/#comments</comments>
		<pubDate>Fri, 10 May 2013 07:58:37 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1802</guid>
		<description><![CDATA[&#160; For the second time I had the honor of being chosen as a speaker for the largest SQL Server event in Europe. the SQLBITS.My journey began in Amsterdam, Leiden and Noordwijk a week before from SQLBITS , where I &#8230; <a href="http://shellyourexperience.com/2013/05/10/sqlbits-xi-againunforgettable/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1802&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>For the second time I had the honor of being chosen as a speaker for the largest SQL Server event in Europe. the SQLBITS.<br />My journey began in Amsterdam, Leiden and Noordwijk a week before from SQLBITS , where I met fantastic places and generous people. I can say that Netherlands is a amazing country and it is something that was in my Bucket List.
<p>So I flew to Nottingham, home of Robin Hood. On the first day, <strong>I</strong>,&nbsp; <strong>Neil Hambly</strong> and <strong>Tom La Rock</strong> headed out to explore the city. An amazing place, filled with several local history. Of course, we are talking about Europe, the birthplace of human history.
<p>On Friday, the SQLBITS started with a Keynote of <strong>Conor Cunningham</strong> talking about Azure. I didn&#8217;t know that Connor was in the Azure team, and I can say that was an amazing presentation and we can wait a BIG stuff coming soon with Azure. Well, <strong>Buck Woody</strong>, <strong>Bob Ward</strong> and <strong>Conor Cunn</strong>ingham talking about Azure…hummm&#8230;we really need to get our eyes to the Cloud.
<p>Then I went to the <strong>Kalen Delaney’s</strong> session &#8211; Seeking SQL Server Secrets..again I learned a&nbsp; LOT of new stuff with trace flags..of course. She is the SQLQueen.&nbsp; I&#8217;ve heard people saying things that she knows stuff about SQL Server that the SQL Server team&nbsp; does not know (LOL).
<p>On Saturday was my sessions. It had something like 50 people and all of them interested and making questions. It was amazing. All my demos worked and I could show a bit about the Power of <strong>PowerShell side of the force.</strong>
<p>After that I got the <strong>Allen White’s</strong> session about <strong>PowerShell</strong> (of course) He is one of the master Jedi about this.
<p>Our day finished with a great dinner with the <strong>#sqlfamily</strong> in a ..guess where … Brazilian restaurant (barbecue) funny lol
<p>Again, it was a amazing conference, very well organized of course, and ..perfect..everything was perfect..at least for me.
<p><strong>I just need to thanks again to the SQLBITS team for the opportunity . I am deeply grateful and honored to be a part for the second time this fantastic conference.&nbsp; And also to the amazing attendees of my session. You guys rock !!!! </strong>
<p><strong>Thanks guys !!! Specially to my good friend Neil Hambly . You are the man bro !!!!</strong>
<p><strong><a href="http://sdrv.ms/ZMFPTO">DOWNLOAD THE CODE AND PRESENTATION !!!</a></strong>
<p><strong></strong>&nbsp;
<p><strong>PS – Are stuff like this that makes me keep sharing and learning :</strong>
<p><a href="http://shellyourexperience.files.wordpress.com/2013/05/image.png"><img title="image" style="display:inline;border-width:0;" border="0" alt="image" src="http://shellyourexperience.files.wordpress.com/2013/05/image_thumb.png?w=596&#038;h=88" width="596" height="88"></a>
<p>or with the Blog post from a new friend that I did in SQLBITS and a good PowerShell scripter too
<p><strong>Sir Rob Sewell</strong> :<br />
<h3><a href="http://newsqldbawiththebeard.wordpress.com/2013/05/07/powershell-wont-save-when-running-as-a-scheduled-job/">Powershell won’t save when running as a scheduled job</a></h3>
<h5>Or, How SQLBits put me in touch with Laerte and solved a problem</h5>
<p>Thanks for the kind words man. I am honored&nbsp; and glad that I could help <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<p>I have&nbsp; pictures of course..you guys know me. All the pictures are in my Facebook (crap..I have Facebook now)
<p><a title="https://www.facebook.com/profile.php?id=100000305345372&amp;ref=tn_tnmn" href="https://www.facebook.com/profile.php?id=100000305345372&amp;ref=tn_tnmn">Laerte Junior Facebook</a>
<p>But don&#8217;t expect so much from me in Facebook..it is too much information LOL !!!
<p>&nbsp;
<p>Thanks !!!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1802/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1802&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/05/10/sqlbits-xi-againunforgettable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>

		<media:content url="http://shellyourexperience.files.wordpress.com/2013/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>E o Virtual PASS PT volta a ativa</title>
		<link>http://shellyourexperience.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/</link>
		<comments>http://shellyourexperience.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 11:37:26 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">http://shellyourexperience.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/</guid>
		<description><![CDATA[Reblogged from Freccia&#039;s Blog: Olá pessoal, Desde o começo do ano o Virtual PASS PT ainda não tinha dado as caras com sua programação mensal de sempre, claro que isso acontece por alguns motivos, e eles podem ser muito bons. &#8230; <a href="http://shellyourexperience.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1798&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="reblog-post"><p class="reblog-from"><img alt='' src='http://1.gravatar.com/avatar/ac7b643a5132b4f150dda2b3f04b441c?s=25&amp;d=identicon&amp;r=G' class='avatar avatar-25' height='25' width='25' /> <a href="http://marcosfreccia.wordpress.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/">Reblogged from Freccia&#039;s Blog:</a></p><div class="wpcom-enhanced-excerpt"><div class="wpcom-enhanced-excerpt-content">
<p>Olá pessoal,</p>
<p>Desde o começo do ano o <a href="http://www.virtualpass.com.br/">Virtual PASS PT</a> ainda não tinha dado as caras com sua programação mensal de sempre, claro que isso acontece por alguns motivos, e eles podem ser muito bons. Acredito que aqui todos saibam, mas o Virtual PASS PT até meados de Abril/2013 era liderado pelo MVP Felipe Ferreira(<a href="https://twitter.com/SqlBoy">Twitter</a>|<a href="http://www.templar.com.br/blogs/felipe/">Blog</a>) em parceria com o PASS Regional Mentor Laerte Junior(</p>
</div> <p class="read-more"><a href="http://marcosfreccia.wordpress.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/" target="_self"><span>Read more&hellip;</span> 184 more words</a></p></div></div> ]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/04/29/e-o-virtual-pass-pt-volta-a-ativa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
		<item>
		<title>Instalando Hyper-V Failover Clustering no seu Note</title>
		<link>http://shellyourexperience.com/2013/04/23/instalando-hyper-v-failover-clustering-no-seu-note/</link>
		<comments>http://shellyourexperience.com/2013/04/23/instalando-hyper-v-failover-clustering-no-seu-note/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 10:23:31 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1792</guid>
		<description><![CDATA[&#160; Galera, montei um video em portugues de como instalar e configurar&#160; Hyper-V&#160; Failover Clustering no seu laptop, com uma maquina fisica somente. bem legal pra quem quiser fazer teste de live migration com o SQL Server. Recomendo também os &#8230; <a href="http://shellyourexperience.com/2013/04/23/instalando-hyper-v-failover-clustering-no-seu-note/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1792&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Galera, montei um video em portugues de como instalar e configurar&nbsp; Hyper-V&nbsp; Failover Clustering no seu laptop, com uma maquina fisica somente. bem legal pra quem quiser fazer teste de live migration com o SQL Server.</p>
<p>Recomendo também os videos do Nirtão Pinheiro sobre SQL Server Failover clustering end-to end.</p>
<p>Acesse <a href="http://www.mcdbabrasil.com.br">www.mcdbabrasil.com.br</a> do lado esquerdo. Estão lá</p>
<p>Você pode baixar o video de Hyper-V Failover Clustering aqui –&gt;&nbsp; <a title="http://migre.me/eeWgn" href="http://migre.me/eeWgn">http://migre.me/eeWgn</a></p>
<p>Abs e que a força esteja com vocês. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:fe44967b-4088-4632-b650-cdce711b99f8" class="wlWriterEditableSmartContent" style="float:none;margin:0;display:inline;padding:0;">
<div><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/akbiGuc02P0?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1792/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1792&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/04/23/instalando-hyper-v-failover-clustering-no-seu-note/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up a Hyper-V Failover Clustering in your laptop &#8211; Video English</title>
		<link>http://shellyourexperience.com/2013/04/21/setting-up-a-hyper-v-failover-clustering-in-your-laptop-video-english/</link>
		<comments>http://shellyourexperience.com/2013/04/21/setting-up-a-hyper-v-failover-clustering-in-your-laptop-video-english/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 00:01:37 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Algo que Esqueci de Categorizar]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1789</guid>
		<description><![CDATA[Hi guys, I did a small video (~20 minutes) showing how to install a Hyper-V Failover Clustering in your laptop. My English is not that good, but I tried to be more clear that I could. You can download it &#8230; <a href="http://shellyourexperience.com/2013/04/21/setting-up-a-hyper-v-failover-clustering-in-your-laptop-video-english/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1789&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hi guys, I did a small video (~20 minutes) showing how to install a Hyper-V Failover Clustering in your laptop.</p>
<p>My English is not that good, but I tried to be more clear that I could.</p>
<p>You can download it here –&gt; <a title="http://migre.me/eeWiE" href="http://migre.me/eeWiE">http://migre.me/eeWiE</a></p>
<p>I am using to test live migration with SQL Server.</p>
<p>Hope you guys like it.</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:850220ad-6230-4e0d-b707-8147fcd03ad3" class="wlWriterEditableSmartContent" style="float:none;margin:0;display:inline;padding:0;">
<div><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/UBwDGQsxvuE?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1789/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1789&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/04/21/setting-up-a-hyper-v-failover-clustering-in-your-laptop-video-english/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Power DOC&#8211;Amazing Tool</title>
		<link>http://shellyourexperience.com/2013/04/11/sql-power-docamazing-tool/</link>
		<comments>http://shellyourexperience.com/2013/04/11/sql-power-docamazing-tool/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 15:22:58 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SQL SERVER EM GERAL]]></category>
		<category><![CDATA[Virtual Pass BR]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1787</guid>
		<description><![CDATA[When the good friend Kendal Van Dyke&#160; (@sqldba) told me some months ago that he was doing&#160; an ambitious project of documentation for SQL Server in PowerShell I did not realize how big it would be. Kendal did a fantastic &#8230; <a href="http://shellyourexperience.com/2013/04/11/sql-power-docamazing-tool/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1787&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>When the good friend Kendal Van Dyke&nbsp; (@sqldba) told me some months ago that he was doing&nbsp; an ambitious project of documentation for SQL Server in PowerShell I did not realize how big it would be.</p>
<p>Kendal did a fantastic job, doing&nbsp; the most hard core programming in PowerShell and classes . Net. (guys, and the main code was very well written)</p>
<p>Power SQL Doc is a complete project of&nbsp; documentation for SQL Server and Windows servers and is worth being tested&nbsp; and used</p>
<p>Congratulations to Kendal. A great job for sure my friend</p>
<p><a href="http://www.kendalvandyke.com/2013/04/discover-diagnose-and-document-all-your.html">Discover, Diagnose, and Document ALL Your SQL Servers On Your Coffee Break</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1787/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1787&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/04/11/sql-power-docamazing-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
		<item>
		<title>Torne-se um Especialista em PowerShell&#8211;Arquitetura usada nos videos</title>
		<link>http://shellyourexperience.com/2013/04/11/torne-se-um-especialista-em-powershellarquitetura-usada-nos-videos/</link>
		<comments>http://shellyourexperience.com/2013/04/11/torne-se-um-especialista-em-powershellarquitetura-usada-nos-videos/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 11:00:35 +0000</pubDate>
		<dc:creator>Laerte Junior</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SQL SERVER EM GERAL]]></category>
		<category><![CDATA[Virtual Pass BR]]></category>

		<guid isPermaLink="false">https://shellyourexperience.wordpress.com/?p=1784</guid>
		<description><![CDATA[Pessoal, Montei mais um outro video free (15 m) mostrando a arquitetura que vai ser usada para montar os videos e&#160; a ferramenta de script. Também dei um gostinho de uns scripts que estão por vir (procurar por instancias SQL &#8230; <a href="http://shellyourexperience.com/2013/04/11/torne-se-um-especialista-em-powershellarquitetura-usada-nos-videos/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1784&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Pessoal,</p>
<p>Montei mais um outro video free (15 m) mostrando a arquitetura que vai ser usada para montar os videos e&nbsp; a ferramenta de script.</p>
<p>Também dei um gostinho de uns scripts que estão por vir (procurar por instancias SQL Server na rede, tirar scripts e registrar eventos – serviço do SQL Server parar e auditoria de ddl)</p>
<p>A partir de agora serão so videos de treinamento..abs</p>
<p><font size="5"><strong><a href="http://templar.wistia.com/projects/x72rf66be3">Arquitetura dos videos</a></strong></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shellyourexperience.wordpress.com/1784/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shellyourexperience.wordpress.com/1784/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shellyourexperience.com&#038;blog=16548779&#038;post=1784&#038;subd=shellyourexperience&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shellyourexperience.com/2013/04/11/torne-se-um-especialista-em-powershellarquitetura-usada-nos-videos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbe4d2f33b5e311952720bf52fe86381?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laertejuniordba</media:title>
		</media:content>
	</item>
	</channel>
</rss>
