Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/Variables/PowerShell/variables-1.psh
Normal file
2
Task/Variables/PowerShell/variables-1.psh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
$s = "abc"
|
||||
$i = 123
|
||||
2
Task/Variables/PowerShell/variables-2.psh
Normal file
2
Task/Variables/PowerShell/variables-2.psh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
4 + $foo # yields 4
|
||||
"abc" + $foo + "def" # yields "abcdef"
|
||||
1
Task/Variables/PowerShell/variables-3.psh
Normal file
1
Task/Variables/PowerShell/variables-3.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Get-ChildItem Variable:
|
||||
1
Task/Variables/PowerShell/variables-4.psh
Normal file
1
Task/Variables/PowerShell/variables-4.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Remove-Item Variable:foo
|
||||
5
Task/Variables/PowerShell/variables-5.psh
Normal file
5
Task/Variables/PowerShell/variables-5.psh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Get-Variable # retrieves the value of a variable
|
||||
New-Variable # creates a new variable
|
||||
Set-Variable # sets the value of a variable
|
||||
Clear-Variable # deletes the value of a variable, but not the variable itself
|
||||
Remove-Variable # deletes a variable completely
|
||||
Loading…
Add table
Add a link
Reference in a new issue