https://github.com/virtualox/export-vminfo.ps1
Export VM details from vCenter/ESXi
https://github.com/virtualox/export-vminfo.ps1
automation csv-export esxi export powershell scripting vcenter virtualization vmware
Last synced: 9 days ago
JSON representation
Export VM details from vCenter/ESXi
- Host: GitHub
- URL: https://github.com/virtualox/export-vminfo.ps1
- Owner: virtualox
- License: gpl-3.0
- Created: 2023-10-19T07:43:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T07:54:39.000Z (over 2 years ago)
- Last Synced: 2023-10-19T08:41:27.147Z (over 2 years ago)
- Topics: automation, csv-export, esxi, export, powershell, scripting, vcenter, virtualization, vmware
- Language: PowerShell
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Export VM Info from vCenter/ESXi
This PowerShell script retrieves VM details from a vCenter or ESXi host and exports them to a CSV file.
## Features
- Connects to a specified vCenter or ESXi host.
- Retrieves the following VM details:
- VM Name
- IP Address
- Guest OS
- Notes
- Exports the gathered data to a CSV file.
# Usage
1. Ensure you have VMware PowerCLI installed.
2. Run the script, specifying the server and output path.
```powershell
.\Export-VMInfo.ps1 -Server 'my.vcenter.com' -OutputPath "C:\path\to\output.csv"
```
When prompted, enter the username and password for the vCenter or ESXi host.
# Requirements
- VMware PowerCLI.
- Necessary permissions to query the vCenter or ESXi host.
# Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.