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

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client