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

does work ps if this:

cmd /c "schtasks /create /sc weekly /d mon,wed,fri ..."


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Round Robin is killing performance on our network

WMI Repository 4GB limit - Win 2003 Ent Question

Change home folder default permission?