Sunday, May 24, 2020

Starting and stopping vmware services using powershell with and without confirmation

Start-Service "VMware Authorization Service"
Start-Service "VMware DHCP Service"
Start-Service "VMware NAT Service"
Start-Service "VMware USB Arbitration Service"
start-service "VMware Workstation Server"

#to stop the service which has dependent processes without confirmation

#stop-service "VMware Authorization Service" -Force

#to stop the service which has dependent processes with confirmation

#stop-service "VMware Authorization Service" -Force -confirm

No comments:

Post a Comment