powershell/schtasks bug?
schtasks /create /sc weekly /d mon,wed,fri ... windows/.bat works
schtasks /create /sc weekly /d mon,wed,fri ... from powershell/.ps1 script generrates "error: invalid argument/option - 'wed'" error
schtasks /create /sc weekly /d mon ... from powershell/.ps1 script works
is bug? there work-around?
i've not been able locate references problem.
thnx
schtasks /create /sc weekly /d mon,wed,fri ... from powershell/.ps1 script generrates "error: invalid argument/option - 'wed'" error
schtasks /create /sc weekly /d mon ... from powershell/.ps1 script works
is bug? there work-around?
i've not been able locate references problem.
thnx
does work ps if this:
cmd /c "schtasks /create /sc weekly /d mon,wed,fri ..."
cmd /c "schtasks /create /sc weekly /d mon,wed,fri ..."
Windows Server > Windows PowerShell
Comments
Post a Comment