Browse by Tags

All Tags » Administration » PowerShell » Windows (RSS)

Finding Services Using non-System Accounts With PowerShell

In March of 2006, I authored this blog post, Finding Services Using non-System Accounts , with the script being written in VBscript. Two years later, most of my environment is now in PowerShell. So, I've decided to update that post with the PowerShell...

Renaming and Rebooting a Computer with PowerShell

Some things are just very easy in PowerShell. It's great! Here is a true quickie - rename and reboot a computer system (including a remote computer!): function renameAndReboot([string]$computer, [string]$newname) { $comp = gwmi win32_computersystem...