Skip to content

VirtuallyThatGuy

Anything VMware , PowerCLI, PowerShell, Automation and some Windows

Menu
  • Home
  • PowerCLI
  • VMware
  • Automation
  • Windows
  • About
Menu

Tag: PowerCLI

vROps: Management Pack Troubleshooting

Posted on 20 March 202317 May 2023 by VirtuallyThatGuy

Introduction VMware vRealize™ Operations™, part of the VMware vRealize suite, provides a unified management experience for IT services on the VMware vCenter™ server. The Pure Storage FlashArray Management Pack for VMware vRealize Operations Manager (vROps) helps VMware administrators gain better insight into the health of the Storage arrays in a VMware context so that they…

Read more

Windows AD {Active Directory} (PowerShell) samples

Posted on 5 February 20234 March 2024 by VirtuallyThatGuy

You will need to have RSAT (Remote Server Administration Tools) installed For Windows 7 and above. This enables your local machine to remotely manage Windows Servers and Services via the usual MMC GUI’s (eg AD Users and Computers) and (most importantly) includes PowerShell modules in order to be able to do so as well. Once installed…

Read more

Migrate VMs Between vCentres Using Powershell or PowerCLI

Posted on 1 January 20234 March 2024 by VirtuallyThatGuy

Yeah you can do this in the UI but I don’t like clicking so will use a script instead. The following script will migrate virtual machines from one vCentre to another, so long as both have a shared datastore.

Read more

Set VM Tools to Update Automatically on VM Reboot using powershell

Posted on 3 December 20224 March 2024 by VirtuallyThatGuy

Keeping VM Tools up to date is like painting the Forth Bridge (an endless task which, just as you finish, another ESX release goes live and you start all over again). A useful, but almost hidden feature, is that which allows VM’s to automatically update when they’re being bounced. Meaning that some VM’s will be…

Read more

Windows Administrator Must Have Powershell Commands

Posted on 20 November 20224 March 2024 by VirtuallyThatGuy

This is a quick blog post about some useful windows powershell commands an administrator will find useful on a day to day basis. Share the love Command What it Does? $psversiontable Which version of powershell and I running Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass Allow execution of commands Get-Printer | select Name, DriverName, PortName | Export-Csv…

Read more

Linux & Terraform & AIX Server Administrator Cheat Sheet

Posted on 23 October 20224 March 2024 by VirtuallyThatGuy

Most of these commands will also work on Linux , networking or terraform as specified below Command What is does? route add -net 10.98.208.40 netmask 255.255.255.255 gw 172.31.191.254 Add a static root – substitute for your IP information route del -net 10.98.208.40 netmask 255.255.255.255 gw 172.31.191.254 Remove static route ifconfig eth1 192.168.1.2 netmask 255.255.240.0 gw…

Read more

VMware ESXi CLI Cheat Sheet

Posted on 24 September 20229 October 2023 by VirtuallyThatGuy

These cheat sheets are to be used on the VMware platform. Some commands require PowerCLI, others can be run directly on the Photon OS. Command What it does /etc/init.d/hostd restart/etc/init.d/vpxa restart Restart VMWare Management services on Host # Check if your VM has (Change Block Tracking) enabled or not(Get-VM -Name Server_Name).ExtensionData.Config.ChangeTrackingEnabled(Get-VM-Name Server_Name).ExtensionData.Config.ChangeTrackingEnabled# Find VMs where CBT (Change Block…

Read more

Ping All VM’s On ESXi Using Powershell

Posted on 18 September 20224 March 2024 by VirtuallyThatGuy

This is a quick blog about some useful sanity check prior to and after network level changes

Read more

Comprehensive Script of VM’s with Snapshots Running – Using PowerShell or Powercli – VirtuallyThatGuy

Posted on 14 August 20224 March 2024 by VirtuallyThatGuy

This script generates an email report of virtual machines that have snapshots running. save above and run as below .\getsnapshotsize.ps1

Read more

PowerShell or PowerCLI starter pack – OneLiners Must Have For Administrator

Posted on 6 August 20224 March 2024 by VirtuallyThatGuy

A quick blog on some one liners managing the vmware estate an admin must have. The following are a few PowerCLI commands that I have found useful at one time or another. The VMware Communities section for PowerCLI is a great starting point for more information on setting up and using PowerCLI

Read more

Posts pagination

  • 1
  • 2
  • 3
  • 4
  • …
  • 11
  • Next
When autocomplete results are available use up and down arrows to review and enter to go to the desired page. Touch device users, explore by touch or with swipe gestures.

Recent Posts

  • vROps: Management Pack Troubleshooting
  • Windows AD {Active Directory} (PowerShell) samples
  • Migrate VMs Between vCentres Using Powershell or PowerCLI
  • Set VM Tools to Update Automatically on VM Reboot using powershell
  • Windows Administrator Must Have Powershell Commands

Recent Comments

  • JB on Script: How to get VM with Tag Assignment and export results to csv using PowerCLI or Powershell
  • DL on How to change VCSA root password and bypass BAD PASSWORD: it is based on a dictionary word for vCenter VCSA root account warning
  • 360coolp on How to change VCSA root password and bypass BAD PASSWORD: it is based on a dictionary word for vCenter VCSA root account warning
  • Yogesh on ESXi 8.x, 7.x, 6.x Service sfcbd-watchdog Not Running / Fails to Start – VirtuallyThatGuy
  • VirtuallyThatGuy on ESXi 8.x, 7.x, 6.x Service sfcbd-watchdog Not Running / Fails to Start – VirtuallyThatGuy

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017

Categories

  • Automation
  • PowerCLI
  • VMware
  • Windows
© 2025 VirtuallyThatGuy | Powered by Superbs Personal Blog theme