Ask the Experts
Code MarkUp Tool
Browse Forum Posts by Tags
Showing related tags and posts for the
all tags in the site
EnableStatic() long time out
I have the following code I use to try to change the settings on our servers from dhcp to static. It gets "hung" up on the enablestatic() peice, I know its because after it changes the ip it looses the connection but how do I get Powershell to either fork off this command or time out earler...
PowerShell and WMI
Filed under: WMI, Get-WMIObject, Remoting, Win32_NetworkAdapterConfiguration
Page 1 of 1 (1 items)
Copyright 2012 PowerShell.com. All rights reserved.