Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
8
Task/Undefined-values/PowerShell/undefined-values-1.ps1
Normal file
8
Task/Undefined-values/PowerShell/undefined-values-1.ps1
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
if (Get-Variable -Name noSuchVariable -ErrorAction SilentlyContinue)
|
||||
{
|
||||
$true
|
||||
}
|
||||
else
|
||||
{
|
||||
$false
|
||||
}
|
||||
1
Task/Undefined-values/PowerShell/undefined-values-2.ps1
Normal file
1
Task/Undefined-values/PowerShell/undefined-values-2.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
Get-PSProvider
|
||||
1
Task/Undefined-values/PowerShell/undefined-values-3.ps1
Normal file
1
Task/Undefined-values/PowerShell/undefined-values-3.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
Test-Path Variable:\noSuchVariable
|
||||
1
Task/Undefined-values/PowerShell/undefined-values-4.ps1
Normal file
1
Task/Undefined-values/PowerShell/undefined-values-4.ps1
Normal file
|
|
@ -0,0 +1 @@
|
|||
$noSuchVariable -eq $null
|
||||
Loading…
Add table
Add a link
Reference in a new issue