Seite 1 von 1

VCB Script Problem...

Verfasst: 03.04.2009, 16:09
von PeterP
@ All,

schlage mich jetzt mit VCB rum.

Ich habe auf der Webseite "http://www.yellow-bricks.com/2008/01/30/vcb-backup-all-running-vms/" einen , so fand ich es, tolles Script:

for /f “tokens=2 delims=:” %%i in (’vcbvmname -h virtualcenter -u administrator -p password -s Powerstate:on ^| find “name:”‘) do @rd /s /q “D:\Backups\All\%%i” &vcbmounter -h virtualcenter -u administrator -p password -a name:”%%i” -r “D:\Backups\All\%%i” -t fullvm > “D:\Backups\All\%%i.log”

Leider läuft er bei mir nicht und ich finde nicht warum????
Er übergibt die Namen der VM`s nicht weiter. So meine ich.

Wenn ich nur (vcbvmname -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -s Powerstate:on | find “name:”) abgebe , werden die VM aufgelistet.

Vielleicht kann mir Jemand helfen.

LG

PeterP