document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. $code = @"
  2. function ISODate()
  3. {
  4.    var today = new Date();  
  5.    return (today.toISOString());
  6. }
  7. "@
  8.  
  9. $sc = New-Object -ComObject ScriptControl
  10. $sc.Language = "JScript"
  11. $sc.AddCode($code)
  12.  
  13. $en = $sc.CodeObject
  14.  
  15. $en.ISODate()
  16.  
');