If you try the code in the first example of the Restart-Service cmdlet you'll get a "Cannot find any service with service name 'wmi'.", that's because there's no 'wmi' service, the name of the service is 'winmgmt'.-------------------------- EXAMPLE 1 --------------------------PS C:\> restart-service wmiThis command restarts the Windows Management Instrumentation (WMI) service on the local computer.-----------------------------------------------------------------------
Where do you see this documentation issue.
Please wait...