Home » Archive by category "Vmware"

Created ISO image using PowerShell

Some Enterprise Organisations do not allow us to use any software on their networks a. Any software to be installed would need to be tested,...

Power Off listed VM’s

Connect to  Vcenter Connect-VIServer  vmwareenterprise.com -WarningAction 0 ####### Shutdown all VMs from the list “C:\temp\vm.txt“########### foreach($vmlist in (Get-Content -Path C:\TEMP\vm.txt)) { $vm = Get-VM -Name...

VM inventory using Powershell

Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope User -Confirm:$false Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Scope User -Confirm:$false #$cred = Get-Credential Domain\username Connect-VIServer VCenter-Name -Credential $cred -force & { foreach ($vCenterServer...

Add Notes To Multiple VM’s

Note: This script will overwrite the existing Notes, so use it at your own risk! My colleague asked me to add some notes to the...

Restart Multiple VM’s

 Connecting to individual host Open VMware vSphere PowerCLI console #Connect to the host Connect-VIServer -Server hostname.example.com #Get all VMs from the host, filter those powered...

Free Vmware vsphere 6.5 training

Fell free to share with others… Features of vSphere 6 5 Lesson1.1 https://www.youtube.com/watch?v=XnvRAk7Fp6Y Introduction to the ESXi 6 Command Line Interface CLILesson1.1 https://www.youtube.com/watch?v=k0ikD9HXs-U The Course...