Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedxt/vmware
Scripts for VMware related tasks
https://github.com/thedxt/vmware
powercli powershell vmware
Last synced: about 1 month ago
JSON representation
Scripts for VMware related tasks
- Host: GitHub
- URL: https://github.com/thedxt/vmware
- Owner: thedxt
- Created: 2021-07-01T19:03:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-07T02:58:19.000Z (6 months ago)
- Last Synced: 2024-07-07T03:31:30.044Z (6 months ago)
- Topics: powercli, powershell, vmware
- Language: PowerShell
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VMware
## VM Copy Paste Enabler
PowerCLI script to enable copy paste on VMWare VMsIt makes the same changes that are listed here https://kb.vmware.com/s/article/57122
[More detailed documentation](https://thedxt.ca/2021/07/vmware-copy-paste-enabler/)
Things to note
* Change `vm_Name` varriable to the VM you want to enable copy paste on
* if the VM is on it will turn it off and make the changes then turn it back on (this may error if you don't have VMware tools installed)
* if the VM is off it will just make the changes
* you'll need to connect to VCSA before running the script## vCenter ESXi Config Backup
VMware PowerCLI script to backup ESXi host configs using vCenter.> [!IMPORTANT]
> `folder` must be defined as this is the location the backups will be saved.
>
> `vcenter` must be defined as this is the vCenter sever the script will use.* The backup folder is created if it doesn't exist.
* Connection to vCenter defaults to not connected and will prompt for credentials.
* Performs an ESXi config backup for all ESXi hosts in vCenter
* Renames the backup file to have the ESXi hostname, the ESXi installed version with build number, and the local time the backup was taken.[More detailed documentation](https://thedxt.ca/2024/07/vcenter-esxi-config-backup-script/)
> [!TIP]
> ## Examples
> You will be prompted for vCenter credentials
>
> `esxi-conf-backup -vcenter "vcenter.contoso.com" -folder "C:\ESXi-Backup"`
>
>
> You can suppress the prompt for vCenter credentials by setting `connected` to `Yes`
>
> `esxi-conf-backup -vcenter "vcenter.contoso.com" -folder "C:\ESXi-Backup" -connected Yes`
>