Make multiple selection on a list to do another task
hey guys,
currently got 2 script here. 1 list out services , other 1 start or stop services.
in order start or stop services, need list out services first, write services name script start or stop it.
so wondering still got way can combined both of script can straight make selection start/stop services list?
thank much.
you mean
get-service winrm,wlansvc | stop-service
??
Windows Server > Windows PowerShell
Comments
Post a Comment