WMI (Windows Management Instrumentation) is the technique for querying and changing basic information about any windows server, including SQL Server or Exchange Server. It provides logical representation and structure of systems and services hosted on the server. Some of the examples of tasks you can do with WMI –

  • Working with the registry
  • Working with processes
  • Working with services
  • Performing hardware inventory
  • Working with files and folders
  • Working with event logs
  • WMI– Windows Management Instrumentation. It is the Microsoft implementation of Web-Based Enterprise Management (WBEM) allowing access to data. WMI uses the Common Information Model (CIM) to describe objects such as systems, applications, and network equipment.
  • CIM– Common Information Model. It is a set of standards that describes how information is structured and represented at the heart of the system. It was created by the DMTF (Distributed Management Task Force), a working group to which Microsoft belongs.
  • PSWA– PowerShell Web Access. This new function allows secure access to a Windows PowerShell console from a browser so as to interact with any system, even if it is outside the domain.
  • Powershell has access to all .NET libraries in addition to items mentioned above so you can take advantage of anything you could with a language like C# or VB.NET.
  • Powershell often allows you to do more with less compared to VBscript. In some cases you can reduce VBscripts that are hundreds of lines to just tens of lines in PowerShell.
  • Microsoft has designed powershell for the OS and application automation across all its platforms.
  • PowerShell is also interactive. This allows to try out things at the console first and integrate them into larger more complicated scripts.