Browse by Tags

All Tags » Script » Administration (RSS)

Exchange Disk Space, version 2.1

It was pointed out to me, by a party that shall remain nameless, that I depended in today's earlier post Finding Disk Space Used By Exchange Version 2 , that I ASSumed that msExchCurrentServerRoles would never be higher than 64 and that that was a...

Finding Disk Space Used by Exchange, version 2

In July of 2006, I had a blog entry named Finding Disk Space Used By Exchange , and it was quite well received and it worked well for most people. However, it had a few issues: It doesn't work with Exchange Server 2007 because the streaming file was...

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...