feat: Add -IncludeGuestAgent parameter for performance optimization

- Added optional -IncludeGuestAgent parameter to Get-ProxmoxVM cmdlet
- Guest agent data retrieval is now optional for improved query performance
- Default behavior: Fast queries without guest agent data
- Use -IncludeGuestAgent switch when detailed network information is needed
- Significant performance improvement for normal VM queries
- Updated all documentation and examples to use new parameter
- Fixed binary module structure by removing unnecessary PSD1 from bin folder
- Version bump to 2025.05.30.2323

BREAKING CHANGE: Get-ProxmoxVM no longer fetches guest agent data by default.
Existing scripts that rely on guest agent data must add -IncludeGuestAgent parameter.
This commit is contained in:
AX-AMote
2025-05-30 23:25:19 -04:00
parent 33898b7b80
commit d9bd620168
10 changed files with 174 additions and 57 deletions
+6 -2
View File
@@ -1,5 +1,5 @@
@{
ModuleVersion = '2025.05.30.1740'
ModuleVersion = '2025.05.30.2325'
GUID = 'd24f0894-3d0c-4ef1-a41e-b273c3db86ad'
Author = 'PSProxmox Team'
CompanyName = 'PSProxmox'
@@ -106,7 +106,7 @@
Tags = @('Proxmox', 'VirtualMachine', 'Cluster', 'Management')
LicenseUri = 'https://github.com/Grace-Solutions/PSProxmox/blob/main/LICENSE'
ProjectUri = 'https://github.com/Grace-Solutions/PSProxmox'
ReleaseNotes = 'Added VM Guest Agent support with comprehensive network interface information. Fixed all 41 compilation errors and warnings for 100% clean builds. Enhanced API client standardization across all cmdlets. See https://github.com/Grace-Solutions/PSProxmox/releases/tag/v2025.05.30.1740'
ReleaseNotes = 'Added -IncludeGuestAgent parameter for performance optimization. Guest agent data now optional for faster queries. Fixed binary module structure. Complete codebase stabilization with 100% clean builds. See https://github.com/Grace-Solutions/PSProxmox/releases/tag/v2025.05.30.2323'
}
}
}
@@ -133,6 +133,10 @@