IT talks

Virtualization and something more...

  • IT
  • *NIX
  • VMware
  • vSAN
  • Chef/Puppet
  • Zabbix
  • ABOUT

Shared on Genesis

Powershell: Check variable for null

November 5, 2015 by vmadmin 3 Comments

If your working a lot with parameters and inputs you need to check if variables have the right value and are not “null”.

You can check that (check if $variablename has $null as value):

[Read more…]

Filed Under: IT Tagged With: check, Microsoft Powershell, Variable, Windows Powershell

Tags

automatisation backup boot centos centos 7 certificate certification chef CI cli coredump database disk esxcli esxi Godaddy home lab hp hypervisor install Jenkins knife linux mac os manifest mysql openssl ProLiant proxmox ruby rvc script ssl test lab ubuntu update upgrade vcenter vib virtualization vmkdump vmware vsan vsphere xcode