ADSM-L

[ADSM-L] syntax problem | preschedulecmd

2009-04-21 09:58:41
Subject: [ADSM-L] syntax problem | preschedulecmd
From: goc <gooooc AT GMAIL DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 21 Apr 2009 15:50:01 +0200
hi all, i'm trying to execute backup from with preschedulecmd from
windows client like ->


powershell "& 'B:\Laptop
Backup\system_backups\scripts\sys_backup2.ps1' wzpwebstream1"

but i'm having problems how to put it into -preschedulecmd as an
option of course, errors are something like

ANR2020E UPDATE SCHEDULE: Invalid parameter - B:\LAPTOP
ANR2020E UPDATE SCHEDULE: Invalid parameter - &.
etc..

above mentioned line works flawlesly from cmd prompt on client, i
guess the problem is where to put
all the 's and "s and 's and more "'s , right ?

thanks for help!

//

PS: the script executes ntbackup as scheduled task (via wmi) on any
remote machine and stores *.bkf localy ready for archiving

<Prev in Thread] Current Thread [Next in Thread>