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

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file