Restart several servers in parallel, email & verify services


i'm trying come script restart several servers can list in txt file. can't restart them 1 @ time, request restart them @ same time.

next need verify couple of services running

log restart time , time server online (this ping check or rpc service check)

last part have email out log file of time info , service status.

i'm not @ coding, , have found info, nothing this.

can please me?

thank you
domran

what version of powershell planning on running from? can make difference in use of restart-computer , how can test when system comes online (v3+ can use -wait parameter -for parameter check specific check action such dcom or wsman). use workflow in v3+ or stick psjobs.

boe prox
blog | twitter
poshwsus | poshpaig | poshchat | posheventui
powershell deep dives book




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