Tag: Get-WMIObject

February 3, 2009 / by Jeffery Hicks / Howto, Windows PowerShell / 1 Comment

February PowerShell One-Liner

If you subscribe to the SAPIEN newsletter you should have seen this already. If not, why don't you take a moment to subscribe? Each month you'll get all the latest product and training news from SAPIEN Technologies as well as useful tips like this Powershell one-liner that produces a report on event log sizes for multiple computers.
Read More

December 11, 2008 / by Jeffery Hicks / Howto, Windows PowerShell / 2 Comments

PowerShell WMI Wizard

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 a simple PowerShell script that creates an expression using Get-WMIObject. Think of it as a PowerShell WMI Wizard script.
Read More

December 1, 2008 / by Jeffery Hicks / Windows PowerShell / No Comments

December PowerShell One-Liner

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. It's not foolproof of course but the one-liner should serve as an example of querying WMI on multiple machines.
Read More

November 3, 2008 / by Jeffery Hicks / Windows PowerShell / 5 Comments

November PowerShell One-liner

The following one line PowerShell expression should show you who is logged on to a specific server and desktop and for how long. Most logon sessions use a single instance of Explorer.exe, although it is possible for a user to manually start additional instances of Explorer.exe.
Read More

RSS SAPIEN Info Center

Search the Archives

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

BlogRoll

PowerShell Links

Information

Dashboard