Answers for "powershell check if not null"

0

not null check in powershell variable

if (!$variablename) { Write-Host "variable is null" }
if ($variablename) { Write-Host "variable is NOT null" }
Posted by: Guest on July-05-2021
-1

powershell check if not null or empty

[string]::IsNullOrEmpty(...)
Posted by: Guest on June-04-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language