by Tom Fenton | Dec 29, 2020 | PowerCLI, PowerShell, Tips, VMware
The other day I need to see a list of installed software displayed as a webpage so I hacked a script (sorry original author lost to time) the following script to display it as a web page, along with other system information. ## PowerShell script to list all...
by Tom Fenton | Dec 28, 2020 | PowerCLI, PowerShell, Tips, VMware
The other day I need to see the names of the processes using network ports so I created the following script to do just that! ## PowerShell script to list all the processes using network connections## Version 1.0 12/28/2020## Tom Fenton## # $netstat = netstat...
by Tom Fenton | Dec 23, 2020 | PowerCLI, PowerShell, Tips, VMware
This morning I need to shutdown all the VMs in a folder as it was Christmas eve. So I created the following script to do just that! ## PowerCLI clone off all VMs in a folder## Version 1.0 12/24/2020## Tom Fenton## ## Specify vCenter Server, vCenter Server...
by Tom Fenton | Dec 22, 2020 | PowerCLI, PowerShell, Tips, VMware
This morning I need to clone a couple dozen VMs to test a dHCI system so I created the following script to do just that! ### PowerCLI to create VMs## Version 1.0 12/20/2020## Tom Fenton## ## Specify vCenter Server, vCenter Server username and vCenter Server...
by Tom Fenton | Dec 20, 2020 | PowerCLI, PowerShell, Tips, VMware
This morning I need to power on and off all the VMs in a folder named CallCenter/ after a random waiting periond. ## Script to power on and off the VMs in a folder at random times while ($true) { ## slep for 1 to 7 minutes $rnd = Get-Random...
by Tom Fenton | Dec 20, 2020 | PowerCLI, PowerShell, Tips, VMware
This morning I need to power on and off all the VMs in a folder named CallCenter/ I created these PowerCLI one liner to do that. This morning I need to power off all the VMs in a folder named CallCenter/ I created the PowerCLI one liner to power them off. ...