Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 $A="Hello, PowerShell ..."
 $A
Code Block
 
 Write-Host "Num Args:" $args.Length;
 foreach ($arg in $args)
 \{
   Write-Host "Arg: $arg";
 \}
Code Block
 
 Write-Host "Environment-var Scheduler-Data is : $env:SCHEDULER_DATA"
 Write-Host "Operating system is               : $env:OS"
Code Block
 
 exit $lastexitcode
Code Block
 
 # to change the policy for using powershell you can use this .adm file:
 #    http://www.microsoft.com/download/en/confirmation.aspx?id=25119

...