IT talks

Virtualization and something more...

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

Shared on Genesis

Reserved IP | Microsoft Azure

February 9, 2016 by vmadmin Leave a Comment

If you need to reserve static ip address for your VM, follow the commands below:

1. Set static ip:

New-AzureReservedIP -ReservedIPName "postgresql" -Location "West US" 

2. Assign static ip, defined above to VM named  postgresql –vm

[Read more…]

Filed Under: IT Tagged With: azure, ip, script, Windows Powershell

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