Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function Why() {
- ""
- return "Well I tried."
- }
- Write-Host "Starting test."
- $theBigQuestion= Why
- Write-Host $theBigQuestion
- Write-Host "Ending test."
- Starting test.
- Well I tried.
- Well I tried.
- Ending test.
- Function Why() {
- ""
- return "Well I tried."
- }
- 25> $r = why
- 26> $r.GetType()
- IsPublic IsSerial Name BaseType
- -------- -------- ---- --------
- True True Object[] System.Array
- 27> $r[0].Length
- 0
- 28> $r[1]
- Well I tried.
- Function Why() {
- Out-Null ""
- return "Well I tried."
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement