check variable is empty powershell

Code Example - check variable is empty powershell

                
                        if (!$length) { 
  Do continue on with the value of 9 for the length
} ...