Move to PowerShell for WinRM Management

As most people are aware, PowerShell provides two ways of managing the Windows Remote Management (WinRM) infrastructure: the WSMan Provider and the WS-Management Cmdlets. (As you are no doubt aware, WinRM is the Windows implementation of the WS-Management standard, which is why these cmdlets are named Ws-Management.) Together, the WSMan Provider and WS-Management cmdlets give…


Performing Management tasks using Cimcmdlets [3] – Operating System

  As a part of the ongoing blog series “Performing Management tasks using Cimcmdlets” we are sharing PowerShell snippets for a few Computer Management tasks. In this post we will be going over the PS snippets for Operating System Management. The corresponding Visual Basic samples are at: http://msdn.microsoft.com/en-us/library/aa394596(v=vs.85).aspx 1. Determine if a service pack has…


Performing Management tasks using Cimcmdlets [2] – Computer Hardware

As part of this blog series we are sharing PowerShell snippets for a few Computer Management tasks. In this post we will be going over the samples for Computer Hardware management. The Visual Basic samples for Computer Hardware Management are at: http://msdn.microsoft.com/en-us/library/aa394587(v=vs.85).aspx The corresponding PowerShell samples are below: 1. Determine how much free memory a…

1

Performing Management tasks using Cimcmdlets – Processes

WMI provides a standardized system management infrastructure that can be leveraged by a number of different clients. WMI providers and the classes exposed by the providers help in various management tasks. Our MSDN documentation lists a bunch of management scenarios and the corresponding Visual Basic samples, but it is much easier for an IT administrator…

2

Windows Management Framework 3.0 Compatibility Update

We have an important update regarding WMF 3.0 (“Windows Management Framework”) compatibility. Those who want to install WMF 3.0 to take advantage of all the great features this update provides can do so by installing the update from the Microsoft Download Center, after reading the known compatibility issues detailed in the blog post below. http://blogs.msdn.com/b/powershell/archive/2012/12/20/windows-management-framework-3-0-compatibility-update.aspx…


Windows Management Framework Install Failure and Investigation

Since Windows Management Framework was released Oct. 2009, our customers have been excited about using PowerShell 2.0 on down-level OSes. Meanwhile, we also received feedback from both internal and external customers about our product issues. One of them is WMF install failure followed by the mysterious “The update does not apply to your system” error…


Perform asynchronous asset management using Windows Powershell cmdlets for WMI

With Windows 7 wmi cmdlets now have support to perform tasks asynchronously. Asynchronous execution typically involves – ·       Run commands in background ·       Wait/stop on them ·       Retrieve results ·       Check status of execution   Thus to collect hard inventory data like total Physical Memory from a list of machines in your domain, while not…

2

wmic vs WMI Powershell cmdlets

Compare WMIC.EXE with Windows Powershell Cmdlets for WMI   The WMI command-line (WMIC) utility provides a command-line interface for WMI. With Windows 7 you can do everything that you can do with wmic using Windows Powershell and much more by leveraging powerful features of Windows Powershell.   Below are some scenarios in wmic and their…

5