<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: PowerShell Scripting with WMI</title>
	<atom:link href="http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershellpro.com</link>
	<description>Sharing the Experience</description>
	<pubDate>Wed, 07 Jan 2009 00:33:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: JoJo</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-222</link>
		<dc:creator>JoJo</dc:creator>
		<pubDate>Fri, 26 Sep 2008 11:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-222</guid>
		<description>Serious Stan is indeed correct. Good catch Stan. Jesse...mega dittos. You should consider compiling these pages and publishing a book.</description>
		<content:encoded><![CDATA[<p>Serious Stan is indeed correct. Good catch Stan. Jesse&#8230;mega dittos. You should consider compiling these pages and publishing a book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serious Stan</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-201</link>
		<dc:creator>Serious Stan</dc:creator>
		<pubDate>Wed, 27 Aug 2008 11:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-201</guid>
		<description>... to follow on from (and correct) my previous comment, it isn't actually the "C" that's important. As far as I can tell, the full list is displayed when at least one character in the namespace is capitalised.</description>
		<content:encoded><![CDATA[<p>&#8230; to follow on from (and correct) my previous comment, it isn&#8217;t actually the &#8220;C&#8221; that&#8217;s important. As far as I can tell, the full list is displayed when at least one character in the namespace is capitalised.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serious Stan</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-200</link>
		<dc:creator>Serious Stan</dc:creator>
		<pubDate>Wed, 27 Aug 2008 11:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-200</guid>
		<description>hrp2171 (and anyone else confused about the full / contracted list of properties displayed),

I was struck by this too. The thing that makes the difference is actually the "C" in the namespace. Try the following two commands:
gwmi -class win32_bios -namespace “root\cimv2“
gwmi -class win32_bios -namespace “root\Cimv2“

Note that the only difference is that the "C" is capitalised in the second example (the -class switch is irrelevant too - providing the class name is there it still works exactly the same).

I suspect this is a bug in the WMI system, but it's difficult to imagine what could cause this particular effect. Perhaps there is some other (more intuitive) way to request a full or abridged list of certain properties - I'd be interested to know.</description>
		<content:encoded><![CDATA[<p>hrp2171 (and anyone else confused about the full / contracted list of properties displayed),</p>
<p>I was struck by this too. The thing that makes the difference is actually the &#8220;C&#8221; in the namespace. Try the following two commands:<br />
gwmi -class win32_bios -namespace “root\cimv2“<br />
gwmi -class win32_bios -namespace “root\Cimv2“</p>
<p>Note that the only difference is that the &#8220;C&#8221; is capitalised in the second example (the -class switch is irrelevant too - providing the class name is there it still works exactly the same).</p>
<p>I suspect this is a bug in the WMI system, but it&#8217;s difficult to imagine what could cause this particular effect. Perhaps there is some other (more intuitive) way to request a full or abridged list of certain properties - I&#8217;d be interested to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NetGuyDave</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-194</link>
		<dc:creator>NetGuyDave</dc:creator>
		<pubDate>Mon, 18 Aug 2008 20:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-194</guid>
		<description>Edit....all our servers are running Win 2003, we only have 4.0 for PDC and BDC. I want to enumerate information from our Win2k3 servers. Thanks.</description>
		<content:encoded><![CDATA[<p>Edit&#8230;.all our servers are running Win 2003, we only have 4.0 for PDC and BDC. I want to enumerate information from our Win2k3 servers. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NetGuyDave</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-193</link>
		<dc:creator>NetGuyDave</dc:creator>
		<pubDate>Mon, 18 Aug 2008 17:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-193</guid>
		<description>Jesse, thanks again for the great tutorial.  Corporate feels that it is best to keep me on Novell eDir and my workstation left in Workgroup mode to manage our NT 4.0 domain. With that said, what do you suggest I do to logon to a list of servers to gather the WMI objects, Net Use logon? Or does PowerShell have a logon feature that resolves my situation?  I've tried all this but without success.
http://powershelllive.com/blogs/lunch/archive/2007/04/02/day-5-using-wmi.aspx</description>
		<content:encoded><![CDATA[<p>Jesse, thanks again for the great tutorial.  Corporate feels that it is best to keep me on Novell eDir and my workstation left in Workgroup mode to manage our NT 4.0 domain. With that said, what do you suggest I do to logon to a list of servers to gather the WMI objects, Net Use logon? Or does PowerShell have a logon feature that resolves my situation?  I&#8217;ve tried all this but without success.<br />
<a href="http://powershelllive.com/blogs/lunch/archive/2007/04/02/day-5-using-wmi.aspx" rel="nofollow">http://powershelllive.com/blogs/lunch/archive/2007/04/02/day-5-using-wmi.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tien</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-126</link>
		<dc:creator>Tien</dc:creator>
		<pubDate>Sun, 15 Jun 2008 12:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-126</guid>
		<description>This is the best site for learning PowersShell I have come across so far.
I have learned so much in the last 2 days from your site.
Big thank you.
I am trying to combine PowerShell and ActivePerl and hope to come up with some useful tools to manage Windows machines the ways shell scripts do for Unix boxes.

I hope to see somewhere in your tutorials to show us how to schedule PS scripts to run unattended.

Cheers</description>
		<content:encoded><![CDATA[<p>This is the best site for learning PowersShell I have come across so far.<br />
I have learned so much in the last 2 days from your site.<br />
Big thank you.<br />
I am trying to combine PowerShell and ActivePerl and hope to come up with some useful tools to manage Windows machines the ways shell scripts do for Unix boxes.</p>
<p>I hope to see somewhere in your tutorials to show us how to schedule PS scripts to run unattended.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hrp2171</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-98</link>
		<dc:creator>hrp2171</dc:creator>
		<pubDate>Tue, 29 Apr 2008 22:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-98</guid>
		<description>Something odd, but certainly not a show stopper:

Get-wmiobject syntax section:

I run: gwmi -class win32_bios -namespace "root\cimv2"

and get the short version of the output as if I ran: gwmi win32_bios

Then when I ran: gwmi win32_bios &#124; format-list *

it's when I get the full output version of the first screenshot.

No biggy, though. It just seems to be kind of backwards.  :-)</description>
		<content:encoded><![CDATA[<p>Something odd, but certainly not a show stopper:</p>
<p>Get-wmiobject syntax section:</p>
<p>I run: gwmi -class win32_bios -namespace &#8220;root\cimv2&#8243;</p>
<p>and get the short version of the output as if I ran: gwmi win32_bios</p>
<p>Then when I ran: gwmi win32_bios | format-list *</p>
<p>it&#8217;s when I get the full output version of the first screenshot.</p>
<p>No biggy, though. It just seems to be kind of backwards.  <img src='http://www.powershellpro.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerhard</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-96</link>
		<dc:creator>Gerhard</dc:creator>
		<pubDate>Sun, 27 Apr 2008 19:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-96</guid>
		<description>Thank you! That's a great sample, exactly I'm looking for!</description>
		<content:encoded><![CDATA[<p>Thank you! That&#8217;s a great sample, exactly I&#8217;m looking for!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Hamrick</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-91</link>
		<dc:creator>Jesse Hamrick</dc:creator>
		<pubDate>Tue, 15 Apr 2008 17:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-91</guid>
		<description>pdirt,
Thanks for submitting this comment in the PowerShellPro Forums. &lt;a href="http://www.powershellpro.com/powershell-forum/?forum=5&#038;topic=55&#038;page=1" rel="nofollow"&gt;To continue troubleshooting issue look for my responses there&lt;/a&gt;...

-Jesse</description>
		<content:encoded><![CDATA[<p>pdirt,<br />
Thanks for submitting this comment in the PowerShellPro Forums. <a href="http://www.powershellpro.com/powershell-forum/?forum=5&#038;topic=55&#038;page=1" rel="nofollow">To continue troubleshooting issue look for my responses there</a>&#8230;</p>
<p>-Jesse</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdirt</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-86</link>
		<dc:creator>pdirt</dc:creator>
		<pubDate>Tue, 15 Apr 2008 01:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/#comment-86</guid>
		<description>Jesse, have you tried this Class at all?

PS C:\Users\administrator.PVMLAB\Desktop\scirptbu&#62; get-wmiobject  Win32_registryaction &#124; get-member


   TypeName: System.Management.ManagementObject#root\cimv2\Win32_RegistryAction

Name                  MemberType   Definition
----                  ----------   ----------
Invoke                Method       System.Management.ManagementBaseObject Invoke()
ActionID              Property     System.String ActionID {get;set;}
Caption               Property     System.String Caption {get;set;}
Description           Property     System.String Description {get;set;}
Direction             Property     System.UInt16 Direction {get;set;}
EntryName             Property     System.String EntryName {get;set;}
EntryValue            Property     System.String EntryValue {get;set;}
key                   Property     System.String key {get;set;}
Name                  Property     System.String Name {get;set;}
Registry              Property     System.String Registry {get;set;}
Root                  Property     System.Int16 Root {get;set;}
SoftwareElementID     Property     System.String SoftwareElementID {get;set;}
SoftwareElementState  Property     System.UInt16 SoftwareElementState {get;set;}
TargetOperatingSystem Property     System.UInt16 TargetOperatingSystem {get;set;}
Version               Property     System.String Version {get;set;}
__CLASS               Property     System.String __CLASS {get;set;}
__DERIVATION          Property     System.String[] __DERIVATION {get;set;}
__DYNASTY             Property     System.String __DYNASTY {get;set;}
__GENUS               Property     System.Int32 __GENUS {get;set;}
__NAMESPACE           Property     System.String __NAMESPACE {get;set;}
__PATH                Property     System.String __PATH {get;set;}
__PROPERTY_COUNT      Property     System.Int32 __PROPERTY_COUNT {get;set;}
__RELPATH             Property     System.String __RELPATH {get;set;}
__SERVER              Property     System.String __SERVER {get;set;}
__SUPERCLASS          Property     System.String __SUPERCLASS {get;set;}
ConvertFromDateTime   ScriptMethod System.Object ConvertFromDateTime();
ConvertToDateTime     ScriptMethod System.Object ConvertToDateTime();


PS C:\Users\administrator.PVMLAB\Desktop\scirptbu&#62;

for the life of me I caannot figure out the syntax it wants?  You?</description>
		<content:encoded><![CDATA[<p>Jesse, have you tried this Class at all?</p>
<p>PS C:\Users\administrator.PVMLAB\Desktop\scirptbu&gt; get-wmiobject  Win32_registryaction | get-member</p>
<p>   TypeName: System.Management.ManagementObject#root\cimv2\Win32_RegistryAction</p>
<p>Name                  MemberType   Definition<br />
&#8212;-                  &#8212;&#8212;&#8212;-   &#8212;&#8212;&#8212;-<br />
Invoke                Method       System.Management.ManagementBaseObject Invoke()<br />
ActionID              Property     System.String ActionID {get;set;}<br />
Caption               Property     System.String Caption {get;set;}<br />
Description           Property     System.String Description {get;set;}<br />
Direction             Property     System.UInt16 Direction {get;set;}<br />
EntryName             Property     System.String EntryName {get;set;}<br />
EntryValue            Property     System.String EntryValue {get;set;}<br />
key                   Property     System.String key {get;set;}<br />
Name                  Property     System.String Name {get;set;}<br />
Registry              Property     System.String Registry {get;set;}<br />
Root                  Property     System.Int16 Root {get;set;}<br />
SoftwareElementID     Property     System.String SoftwareElementID {get;set;}<br />
SoftwareElementState  Property     System.UInt16 SoftwareElementState {get;set;}<br />
TargetOperatingSystem Property     System.UInt16 TargetOperatingSystem {get;set;}<br />
Version               Property     System.String Version {get;set;}<br />
__CLASS               Property     System.String __CLASS {get;set;}<br />
__DERIVATION          Property     System.String[] __DERIVATION {get;set;}<br />
__DYNASTY             Property     System.String __DYNASTY {get;set;}<br />
__GENUS               Property     System.Int32 __GENUS {get;set;}<br />
__NAMESPACE           Property     System.String __NAMESPACE {get;set;}<br />
__PATH                Property     System.String __PATH {get;set;}<br />
__PROPERTY_COUNT      Property     System.Int32 __PROPERTY_COUNT {get;set;}<br />
__RELPATH             Property     System.String __RELPATH {get;set;}<br />
__SERVER              Property     System.String __SERVER {get;set;}<br />
__SUPERCLASS          Property     System.String __SUPERCLASS {get;set;}<br />
ConvertFromDateTime   ScriptMethod System.Object ConvertFromDateTime();<br />
ConvertToDateTime     ScriptMethod System.Object ConvertToDateTime();</p>
<p>PS C:\Users\administrator.PVMLAB\Desktop\scirptbu&gt;</p>
<p>for the life of me I caannot figure out the syntax it wants?  You?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
