Tag Archives: WMI

How to Retrieve Operating System Information Using a Command Line

There are many command line utilities that you can use to retrieve operating system information along with switches to filter for specific data. For instructor-led Windows Server training, see our class schedule. Using VER.EXE. The first command line utility is the VER.exe command.  When using this command you will only retrieve the operation system version. If … Continue reading How to Retrieve Operating System Information Using a Command Line

How to open Windows Firewall ports using PowerShell

Recently I presenting at a conference and needed to demonstrate WMI. I specifically wanted to use the Get-WmiObject cmdlet instead of the new Get-CimInstance cmdlet because I wanted the demo to be useful for those still running PowerShell V2. All my remote computers are running Server 2012 and already have PowerShell Remoting enabled, so the … Continue reading How to open Windows Firewall ports using PowerShell