 




<?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/"
	>

<channel>
	<title>PowerShell for Windows Admins &#187; Windows 7</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/powershell/tag/windows-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/powershell</link>
	<description>PowerShell and WMI: The fast and furious of windows administration.</description>
	<lastBuildDate>Tue, 21 May 2013 21:49:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>PowerShell v3 installed modules</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/powershell-v3-installed-modules/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/powershell-v3-installed-modules/#comments</comments>
		<pubDate>Fri, 14 Dec 2012 10:17:52 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[PowerShell 3]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/?p=754</guid>
		<description><![CDATA[This is the list of installed modules in PowerShell v3 on Windows 8 AppLocker Appx BitLocker BitsTransfer BranchCache CimCmdlets DirectAccessClientComponents Dism DnsClient International iSCSI ISE Kds Microsoft.PowerShell.Diagnostics Microsoft.PowerShell.Host Microsoft.PowerShell.Management Microsoft.PowerShell.Security Microsoft.PowerShell.Utility Microsoft.WSMan.Management MMAgent MsDtc NetAdapter NetConnection NetLbfo NetQos NetSecurity NetSwitchTeam NetTCPIP NetworkConnectivityStatus NetworkTransition PKI PrintManagement PSDiagnostics PSScheduledJob PSWorkflow PSWorkflowUtility ScheduledTasks SecureBoot SmbShare SmbWitness Storage TroubleshootingPack [...]]]></description>
				<content:encoded><![CDATA[<p>This is the list of installed modules in PowerShell v3 on Windows 8</p>
<p>AppLocker    <br />Appx     <br />BitLocker     <br />BitsTransfer     <br /><font>BranchCache      <br /></font>CimCmdlets     <br /><font>DirectAccessClientComponents</font>     <br />Dism     <br /><font>DnsClient</font>     <br />International     <br /><font>iSCSI      <br /></font>ISE     <br />Kds     <br />Microsoft.PowerShell.Diagnostics     <br />Microsoft.PowerShell.Host     <br />Microsoft.PowerShell.Management     <br />Microsoft.PowerShell.Security     <br />Microsoft.PowerShell.Utility     <br />Microsoft.WSMan.Management     <br />MMAgent     <br /><font>MsDtc      <br /></font><font>NetAdapter      <br /></font><font>NetConnection      <br /></font><font>NetLbfo      <br /></font><font>NetQos</font>     <br /><font>NetSecurity      <br /></font><font>NetSwitchTeam      <br /></font><font>NetTCPIP      <br /></font><font>NetworkConnectivityStatus      <br /></font><font>NetworkTransition</font>     <br />PKI     <br /><font>PrintManagement      <br /></font>PSDiagnostics     <br />PSScheduledJob     <br />PSWorkflow     <br />PSWorkflowUtility     <br /><font>ScheduledTasks</font>     <br />SecureBoot     <br /><font>SmbShare</font>     <br /><font>SmbWitness      <br /></font><font>Storage</font>     <br />TroubleshootingPack     <br />TrustedPlatformModule     <br /><font>VpnClient      <br /></font><font>Wdac</font>     <br />WebAdministration     <br />WindowsDeveloperLicense     <br />WindowsErrorReporting</p>
<p>This is the corresponding list on PowerShell v3 installed on Windows 7</p>
<p>AppLocker    <br />BitsTransfer     <br />CimCmdlets     <br />ISE     <br />Microsoft.PowerShell.Diagnostics     <br />Microsoft.PowerShell.Host     <br />Microsoft.PowerShell.Management     <br />Microsoft.PowerShell.Security     <br />Microsoft.PowerShell.Utility     <br />Microsoft.WSMan.Management     <br />PSDiagnostics     <br />PSScheduledJob     <br />PSWorkflow     <br />PSWorkflowUtility     <br />TroubleshootingPack</p>
<p>As you can see there is quite a difference!</p>
<p>All of the Windows 8 modules that are highlighted in yellow are CDXML based.&#160; They can’t be made available on Windows 7 because the underlying WMI classes aren’t available</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/powershell-v3-installed-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remoting between PowerShell v3 CTP 2 and PowerShell v2</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/remoting-between-powershell-v3-ctp-2-and-powershell-v2/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/remoting-between-powershell-v3-ctp-2-and-powershell-v2/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 22:34:00 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[PowerShell 3]]></category>
		<category><![CDATA[PowerShell v2]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/remoting-between-powershell-v3-ctp-2-and-powershell-v2/</guid>
		<description><![CDATA[One of the questions on tonight’s Live Meeting concerned the compatibility between remoting on PowerShell v2 and PowerShell v3 CTP 2 The difference is that v3 uses a WSMAN 3.0 stack but v2 uses 2.0 I used two machines: Windows 2008 R2 SP 1 with PowerShell v2 Windows 7 SP1 with PowerShell v3 CTP 2 [...]]]></description>
				<content:encoded><![CDATA[<p>One of the questions on tonight’s Live Meeting concerned the compatibility between remoting on PowerShell v2 and PowerShell v3 CTP 2</p>
<p>The difference is that v3 uses a WSMAN 3.0 stack but v2 uses 2.0</p>
<p>I used two machines:</p>
<ul>
<li>Windows 2008 R2 SP 1 with PowerShell v2</li>
<li>Windows 7 SP1 with PowerShell v3 CTP 2</li>
</ul>
<p>&#160;</p>
<p>on each machine I ensured remoting was enabled then ran</p>
<p>$s = New-PSSession –ComputerName &lt;other computer name&gt;   <br />Invoke-Command -Session $s -ScriptBlock {get-service}</p>
<p>&#160;</p>
<p>it worked in both cases</p>
<p>Looks like in this case you can remote both ways</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/remoting-between-powershell-v3-ctp-2-and-powershell-v2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Mesh Update</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/live-mesh-update/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/live-mesh-update/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 09:22:27 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/live-mesh-update/</guid>
		<description><![CDATA[Couple of points worth noting if you are going to use Live Mesh (1) File paths longer than 269 characters (folder paths &#62; 248) won’t sync&#160; &#8211; shorten the path to fix (2) PST files won’t sync – even if they are not in use &#160; By default Mesh wants to put the target folder [...]]]></description>
				<content:encoded><![CDATA[<p>Couple of points worth noting if you are going to use Live Mesh</p>
<p>(1) File paths longer than 269 characters (folder paths &gt; 248) won’t sync&#160; &#8211; shorten the path to fix</p>
<p>(2) PST files won’t sync – even if they are not in use</p>
<p>&#160;</p>
<p>By default Mesh wants to put the target folder into your Documents area.&#160; The way round it is:</p>
<ol>
<li>On the source machine open Live Mesh select the folder to synchronise e.g.&#160; c:\scripts </li>
<li>On the target machine create c:\scripts </li>
<li>Open Live Mesh on the target machine </li>
<li>On the folder you want to sync select <strong>sync this folder</strong> </li>
<li>Select the folder you just created </li>
</ol>
<p>The synchonisation now happens to the folder you want rather than your profile area.</p>
<p>Otherwise it works as advertised</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/live-mesh-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Mesh</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/live-mesh/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/live-mesh/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 17:03:46 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/live-mesh/</guid>
		<description><![CDATA[One problem I’ve had for a while is how to keep my script library synchronised across a number of machines.&#160; I have a laptop I use for my development work at home and I have two netbooks – at least one of which is always with my when I’m away from home. I’ve tried using [...]]]></description>
				<content:encoded><![CDATA[<p>One problem I’ve had for a while is how to keep my script library synchronised across a number of machines.&#160; I have a laptop I use for my development work at home and I have two netbooks – at least one of which is always with my when I’m away from home.</p>
<p>I’ve tried using robocopy and keeping everything on a USB stick but it just doesn’t work.</p>
<p>Live Mesh may be the answer</p>
<p><a title="http://explore.live.com/windows-live-mesh?os=other" href="http://explore.live.com/windows-live-mesh?os=other">http://explore.live.com/windows-live-mesh?os=other</a></p>
<p>I can designate folders to sync and they will sync, including subfolders, across all three machines. The sync is in both directions.</p>
<p>Good price point as well!</p>
<p>Not something to contemplate for the enterprise but a good solution for private use.</p>
<p>This doesn’t necessarily take away the need for a backup but it does reduce the pressure on backups as I can accept rebuilding the machine and re-installing software. Its the data I can’t afford to lose.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/live-mesh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Connection Ids</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/network-connection-ids/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/network-connection-ids/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 18:42:08 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[PowerShell v2]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/network-connection-ids/</guid>
		<description><![CDATA[Yesterday I was looking at changing a Network connection id (the name that shows in Network and Sharing Center when you look at the adapters). I kept getting an error – either COM or number of arguments depending if I was running locally or remotely. I eventually realised that I must be using a connection [...]]]></description>
				<content:encoded><![CDATA[<p>Yesterday I was looking at changing a Network connection id (the name that shows in Network and Sharing Center when you look at the adapters). I kept getting an error – either COM or number of arguments depending if I was running locally or remotely.</p>
<p>I eventually realised that I must be using a connection id that already existed in the Registry.&#160; I tracked them down to </p>
<p>HKLM:\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}</p>
<p>This works for Windows 7 and Windows 2008 R2. Please check for other Windows versions.</p>
<p>This produces a bunch of subkeys of the form</p>
<p>{F913D3B9-DBE4-455C-8926-10E24AB4E68A}</p>
<p>Each of these has a subkey Connection with a value of Name that we are interested in</p>
<pre><span style="color: #00008b">function</span> <span style="color: #8a2be2">get-Registryconnectionid</span><span style="color: #000000">{</span>             
<span style="color: #a9a9a9">[</span><span style="color: #add8e6">CmdletBinding</span><span style="color: #000000">(</span><span style="color: #000000">)</span><span style="color: #a9a9a9">]</span>             
<span style="color: #00008b">param</span> <span style="color: #000000">(</span>             
   <span style="color: #008080">[string]</span><span style="color: #ff4500">$computer</span><span style="color: #a9a9a9">=</span><span style="color: #8b0000">&quot;.&quot;</span>             
<span style="color: #000000">)</span>             
<span style="color: #00008b">BEGIN</span><span style="color: #000000">{</span><span style="color: #000000">}</span><span style="color: #006400">#begin </span>            
<span style="color: #00008b">PROCESS</span><span style="color: #000000">{</span>            
            
<span style="color: #0000ff">Write-Verbose</span> <span style="color: #8b0000">&quot;Reading registry keys for IDs&quot;</span>            
<span style="color: #ff4500">$HKLM</span> <span style="color: #a9a9a9">=</span> <span style="color: #800080">2147483650</span>            
<span style="color: #ff4500">$key</span> <span style="color: #a9a9a9">=</span> <span style="color: #8b0000">&quot;SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}&quot;</span>            
<span style="color: #ff4500">$reg</span> <span style="color: #a9a9a9">=</span> <span style="color: #008080">[wmiclass]</span><span style="color: #8b0000">'\\.\root\default:StdRegprov'</span>            
<span style="color: #ff4500">$subkeys</span> <span style="color: #a9a9a9">=</span> <span style="color: #ff4500">$reg</span><span style="color: #a9a9a9">.</span><span style="color: #000000">EnumKey</span><span style="color: #000000">(</span><span style="color: #ff4500">$HKLM</span><span style="color: #a9a9a9">,</span> <span style="color: #ff4500">$key</span><span style="color: #000000">)</span>            
            
            
<span style="color: #00008b">foreach</span> <span style="color: #000000">(</span><span style="color: #ff4500">$name</span> <span style="color: #00008b">in</span> <span style="color: #ff4500">$subkeys</span><span style="color: #a9a9a9">.</span><span style="color: #000000">snames</span><span style="color: #000000">)</span><span style="color: #000000">{</span>            
  <span style="color: #00008b">if</span> <span style="color: #000000">(</span><span style="color: #ff4500">$name</span> <span style="color: #a9a9a9">-eq</span> <span style="color: #8b0000">&quot;Descriptions&quot;</span><span style="color: #000000">)</span><span style="color: #000000">{</span><span style="color: #00008b">Continue</span><span style="color: #000000">}</span>            
  <span style="color: #ff4500">$conkey</span> <span style="color: #a9a9a9">=</span> <span style="color: #8b0000">&quot;SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\$name\Connection&quot;</span>            
  <span style="color: #0000ff">Write-Debug</span> <span style="color: #ff4500">$conkey</span>            
              
  <span style="color: #ff4500">$cvalue</span> <span style="color: #a9a9a9">=</span> <span style="color: #8b0000">&quot;Name&quot;</span>            
  <span style="color: #ff4500">$id</span> <span style="color: #a9a9a9">=</span> <span style="color: #ff4500">$reg</span><span style="color: #a9a9a9">.</span><span style="color: #000000">GetStringValue</span><span style="color: #000000">(</span><span style="color: #ff4500">$HKLM</span><span style="color: #a9a9a9">,</span> <span style="color: #ff4500">$conkey</span><span style="color: #a9a9a9">,</span> <span style="color: #ff4500">$cvalue</span><span style="color: #000000">)</span>  <span style="color: #006400">## REG_SZ</span>            
              
  <span style="color: #ff4500">$ivalue</span> <span style="color: #a9a9a9">=</span> <span style="color: #8b0000">&quot;DefaultNameIndex&quot;</span>            
  <span style="color: #ff4500">$index</span> <span style="color: #a9a9a9">=</span> <span style="color: #ff4500">$reg</span><span style="color: #a9a9a9">.</span><span style="color: #000000">GetDwordValue</span><span style="color: #000000">(</span><span style="color: #ff4500">$HKLM</span><span style="color: #a9a9a9">,</span> <span style="color: #ff4500">$conkey</span><span style="color: #a9a9a9">,</span> <span style="color: #ff4500">$ivalue</span><span style="color: #000000">)</span>  <span style="color: #006400">## REG_DWORD</span>            
  <span style="color: #ff4500">$connection</span> <span style="color: #a9a9a9">=</span> <span style="color: #0000ff">New-Object</span> <span style="color: #000080">-TypeName</span> <span style="color: #8a2be2">PSObject</span> <span style="color: #000080">-Property</span> <span style="color: #000000">@{</span>            
       <span style="color: #000000">Index</span> <span style="color: #a9a9a9">=</span> <span style="color: #ff4500">$index</span><span style="color: #a9a9a9">.</span><span style="color: #000000">uValue</span>            
       <span style="color: #000000">Connection</span> <span style="color: #a9a9a9">=</span> <span style="color: #ff4500">$id</span><span style="color: #a9a9a9">.</span><span style="color: #000000">sValue</span>            
    <span style="color: #000000">}</span>            
  <span style="color: #ff4500">$connection</span>              
<span style="color: #000000">}</span>            
            
            
<span style="color: #000000">}</span><span style="color: #006400">#process </span>            
<span style="color: #00008b">END</span><span style="color: #000000">{</span><span style="color: #000000">}</span><span style="color: #006400">#end</span>            
            
<span style="color: #006400">&lt;# 
.SYNOPSIS
Retrieves network connection ids 

.DESCRIPTION
Retrieves network connection ids held in the registry.
This includes current and previous ids.

.PARAMETER  Computer
Computer name

.EXAMPLE
get-Registryconnectionid

.EXAMPLE
get-Registryconnectionid -computer server02

#&gt;</span>            
            
<span style="color: #000000">}</span></pre>
<p>This uses the standard WMI methods to read a local or remote registry</p>
<p>The corresponding current values are given by</p>
<p>Get-WmiObject -Class Win32_NetworkAdapter | select NetConnectionId, Index</p>
<p>The two index values are not related</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/network-connection-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>root\wmi&#8211;MSBatteryClass</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/rootwmimsbatteryclass/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/rootwmimsbatteryclass/#comments</comments>
		<pubDate>Fri, 27 May 2011 18:17:04 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/rootwmimsbatteryclass/</guid>
		<description><![CDATA[A number of the classes in root\wmi return results from more than one class. That sounds odd but it can be explained by an example. The namespace contains a number of classes related to the battery in laptops gwmi -Namespace root\wmi -List *battery* MSBatteryClassEvent BatteryStatusChange BatteryTagChange MSBatteryClass BatteryStaticData BatteryRuntime BatteryCycleCount BatteryTemperature BatteryStatus BatteryFullChargedCapacity &#160; We’ll [...]]]></description>
				<content:encoded><![CDATA[<p>A number of the classes in root\wmi return results from more than one class. That sounds odd but it can be explained by an example.</p>
<p>The namespace contains a number of classes related to the battery in laptops</p>
<p>gwmi -Namespace root\wmi -List *battery*</p>
<p>MSBatteryClassEvent    <br />BatteryStatusChange     <br />BatteryTagChange     <br />MSBatteryClass     <br />BatteryStaticData     <br />BatteryRuntime     <br />BatteryCycleCount     <br />BatteryTemperature     <br />BatteryStatus     <br />BatteryFullChargedCapacity</p>
<p>&#160;</p>
<p>We’ll ignore the event and change classes for now.&#160; If we pick out the MSBattery class we get information from a number of other classes returned – MSBattery is a super class.</p>
<p>PS&gt; gwmi -Namespace root\wmi -Class MSBatteryClass | select __class</p>
<p>__CLASS    <br />&#8212;&#8212;-     <br />BatteryCycleCount     <br />BatteryFullChargedCapacity     <br />BatteryStaticData     <br />BatteryRuntime     <br />BatteryStatus</p>
<p>&#160;</p>
<p>Be aware that the runtime property returned by BatteryRuntime doesn’t respond to calculations you may find on the Internet when your OS is Windows 7</p>
<p>Battery status is a useful class to determine if you are on battery or external power &amp; if the battery is charging</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/rootwmimsbatteryclass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>root\wmi &#8211; speeding the testing</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-speeding-the-testing/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-speeding-the-testing/#comments</comments>
		<pubDate>Thu, 26 May 2011 18:50:39 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[PowerShell v2]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/rootwmi-speeding-the-testing/</guid>
		<description><![CDATA[Testing the individual classes in root\wmi is a pain – so its time for some brute force.&#160; I’ll select a group of classes and test the selection gwmi -Namespace root\wmi -List system* &#124; fw &#160; I can then iterate through them calling get-wmiobject. This is a command line activity so aliases are OK gwmi -Namespace [...]]]></description>
				<content:encoded><![CDATA[<p>Testing the individual classes in root\wmi is a pain – so its time for some brute force.&#160; I’ll select a group of classes and test the selection</p>
<p>gwmi -Namespace root\wmi -List system* | fw</p>
<p>&#160;</p>
<p>I can then iterate through them calling get-wmiobject.</p>
<p>This is a command line activity so aliases are OK</p>
<p>gwmi -Namespace root\wmi -List system* | foreach {gwmi -Namespace root\wmi -Class $_.Name}</p>
<p>&#160;</p>
<p>I could do this for all classes but it could become a bit difficult sorting out results if I get a lot of them.&#160; We’ll see where this goes.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-speeding-the-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>root\wmi &#8211; MS_SystemInformation</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-ms_systeminformation/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-ms_systeminformation/#comments</comments>
		<pubDate>Thu, 26 May 2011 18:42:23 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[PowerShell v2]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/rootwmi-ms_systeminformation/</guid>
		<description><![CDATA[Continuing our exploration of the murky jungle that is the root\wmi namespace we find a number of classes related to system configuration gwmi -Namespace root\wmi -List *system* &#124; fw &#160; Of theses the only one I could get a respnse from on Windows 7 or Windows 2008 R2 was MS_SystemInfo. gwmi -Namespace root\wmi -Class MS_SystemInformation [...]]]></description>
				<content:encoded><![CDATA[<p>Continuing our exploration of the murky jungle that is the root\wmi namespace we find a number of classes related to system configuration</p>
<p>gwmi -Namespace root\wmi -List *system* | fw</p>
<p>&#160;</p>
<p>Of theses the only one I could get a respnse from on Windows 7 or Windows 2008 R2 was MS_SystemInfo.</p>
<p>gwmi -Namespace root\wmi -Class MS_SystemInformation    </p>
<p><font face="Courier New">Active&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : True      <br />BaseBoardManufacturer&#160; : Wistron       <br />BaseBoardProduct&#160;&#160;&#160;&#160;&#160;&#160; : 303C       <br />BaseBoardVersion&#160;&#160;&#160;&#160;&#160;&#160; : 08.48       <br />BiosMajorRelease&#160;&#160;&#160;&#160;&#160;&#160; : 15       <br />BiosMinorRelease&#160;&#160;&#160;&#160;&#160;&#160; : 52       <br />BIOSReleaseDate&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 12/23/2008       <br />BIOSVendor&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : Hewlett-Packard       <br />BIOSVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : F.34       <br />ECFirmwareMajorRelease : 255       <br />ECFirmwareMinorRelease : 255       <br />InstanceName&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : Root\mssmbios000_0       <br />SystemFamily&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 103C_5335KV       <br />SystemManufacturer&#160;&#160;&#160;&#160; : Hewlett-Packard       <br />SystemProductName&#160;&#160;&#160;&#160;&#160; : HP G60 Notebook PC       <br />SystemSKU&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : NF300EA#ABU       <br />SystemVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : F.34</font></p>
<p>&#160;</p>
<p>It seems to combine some information from</p>
<p>Win32_ComputerSystem</p>
<p>Win32_BaseBoard</p>
<p>Win32_Bios</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-ms_systeminformation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>root\wmi &#8211; ProcessorBiosInfo</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-processorbiosinfo/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-processorbiosinfo/#comments</comments>
		<pubDate>Wed, 25 May 2011 19:17:36 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[Processor]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/rootwmi-processorbiosinfo/</guid>
		<description><![CDATA[The root\wmi namespace contains a massive number of classes. Unfortunately there appears to be very little documentation available for these classes. Another issue is that many of classes do not appear to return anything (at least on my Windows 7 system – further testing is required). In this smalls series I intend to dig through [...]]]></description>
				<content:encoded><![CDATA[<p>The root\wmi namespace contains a massive number of classes. Unfortunately there appears to be very little documentation available for these classes. Another issue is that many of classes do not appear to return anything (at least on my Windows 7 system – further testing is required).</p>
<p>In this smalls series I intend to dig through some of these classes and see if we can find anything useful</p>
<p>There are a number of classes associated with the processor:</p>
<p>PS&gt; Get-WmiObject -Namespace &#8216;root\wmi&#8217; -List *Processor* | fw</p>
<p><font face="Courier New">ProcessorCStateEvent&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorPerfStateEvent      <br />ProcessorThrottleStateEvent&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorAcpiCsdDependency       <br />MSProcessorClass&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorBiosInfo       <br />ProcessorBiosTStates&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorStatus       <br />ProcessorAcpiCsd&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorAcpiTsd       <br />ProcessorBiosCStates&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorAcpiCst       <br />ProcessorAcpiXpss&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorAcpiTssState       <br />ProcessorAcpiCstState&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorAcpiTsdDependency       <br />ProcessorPerformance&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ProcessorAcpiXpssState       <br />ProcessorAcpiTss</font></p>
<p>&#160;</p>
<p>Out of this list the ProcessorBiosInfo works on Windows 7</p>
<p>PS&gt; Get-WmiObject -Namespace &#8216;root\wmi&#8217; -Class ProcessorBiosInfo</p>
<p><font face="Courier New">Active&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : True      <br />ApicId&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 0       <br />InstanceName&#160;&#160;&#160;&#160; : ACPI\AuthenticAMD_-_x86_Family_17_Model_3_-_AMD_Athlon_Dual-Core_QL-62\_0_0       <br />NtNumber&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 0       <br />PBlk&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 4112       <br />PBlkLen&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : 6       <br />Pct&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : System.Management.ManagementBaseObject       <br />ProcessorId&#160;&#160;&#160;&#160;&#160; : 0       <br />Pss&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; : System.Management.ManagementBaseObject</font></p>
<p>&#160;</p>
<p>Active and Instance name are obvious. The NtNumber is the OS processor Id</p>
<p>PBlk refers to the processor control block – address and length</p>
<p>&#160;</p>
<p>The Pct and Pss objects can be drilled down into</p>
<p>&#160;</p>
<p>$cpu = Get-WmiObject -Namespace &#8216;root\wmi&#8217; -Class ProcessorBiosInfo    <br />$cpu[0]     <br />$cpu[0].Pct     <br />$cpu[0].Pct.Control     <br />$cpu[0].Pct.Status     <br />$cpu[0].Pss     <br />$cpu[0].Pss.State</p>
<p>Follow these through to see what may be useful. </p>
<p>We can see everything like this</p>
<div style="padding-bottom: 5px;padding-left: 5px;width: 750px;padding-right: 5px;font-family:;padding-top: 5px">
<table border="0" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td valign="top">
<div style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;font-family:;padding-top: 5px"><font face="Consolas"><font>001                  <br />002                   <br />003                   <br />004                   <br />005                   <br />006                   <br />007                   <br />008                   <br />009                   <br />010</font></font>               </div>
</td>
<td valign="top" nowrap="nowrap">
<div style="padding-bottom: 5px;padding-left: 5px;padding-right: 5px;font-family:;padding-top: 5px"><font face="Consolas"><span style="color:"><font color="#0000ff"><font>Get-WmiObject</font></font></span><font><span style="color:">&#160;</span><span style="color:"><font color="#000080">-Namespace</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8b0000">&#8216;root\wmi&#8217;</font></span><span style="color:">&#160;</span><span style="color:"><font color="#000080">-Class</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">ProcessorBiosInfo</font></span><span style="color:">&#160;</span><span style="color:"><font color="#a9a9a9">|</font></span>                   <br /><span style="color:"><font color="#0000ff">foreach</font></span><span style="color:">&#160;</span><span style="color:">{</span>                   <br /><span style="color:">&#160;</span><span style="color:"><font color="#ff4500">$_</font></span><span style="color:">&#160;</span><span style="color:"><font color="#a9a9a9">|</font></span><span style="color:">&#160;</span><span style="color:"><font color="#0000ff">select</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">*</font></span><span style="color:">&#160;</span><span style="color:"><font color="#000080">-ExcludeProperty</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">__*</font></span>                   <br /><span style="color:">&#160;</span>                   <br /><span style="color:">&#160;</span><span style="color:"><font color="#ff4500">$_</font></span><span style="color:"><font color="#a9a9a9">.</font></span><span style="color:">Pct</span><span style="color:"><font color="#a9a9a9">.</font></span><span style="color:">Control</span><span style="color:">&#160;</span><span style="color:"><font color="#a9a9a9">|</font></span><span style="color:">&#160;</span><span style="color:"><font color="#0000ff">select</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">*</font></span><span style="color:">&#160;</span><span style="color:"><font color="#000080">-ExcludeProperty</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">__*</font></span>                   <br /><span style="color:">&#160;</span><span style="color:"><font color="#ff4500">$_</font></span><span style="color:"><font color="#a9a9a9">.</font></span><span style="color:">Pct</span><span style="color:"><font color="#a9a9a9">.</font></span><span style="color:">Status</span><span style="color:">&#160;</span><span style="color:"><font color="#a9a9a9">|</font></span><span style="color:">&#160;</span><span style="color:"><font color="#0000ff">select</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">*</font></span><span style="color:">&#160;</span><span style="color:"><font color="#000080">-ExcludeProperty</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">__*</font></span>                   <br /><span style="color:">&#160;</span>                   <br /><span style="color:">&#160;</span><span style="color:"><font color="#ff4500">$_</font></span><span style="color:"><font color="#a9a9a9">.</font></span><span style="color:">Pss</span><span style="color:"><font color="#a9a9a9">.</font></span><span style="color:">State</span><span style="color:">&#160;</span><span style="color:"><font color="#a9a9a9">|</font></span><span style="color:">&#160;</span><span style="color:"><font color="#0000ff">select</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">*</font></span><span style="color:">&#160;</span><span style="color:"><font color="#000080">-ExcludeProperty</font></span><span style="color:">&#160;</span><span style="color:"><font color="#8a2be2">__*</font></span>                   </p>
<p><span style="color:">}</span> </font></font></div>
</td>
</tr>
</tbody>
</table></div>
<p>&#160;</p>
<p>The class description just returns the following</p>
<p>ACPI Bios Processor Information</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/rootwmi-processorbiosinfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PAM 0.5</title>
		<link>http://itknowledgeexchange.techtarget.com/powershell/pam-05/</link>
		<comments>http://itknowledgeexchange.techtarget.com/powershell/pam-05/#comments</comments>
		<pubDate>Thu, 05 May 2011 18:18:44 +0000</pubDate>
		<dc:creator>Richard Siddaway</dc:creator>
				<category><![CDATA[PowerShell v2]]></category>
		<category><![CDATA[PSAM]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/powershell/pam-05/</guid>
		<description><![CDATA[Just released PowerShell Admin Modules (PAM) 0.5.&#160; This adds the PAMStability module for working with stability and reliability metrics on Windows 7 and 2008 R2. The following 2 functions are available: get-stabilityindex get-reliabilityrecords see http://psam.codeplex.com/]]></description>
				<content:encoded><![CDATA[<p>Just released PowerShell Admin Modules (PAM) 0.5.&#160; This adds the PAMStability module for working with stability and reliability metrics on Windows 7 and 2008 R2. The following 2 functions are available:</p>
<p>get-stabilityindex   <br />get-reliabilityrecords</p>
<p>see <a title="http://psam.codeplex.com/" href="http://psam.codeplex.com/">http://psam.codeplex.com/</a></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/powershell/pam-05/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
