Tag powershell

Create a credentials file for vSphere

Instead of having to enter the username and passwords every time you are running a script it is a good idea to create a credentials file and encrypt it on your system. Create encrypted file This creates a file C:\vCenterCredentials.xml…

Resize VM through Code

A prevalent task for a VMware admin is to power down VM X and add more CPU or RAM to the VM. Infrastructure as code enthusiasts suggest that any operation performed manually should be automated. Let us look at how…

Share on Social Media