Quick and dirty powershell script to backup esx 4.1 host configuration.


hi, trying achieve following objective.

login each esx 4.1 host , backup configuration.

my script follows:

when i step through, fails line 14. i following error:

i can see reason $s variable not being passed through command. leaving $s.

i can see variable working fine other lines 11, 12, and 16

any welcomed.

hi,

you cannot pass ip address to get-vmhostfirmware -vmhost. instead need pass hostname , work charm.

thanks,

rohith




Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...