Browse by Tags

All Tags » v2 (RSS)

Service Startup History

If we need to look at the startup history of a service we can find the information in the event log 001 002 003 004 005 006 function Get-ServiceStartupHistory { param ( [string] $name ) Get-EventLog -LogName System | where { ( ( $_ . EventId -eq 7035...

Computername parameter

This is something I’ve been meaning to share for a while. Many of the cmdlets in PowerShell v2 get an explicit remoting capability via the computername property. get-help * -Parameter computername | sort name Clear-EventLog Connect-WSMan Disconnect-WSMan...

How many bytes?

I was playing around with PowerShell and started thinking about the kb, mb etc values and I realised I didn’t know what they really looked like. 1kb is 1024 but it gets very hazy after that. So how could I see the values stacked up 1kb,1mb,1gb,1tb,1pb...
Posted by Richard's space