Computername Tag Archive

[UPDATE: It's Safe] CAUTION: Don't Run Update-Help Right Now

Announcements, PowerShell for Admins

UPDATE 2 JULY 2013: Microsoft is informing MVPs that the fix is in, and new help files should be downloadable by (at latest) the morning of 3 July 2013. So …...

Read More

Some notes on Event 2 Advanced

PowerShell for Admins

I hate to seem negative, but I’ve noticed a few things about a number of the advanced entries that seem like folks didn’t read the instructions, or just weren’t careful …...

Read More

Scripting Games Week 2: Formatting edition

Scripting Games

This time of the year always feels like someone is holding down the fast forward button.  I blinked and here we are Friday morning another week of scripts in the …...

Read More

Notes on Beginner Event 2

PowerShell for Admins

 First of all, congratulations! It looks to me like a lot of learning is going on; the 2nd event entries look really good to me. I especially liked the way …...

Read More

Don's Event 2 Notes

Uncategorized

I thought I’d mentioned this last time (tap tap, this thing on?), but maybe not: don’t format the output of your functions. The minute a function includes Format-*, you’ve trapped …...

Read More

Piping between functions

Uncategorized

A question came up about piping between advanced functions. The input to the second function might be an array. To illustrate how this works imagine a function that gets disk information – or better still use this...

Read More

Account SIDs

Uncategorized

A question on the forum asked about finding the accounts and SIDs on the local machine. function get-SID { param ( string$computername = $env:COMPUTERNAME ) Get-WmiObject -Class Win32_AccountSID -ComputerName...

Read More