Powershell Tutorial
Introduction to Powershell Managing History of Powershell Commands Cmdlet, Alias, Function and Module in Powershell PSDrive Profile in Windows Powershell Variable Management in Powershell Passing values to parameters from file Creating files and directories Basic File System commands Finding the patterns in files Unique command Replacing patterns in files Comparing objects Sorting objects Other object commands Getting members of an Object Managing processes Managing Jobs IO redirection Piping System Commands Network commands Service Commands WMI(Windows Management Instrumentation) CIM (Common Information Model) Formatting output exporting output XML processing Powershell Module Management Remote computer managementcim commands in windows powershell
CIM is the superset of WMI. CIM defines the latest mechanism to access the information from Win32 classes. Below command will get the list of all processes running in your system.
Get-CimInstance –ClassName Win32_Process
Below command will get the list of hard drives in your system.
Get-CimInstance –ClassName Win32_LogicalDisk
Web development and Automation testing
solutions delivered!!