Azurepowershell.com
A System Administrator's Notebook

Browse:

  • Home
  • 2014
  • November
  • Windows: Verify signature on drivers

    You can use this command to verify signature for drivers sigverif.exe http://support.microsoft.com/kb/308514

  • Powershell: Rename remote computer with WMI

    To rename a computer when Rename-Computer is not available (pre Powershell 4.0) Get-WmiObject Win32_ComputerSystem -ComputerName OLDNAME -Authentication 6 | ForEach-Object {$_.Rename(“NEWNAME”,”PASSWORD”,”USERNAME”)}   You can also mask the password $credential = Get-Credential Get-WmiObject Win32_ComputerSystem -ComputerName OLDNAME -Authentication 6 | ForEach-Object {$_.Rename(“NEWNAME”,$credential.GetNetworkCredential().Password,$credential.Username)}

Powered by WordPress. Theta theme by CooThemes.com.