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

DCOM received error "2147746132" from...

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B

DFSR RPC replication errors 5014 1726 with large files over VPN