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

directory stack

After enabling Windows Server 2012 R2 DHCP Failover Getting Packet dropped because of Client ID hash mismatch

WMI Repository 4GB limit - Win 2003 Ent Question