Advertisement
Guest User

Untitled

a guest
Apr 9th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function Test
  2. {
  3. write-host "write-host"
  4. Write-Output "Write-Output"
  5.  
  6. }
  7.  
  8. write-output "Test 1 - writing to null"
  9. $null = Test
  10.  
  11. write-output "Test 2 - writing to host"
  12. Test
  13.  
  14. <# OUTPUT
  15. Test 1 - writing to null
  16. write-host
  17. Test 2 - writing to host
  18. write-host
  19. Write-Output
  20. #>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement