This is a simple and quick blog post on how to create or add user to vCenter Permission or Roles Using Powershell or PowerCLI. This is very useful since the decomission of the flash client in vCenter and VCSA 6.7u1 and below having limited support for using the browse option when adding a user from…
Category: Automation
Script: Extensive Script on How to Deploy VMs and Configure the Guest OS Using PowerShell or Powercli
This is an extensive VM deployment script using powershell or powercli, and configuring the guest OS by joining the server to windows AD. You could obviously have a vanilla template and do same as well.
Top 5 PowerCLI Cmdlets that every VMWare Administrator should know!
This is the top five powercli commands every VMware SA should have or know. I would also highly recommend starting out in the vSphere Documentation Center. It’s not really what I would consider bedtime reading but you can find some excellent new cmdlets and see usage. 1. Get-VM It’s a classic. It has been around for…
Top 10 PowerShell commands every Windows admin should know – VirtuallyThatGuy
This is a useful cmdlets every SA should have in their armoury for starting off their automation jorneny 1: Get-Help The first PowerShell cmdlet every administrator should learn is Get-Help. You can use this command to get help with any other command. For example, if you want to know how the Get-Process command works, you…
Script: How to check and remove CD Drive or ISO Connection of a VM using Powershell or PowerCLI – VirtuallyThatGuy
This is a quick script for reporting and taking actions on how to check and remove CD Drive or ISO Connection of a VM using Powershell or PowerCLI. This is very useful when system admin have mounted an ISO to a VM using local datastore and vmotion not migrating the VM due to the connected…
Script: How to create a new user and add it to a role on ESXi host Using PowerShell or Powercli – VirtuallyThatGuy
This is a quick post on how to create a new user and add it to a role on ESXi host Using PowerShell or Powercli.
Script: How to Start, Stop, Restart services on VMware vSphere ESXi server via PowerCLI or using PowerShell
This is a quick post on how to Start, Stop, Restart services on VMware vSphere ESXi server via PowerCLI or using PowerShell.
Script: How to check VM Average CPU, Memory and Disk Usage VMware Using Powershell or PowerCLI – VirtuallyThatGuy
This is a quick post on how to check the average usage of a VM CPU, Memory and Disk using a powershell or powercli.
How to Check VM OS Uptime and ESXi Hosts Uptime Using PowerCLI – VirtuallyThatGuy
Another quick blog post about checking OS Uptime for VMs and ESXi Hosts using powercli
Cluster Capacity Report for VMs, Cluster, Hosts, vCenter – Using PowerCLI – VirtuallyThatGuy
How to gather cluster capacity report using powercli