I am brand new to kix32 and am trying to send date and time to a file. What am I
doing wrong? Script is as follows:

$LogFile = "c:\testdir\test.log"

SHELL 'cmd /c @date @time>"$LogFile"'

I've tried variations on this, with date and time concatenated, surrounded by quotes, but I get the error "'2001' is not recognized as an internal or external command, operable program or batch file"