With the latest service build WMI Explorer 2015 has received an integrated Windows PowerShell console.
While previous versions had the ability to execute generated PowerShell code in a console, experimentation with that code was not possible because PowerShell does not…
Read More
If you subscribe to the SAPIEN newsletter you should have seen this already. If not, why don’t you take a moment to subscribe? Create an account at my.SAPIEN.com and you’ll automatically be subscribed. Each month you’ll get all the latest…
Read More
If you are a long time PrimalScript user, you know that it has always had support and wizards for WMI. The upcoming PrimalScript 2009 adds some new WMI features. But I like to tinker, especially with PowerShell. So I created…
Read More
This month’s PowerShell one-liner uses WMI to query event logs on remote computers. Specifically it is searching for logs that record when the Event Log service has started. This is another way you can, determine when a computer has started.…
Read More
[This month’s SAPIEN newsletter offered this one liner I thought I’d share with the rest of you].
The following one line PowerShell expression should show you who is logged on to a specific server and desktop and for how long.…
Read More
The other day I posted a VBS function for getting drive utilization. It seems only fair to give PowerShell a chance to play.
1: Function Get-Utilization {
2: Param([string]$computername=$env:computername,
3: [string]$ID="C:"
4: )
5:
6: #suppress errors messages
7: $errorActionPreference="silentlycontinue"…
Read More