The scripting language PowerShell introduced in Windows 7 and Windows Server 2008 provides rich access to the above mentioned systems and later platforms, including access to security settings. Experienced Systems Administrators use PowerShell to develop management tools that are specific to their environment, hence, allowing them to tackle specific issues that may be unique to their organizations.
Windows Management Instrumentation (WMI) allows you to write scripts and expose information about a Windows 7 resource or service. As we have seen in the previous post – Windows Management Instrumentation (WMI), WMI allows you to access system management information from the command-line interface! WMI can become handy when you need to retrieve specific information which may be not available from the GUI. Mastering the WMI command line utility may turn you into command line freak never wanting to leave the command line.
Windows Management Instrumentation (WMI) allows you to write scripts that configure performance settings and resolve performance issues. System performance is dependant on many factors and settings, and the amount of resources every service or process consumes. With WMI, you can write scripts that manage event logs, file systems, printers, processes, registry settings, scheduled tasks, security, services, shared folders, etc. WMI scripts can monitor and respond to entries in the event log, modifications to the file system or the registry, and other real-time operating system changes.