SCHTASKS.exe /query /fo csv /nh gives ERROR in Win2008, in contradiction to documentation


when running schtasks /query /fo csv /nh in commandbox error: error: /nh switch cannot used list format. when using /? see /nh allowed csv , table formats. in win2003 command runs fine. use command in vb-script , did not work anymore in win2008.
can tell me if bug (cannot find myself!) or intended behaviour (so different win2003)?
or should rewrite vb-script conform http://www.microsoft.com/technet/scriptcenter/topics/vista/tasks2.mspx?

hi,

in document of schtasks /query changed in windows 7:


   /nh                  specifies column header should not
                        displayed in output. is
                        valid table format.

seems not supporting /nh intended.

thanks.

this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...