Tag Archives: quickhits

Quick Hits: Ping Sweep One Liner

So I was curious as to how many active ip addresses I had on my network and didn’t feel like manually typing “ping <ipaddress>” and wait for it to timeout and then “rinse and repeat”.  Along comes Test-Connection and the … Continue reading

Posted in powershell | Tagged , , | 3 Comments

Quick-Hits: Find currently logged on users

I was recently tasked with locating all servers on our network and query for users that were currently logged onto each server, either through a terminal session or logged on via console session.  This got me thinking of what ways … Continue reading

Posted in powershell, scripts | Tagged , , , | 28 Comments

Quick Hits: Get-Date -uFormat possibilities

For those of you that have used the Get-Date -uFormat and am not sure what each possible option is, this little snippet will give you all of the information you need. 65..90 | % {“$([char]$_): $(Date -u %$([char]$_))”};97..122 | % … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment