<?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 Part 2</title>
	<atom:link href="http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershellpro.com</link>
	<description>Sharing the Experience</description>
	<pubDate>Tue, 06 Jan 2009 23:11:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Palle Grassmé</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/#comment-267</link>
		<dc:creator>Palle Grassmé</dc:creator>
		<pubDate>Wed, 10 Dec 2008 12:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/wmi-part2/#comment-267</guid>
		<description>Is it possible to prepend the primary and secondary WINS server addresses to the existing WINS settings?</description>
		<content:encoded><![CDATA[<p>Is it possible to prepend the primary and secondary WINS server addresses to the existing WINS settings?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Hamrick</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/#comment-141</link>
		<dc:creator>Jesse Hamrick</dc:creator>
		<pubDate>Fri, 27 Jun 2008 14:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/wmi-part2/#comment-141</guid>
		<description>The example provided assumes that only one nic in the system is IP enabled. Which is the case for a majority of workstations within most networking environments. If you have a special case where you have workstation that have multiple nics that require separate IP address, then you would set up a filter to connect to the nic of your choice. If you do a get-member on the wmi object there are many properties you can choose to filter. Since we are looking for a unique property I tend to use the MAC address of the nic. I want to change and customize the filter as follows:
$NICs = Get-WmiObject Win32_NetworkAdapterConfiguration `
&#124; Where {$_.MACAddress -eq "3E:6D:10:34:22:3D"}

This filter assures me that I am connecting to the NIC I wish to make changes too. That way if I have two nics in the system, I'm only making changes to the one I choose...</description>
		<content:encoded><![CDATA[<p>The example provided assumes that only one nic in the system is IP enabled. Which is the case for a majority of workstations within most networking environments. If you have a special case where you have workstation that have multiple nics that require separate IP address, then you would set up a filter to connect to the nic of your choice. If you do a get-member on the wmi object there are many properties you can choose to filter. Since we are looking for a unique property I tend to use the MAC address of the nic. I want to change and customize the filter as follows:<br />
$NICs = Get-WmiObject Win32_NetworkAdapterConfiguration `<br />
| Where {$_.MACAddress -eq &#8220;3E:6D:10:34:22:3D&#8221;}</p>
<p>This filter assures me that I am connecting to the NIC I wish to make changes too. That way if I have two nics in the system, I&#8217;m only making changes to the one I choose&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian BARDOU</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/#comment-140</link>
		<dc:creator>Christian BARDOU</dc:creator>
		<pubDate>Fri, 27 Jun 2008 13:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/wmi-part2/#comment-140</guid>
		<description>Hi Jesse ?,

In the "Foreach" loop  of the example 2, i don't understand how the IP address can be different for each instance of $NICs collection ?

Regards</description>
		<content:encoded><![CDATA[<p>Hi Jesse ?,</p>
<p>In the &#8220;Foreach&#8221; loop  of the example 2, i don&#8217;t understand how the IP address can be different for each instance of $NICs collection ?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Hamrick</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/#comment-100</link>
		<dc:creator>Jesse Hamrick</dc:creator>
		<pubDate>Wed, 30 Apr 2008 15:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/wmi-part2/#comment-100</guid>
		<description>Do you mean something like this:

$ipaddress = "10.0.0.1"
$subMask = "255.0.0.0"
$NIC.EnableStatic($ipaddress, $subMask)

-or-
$ipaddress = Read-Host "Enter the IP Address"
$subMask = Read-Host "Enter Subnet Mask"
$GW = Read-Host "Enter Default Gateway"

Etc...</description>
		<content:encoded><![CDATA[<p>Do you mean something like this:</p>
<p>$ipaddress = &#8220;10.0.0.1&#8243;<br />
$subMask = &#8220;255.0.0.0&#8243;<br />
$NIC.EnableStatic($ipaddress, $subMask)</p>
<p>-or-<br />
$ipaddress = Read-Host &#8220;Enter the IP Address&#8221;<br />
$subMask = Read-Host &#8220;Enter Subnet Mask&#8221;<br />
$GW = Read-Host &#8220;Enter Default Gateway&#8221;</p>
<p>Etc&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Duguid</title>
		<link>http://www.powershellpro.com/powershell-tutorial-introduction/powershell-wmi-methods/#comment-99</link>
		<dc:creator>Matt Duguid</dc:creator>
		<pubDate>Wed, 30 Apr 2008 05:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershellpro.com/powershell-tutorial-introduction/wmi-part2/#comment-99</guid>
		<description>I am interested to see how to pass the IP ADDRESS and SUBNET in as powershell variables.</description>
		<content:encoded><![CDATA[<p>I am interested to see how to pass the IP ADDRESS and SUBNET in as powershell variables.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
