Skip to content

sigtar.com

Daz's bits and bobs …bytes bits

Menu

Primary menu

  • Home
  • about

Tag Archives: cli

vmware – list all IPs on guest machines

Posted on October 18, 2012 by Daz — No Comments ↓

If DNS is failing you…. You can run the following powercil script to list all IP’s to virtual machines within vmware….


$IPaddresses = @()

foreach($vm in Get-VM){
$vm.Guest.VmName | %{
$IPaddresses += $_
}
$vm.Guest.IPAddress | %{
$IPaddresses += $_
}
}

 

$IPaddresses

Posted in Virtual | Tagged cli, ip address, power cli, script, virtual guest | Leave a reply

Primary Sidebar Widget Area

Tags

cache cifs cisco container dhcp disk dns docker driver esx esxi express firewall hp http https install iscsi Linux network nfs nginx opensolaris performance redirect router samba script server share smb snapshots solar solaris squid ssh ubuntu unraid Virtual virtualbox vmware vsphere Windows zfs zpool
Copyright © 2021 sigtar.com. All Rights Reserved.
Theme: Catch Box by Catch Themes
  • felestore
  • Plugins Wordpress
  • Themes Wordpress
  • Documents Wordpress