wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


cheatsheet-powershell
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cheatsheet-powershell [2025/06/01 11:59] – created - external edit 127.0.0.1cheatsheet-powershell [2025/07/20 05:43] (current) – [PowerShell Variables] sjoerd
Line 299: Line 299:
 $user = ${env:test-app_user} $user = ${env:test-app_user}
 </code> </code>
 +\\ 
 +> Check if a variable is null or empty 
 +<code powershell> 
 +if ([string]::IsNullOrEmpty($VarToCheck)){ 
 +  do something 
 +
 +</code>
 == Remote PowerShell == == Remote PowerShell ==
  
cheatsheet-powershell.1748779162.txt.gz · Last modified: by 127.0.0.1

Exception: Git command failed to perform periodic pull: From https://dev.azure.com/getshiftingcom/Documentation/_git/knowledge * branch main -> FETCH_HEAD fatal

Exception: Git command failed to perform periodic pull: From https://dev.azure.com/getshiftingcom/Documentation/_git/knowledge * branch main -> FETCH_HEAD fatal

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.