In this exercise, you will explore using the Commands add-on by looking for cmdlets related to WMI. You will then select the Invoke-WmiMethod cmdlet from the list and create new processes. Following this exercise, you will use Windows PowerShell ISE snippets to create a WMI script.
Using the Commands add-on to use WMI methods
Start the Windows PowerShell ISE.
Use the Commands add-on to search for cmdlets related to WMI.
Select the Invoke-WmiMethod cmdlet from the list.
In the class block, add the WMI class name Win32_Process.
In the name block, enter the method name create.
In the argument list, enter notepad.
Click the Run button. In the output console, you should see the following command, ...