powershell ile IP adresi değiştirme
$NICs = Get-WMIObject Win32_NetworkAdapterConfiguration `
| where{$_.IPEnabled -eq "TRUE"}
Foreach($NIC in $NICs) {
$NIC.EnableStatic("192.168.1.1", "255.255.255.0")
$NIC.SetGateways("192.168.1.100")
$DNSServers = "192.168.1.100","192.168.1.101"
$NIC.SetDNSServerSearchOrder($DNSServers)
# FC IP
$NIC.SetDynamicDNSRegistration("TRUE")
}
faruk çubukçu, 10.06.2010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Con,Prn, Aux, Clock$, Nul, Com1, Com2, Com3, Com4, Com5, Com6, Com7, Com8, Com9, Lpt1, Lpt2, Lpt3, Lpt4, Lpt5, Lpt6, Lpt7, Lpt8, Lpt9" İsmiyle Klasör Oluşturamanın Nedeni |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|