September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -0,0 +1,2 @@
|
|||
$test2plus2 = '2 + 2 -eq 4'
|
||||
Invoke-Expression $test2plus2
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$say = {"Hello, world!"}
|
||||
& $say
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$say = {param ([string]$Subject) "Hello, $Subject!"}
|
||||
& $say -Subject "my friend"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
$say = {param ([string]$Exclamation, [string]$Subject) "$Exclamation, $Subject!"}
|
||||
& $say -Exclamation "Goodbye" -Subject "cruel world"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
$title = "Dong Work For Yuda"
|
||||
$scriptblock = {$title}
|
||||
$closedScriptblock = $scriptblock.GetNewClosure()
|
||||
|
||||
& $scriptblock
|
||||
& $closedScriptblock
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
$title = "I'm Too Sexy"
|
||||
& $scriptblock
|
||||
& $closedScriptblock
|
||||
Loading…
Add table
Add a link
Reference in a new issue