diff --git a/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psd1 b/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psd1 index 1d6fcf3..998706a 100644 --- a/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psd1 +++ b/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psd1 @@ -3,7 +3,7 @@ # # Generated by: Daniele Corsini # -# Generated on: 08/09/2023 +# Generated on: 17/10/2023 # @{ @@ -12,7 +12,7 @@ RootModule = 'Corsinvest.ProxmoxVE.Api.psm1' # Version number of this module. -ModuleVersion = '8.0.2' +ModuleVersion = '8.0.3' # Supported PSEditions # CompatiblePSEditions = @() @@ -69,283 +69,283 @@ Description = 'PowerShell for Proxmox VE' # NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'Build-PveDocumentation', 'Connect-PveCluster', - 'ConvertFrom-PveUnixTime', 'ConvertTo-PveUnixTime', 'Enter-PveSpice', - 'Get-PveAccess', 'Get-PveAccessAcl', 'Get-PveAccessDomains', - 'Get-PveAccessDomainsIdx', 'Get-PveAccessGroups', - 'Get-PveAccessGroupsIdx', 'Get-PveAccessOpenid', - 'Get-PveAccessPermissions', 'Get-PveAccessRoles', - 'Get-PveAccessRolesIdx', 'Get-PveAccessTfa', 'Get-PveAccessTfaIdx', - 'Get-PveAccessTicket', 'Get-PveAccessUsers', 'Get-PveAccessUsersIdx', - 'Get-PveAccessUsersTfa', 'Get-PveAccessUsersToken', - 'Get-PveAccessUsersTokenIdx', 'Get-PveCluster', 'Get-PveClusterAcme', - 'Get-PveClusterAcmeAccount', 'Get-PveClusterAcmeAccountIdx', - 'Get-PveClusterAcmeChallengeSchema', - 'Get-PveClusterAcmeDirectories', 'Get-PveClusterAcmePlugins', - 'Get-PveClusterAcmePluginsIdx', 'Get-PveClusterAcmeTos', - 'Get-PveClusterBackup', 'Get-PveClusterBackupIdx', - 'Get-PveClusterBackupIncludedVolumes', 'Get-PveClusterBackupInfo', - 'Get-PveClusterBackupInfoNotBackedUp', 'Get-PveClusterCeph', - 'Get-PveClusterCephFlags', 'Get-PveClusterCephFlagsIdx', - 'Get-PveClusterCephMetadata', 'Get-PveClusterCephStatus', - 'Get-PveClusterConfig', 'Get-PveClusterConfigApiversion', - 'Get-PveClusterConfigJoin', 'Get-PveClusterConfigNodes', - 'Get-PveClusterConfigQdevice', 'Get-PveClusterConfigTotem', - 'Get-PveClusterFirewall', 'Get-PveClusterFirewallAliases', - 'Get-PveClusterFirewallAliasesIdx', 'Get-PveClusterFirewallGroups', - 'Get-PveClusterFirewallGroupsIdx', 'Get-PveClusterFirewallIpset', - 'Get-PveClusterFirewallIpsetIdx', 'Get-PveClusterFirewallMacros', - 'Get-PveClusterFirewallOptions', 'Get-PveClusterFirewallRefs', - 'Get-PveClusterFirewallRules', 'Get-PveClusterFirewallRulesIdx', - 'Get-PveClusterHa', 'Get-PveClusterHaGroups', - 'Get-PveClusterHaGroupsIdx', 'Get-PveClusterHaResources', - 'Get-PveClusterHaResourcesIdx', 'Get-PveClusterHaStatus', - 'Get-PveClusterHaStatusCurrent', - 'Get-PveClusterHaStatusManagerStatus', 'Get-PveClusterJobs', - 'Get-PveClusterJobsRealmSync', 'Get-PveClusterJobsRealmSyncIdx', - 'Get-PveClusterJobsScheduleAnalyze', 'Get-PveClusterLog', - 'Get-PveClusterMapping', 'Get-PveClusterMappingPci', - 'Get-PveClusterMappingPciIdx', 'Get-PveClusterMappingUsb', - 'Get-PveClusterMappingUsbIdx', 'Get-PveClusterMetrics', - 'Get-PveClusterMetricsServer', 'Get-PveClusterMetricsServerIdx', - 'Get-PveClusterNextid', 'Get-PveClusterOptions', - 'Get-PveClusterReplication', 'Get-PveClusterReplicationIdx', - 'Get-PveClusterResources', 'Get-PveClusterSdn', - 'Get-PveClusterSdnControllers', 'Get-PveClusterSdnControllersIdx', - 'Get-PveClusterSdnDns', 'Get-PveClusterSdnDnsIdx', - 'Get-PveClusterSdnIpams', 'Get-PveClusterSdnIpamsIdx', - 'Get-PveClusterSdnVnets', 'Get-PveClusterSdnVnetsIdx', - 'Get-PveClusterSdnVnetsSubnets', 'Get-PveClusterSdnVnetsSubnetsIdx', - 'Get-PveClusterSdnZones', 'Get-PveClusterSdnZonesIdx', - 'Get-PveClusterStatus', 'Get-PveClusterTasks', 'Get-PveNode', - 'Get-PveNodes', 'Get-PveNodesAplinfo', 'Get-PveNodesApt', - 'Get-PveNodesAptChangelog', 'Get-PveNodesAptRepositories', - 'Get-PveNodesAptUpdate', 'Get-PveNodesAptVersions', - 'Get-PveNodesCapabilities', 'Get-PveNodesCapabilitiesQemu', - 'Get-PveNodesCapabilitiesQemuCpu', - 'Get-PveNodesCapabilitiesQemuMachines', 'Get-PveNodesCeph', - 'Get-PveNodesCephCfg', 'Get-PveNodesCephCfgDb', - 'Get-PveNodesCephCfgRaw', 'Get-PveNodesCephCmdSafety', - 'Get-PveNodesCephCrush', 'Get-PveNodesCephFs', 'Get-PveNodesCephLog', - 'Get-PveNodesCephMds', 'Get-PveNodesCephMgr', 'Get-PveNodesCephMon', - 'Get-PveNodesCephOsd', 'Get-PveNodesCephOsdIdx', - 'Get-PveNodesCephOsdLvInfo', 'Get-PveNodesCephOsdMetadata', - 'Get-PveNodesCephPool', 'Get-PveNodesCephPoolIdx', - 'Get-PveNodesCephPoolStatus', 'Get-PveNodesCephRules', - 'Get-PveNodesCephStatus', 'Get-PveNodesCertificates', - 'Get-PveNodesCertificatesAcme', 'Get-PveNodesCertificatesInfo', - 'Get-PveNodesConfig', 'Get-PveNodesDisks', - 'Get-PveNodesDisksDirectory', 'Get-PveNodesDisksList', - 'Get-PveNodesDisksLvm', 'Get-PveNodesDisksLvmthin', - 'Get-PveNodesDisksSmart', 'Get-PveNodesDisksZfs', - 'Get-PveNodesDisksZfsIdx', 'Get-PveNodesDns', 'Get-PveNodesFirewall', - 'Get-PveNodesFirewallLog', 'Get-PveNodesFirewallOptions', - 'Get-PveNodesFirewallRules', 'Get-PveNodesFirewallRulesIdx', - 'Get-PveNodesHardware', 'Get-PveNodesHardwarePci', - 'Get-PveNodesHardwarePciIdx', 'Get-PveNodesHardwarePciMdev', - 'Get-PveNodesHardwareUsb', 'Get-PveNodesHosts', 'Get-PveNodesIdx', - 'Get-PveNodesJournal', 'Get-PveNodesLxc', 'Get-PveNodesLxcConfig', - 'Get-PveNodesLxcFeature', 'Get-PveNodesLxcFirewall', - 'Get-PveNodesLxcFirewallAliases', - 'Get-PveNodesLxcFirewallAliasesIdx', 'Get-PveNodesLxcFirewallIpset', - 'Get-PveNodesLxcFirewallIpsetIdx', 'Get-PveNodesLxcFirewallLog', - 'Get-PveNodesLxcFirewallOptions', 'Get-PveNodesLxcFirewallRefs', - 'Get-PveNodesLxcFirewallRules', 'Get-PveNodesLxcFirewallRulesIdx', - 'Get-PveNodesLxcIdx', 'Get-PveNodesLxcMtunnelwebsocket', - 'Get-PveNodesLxcPending', 'Get-PveNodesLxcRrd', - 'Get-PveNodesLxcRrddata', 'Get-PveNodesLxcSnapshot', - 'Get-PveNodesLxcSnapshotConfig', 'Get-PveNodesLxcSnapshotIdx', - 'Get-PveNodesLxcStatus', 'Get-PveNodesLxcStatusCurrent', - 'Get-PveNodesLxcVncwebsocket', 'Get-PveNodesNetstat', - 'Get-PveNodesNetwork', 'Get-PveNodesNetworkIdx', 'Get-PveNodesQemu', - 'Get-PveNodesQemuAgent', 'Get-PveNodesQemuAgentExecStatus', - 'Get-PveNodesQemuAgentFileRead', 'Get-PveNodesQemuAgentGetFsinfo', - 'Get-PveNodesQemuAgentGetHostName', - 'Get-PveNodesQemuAgentGetMemoryBlockInfo', - 'Get-PveNodesQemuAgentGetMemoryBlocks', - 'Get-PveNodesQemuAgentGetOsinfo', 'Get-PveNodesQemuAgentGetTime', - 'Get-PveNodesQemuAgentGetTimezone', 'Get-PveNodesQemuAgentGetUsers', - 'Get-PveNodesQemuAgentGetVcpus', 'Get-PveNodesQemuAgentInfo', - 'Get-PveNodesQemuAgentNetworkGetInterfaces', - 'Get-PveNodesQemuCloudinit', 'Get-PveNodesQemuCloudinitDump', - 'Get-PveNodesQemuConfig', 'Get-PveNodesQemuFeature', - 'Get-PveNodesQemuFirewall', 'Get-PveNodesQemuFirewallAliases', - 'Get-PveNodesQemuFirewallAliasesIdx', - 'Get-PveNodesQemuFirewallIpset', 'Get-PveNodesQemuFirewallIpsetIdx', - 'Get-PveNodesQemuFirewallLog', 'Get-PveNodesQemuFirewallOptions', - 'Get-PveNodesQemuFirewallRefs', 'Get-PveNodesQemuFirewallRules', - 'Get-PveNodesQemuFirewallRulesIdx', 'Get-PveNodesQemuIdx', - 'Get-PveNodesQemuMigrate', 'Get-PveNodesQemuMtunnelwebsocket', - 'Get-PveNodesQemuPending', 'Get-PveNodesQemuRrd', - 'Get-PveNodesQemuRrddata', 'Get-PveNodesQemuSnapshot', - 'Get-PveNodesQemuSnapshotConfig', 'Get-PveNodesQemuSnapshotIdx', - 'Get-PveNodesQemuStatus', 'Get-PveNodesQemuStatusCurrent', - 'Get-PveNodesQemuVncwebsocket', 'Get-PveNodesQueryUrlMetadata', - 'Get-PveNodesReplication', 'Get-PveNodesReplicationIdx', - 'Get-PveNodesReplicationLog', 'Get-PveNodesReplicationStatus', - 'Get-PveNodesReport', 'Get-PveNodesRrd', 'Get-PveNodesRrddata', - 'Get-PveNodesScan', 'Get-PveNodesScanCifs', - 'Get-PveNodesScanGlusterfs', 'Get-PveNodesScanIscsi', - 'Get-PveNodesScanLvm', 'Get-PveNodesScanLvmthin', - 'Get-PveNodesScanNfs', 'Get-PveNodesScanPbs', 'Get-PveNodesScanZfs', - 'Get-PveNodesSdn', 'Get-PveNodesSdnZones', - 'Get-PveNodesSdnZonesContent', 'Get-PveNodesSdnZonesIdx', - 'Get-PveNodesServices', 'Get-PveNodesServicesIdx', - 'Get-PveNodesServicesState', 'Get-PveNodesStatus', - 'Get-PveNodesStorage', 'Get-PveNodesStorageContent', - 'Get-PveNodesStorageContentIdx', 'Get-PveNodesStorageIdx', - 'Get-PveNodesStoragePrunebackups', 'Get-PveNodesStorageRrd', - 'Get-PveNodesStorageRrddata', 'Get-PveNodesStorageStatus', - 'Get-PveNodesSubscription', 'Get-PveNodesSyslog', 'Get-PveNodesTasks', - 'Get-PveNodesTasksIdx', 'Get-PveNodesTasksLog', - 'Get-PveNodesTasksStatus', 'Get-PveNodesTime', 'Get-PveNodesVersion', - 'Get-PveNodesVncwebsocket', 'Get-PveNodesVzdumpDefaults', - 'Get-PveNodesVzdumpExtractconfig', 'Get-PvePools', 'Get-PvePoolsIdx', - 'Get-PveStorage', 'Get-PveStorageIdx', 'Get-PveTaskIsRunning', - 'Get-PveVersion', 'Get-PveVm', 'Get-PveVmSnapshot', 'Invoke-PveRestApi', - 'New-PveAccessDomains', 'New-PveAccessDomainsSync', - 'New-PveAccessGroups', 'New-PveAccessOpenidAuthUrl', - 'New-PveAccessOpenidLogin', 'New-PveAccessRoles', 'New-PveAccessTfa', - 'New-PveAccessTicket', 'New-PveAccessUsers', - 'New-PveAccessUsersToken', 'New-PveClusterAcmeAccount', - 'New-PveClusterAcmePlugins', 'New-PveClusterBackup', - 'New-PveClusterConfig', 'New-PveClusterConfigJoin', - 'New-PveClusterConfigNodes', 'New-PveClusterFirewallAliases', - 'New-PveClusterFirewallGroups', 'New-PveClusterFirewallGroupsIdx', - 'New-PveClusterFirewallIpset', 'New-PveClusterFirewallIpsetIdx', - 'New-PveClusterFirewallRules', 'New-PveClusterHaGroups', - 'New-PveClusterHaResources', 'New-PveClusterHaResourcesMigrate', - 'New-PveClusterHaResourcesRelocate', 'New-PveClusterJobsRealmSync', - 'New-PveClusterMappingPci', 'New-PveClusterMappingUsb', - 'New-PveClusterMetricsServer', 'New-PveClusterReplication', - 'New-PveClusterSdnControllers', 'New-PveClusterSdnDns', - 'New-PveClusterSdnIpams', 'New-PveClusterSdnVnets', - 'New-PveClusterSdnVnetsSubnets', 'New-PveClusterSdnZones', - 'New-PveNodesAplinfo', 'New-PveNodesAptRepositories', - 'New-PveNodesAptUpdate', 'New-PveNodesCephFs', 'New-PveNodesCephInit', - 'New-PveNodesCephMds', 'New-PveNodesCephMgr', 'New-PveNodesCephMon', - 'New-PveNodesCephOsd', 'New-PveNodesCephOsdIn', - 'New-PveNodesCephOsdOut', 'New-PveNodesCephOsdScrub', - 'New-PveNodesCephPool', 'New-PveNodesCephRestart', - 'New-PveNodesCephStart', 'New-PveNodesCephStop', - 'New-PveNodesCertificatesAcmeCertificate', - 'New-PveNodesCertificatesCustom', 'New-PveNodesDisksDirectory', - 'New-PveNodesDisksInitgpt', 'New-PveNodesDisksLvm', - 'New-PveNodesDisksLvmthin', 'New-PveNodesDisksZfs', - 'New-PveNodesExecute', 'New-PveNodesFirewallRules', - 'New-PveNodesHosts', 'New-PveNodesLxc', 'New-PveNodesLxcClone', - 'New-PveNodesLxcFirewallAliases', 'New-PveNodesLxcFirewallIpset', - 'New-PveNodesLxcFirewallIpsetIdx', 'New-PveNodesLxcFirewallRules', - 'New-PveNodesLxcMigrate', 'New-PveNodesLxcMoveVolume', - 'New-PveNodesLxcMtunnel', 'New-PveNodesLxcRemoteMigrate', - 'New-PveNodesLxcSnapshot', 'New-PveNodesLxcSnapshotRollback', - 'New-PveNodesLxcSpiceproxy', 'New-PveNodesLxcStatusReboot', - 'New-PveNodesLxcStatusResume', 'New-PveNodesLxcStatusShutdown', - 'New-PveNodesLxcStatusStart', 'New-PveNodesLxcStatusStop', - 'New-PveNodesLxcStatusSuspend', 'New-PveNodesLxcTemplate', - 'New-PveNodesLxcTermproxy', 'New-PveNodesLxcVncproxy', - 'New-PveNodesMigrateall', 'New-PveNodesNetwork', 'New-PveNodesQemu', - 'New-PveNodesQemuAgent', 'New-PveNodesQemuAgentExec', - 'New-PveNodesQemuAgentFileWrite', - 'New-PveNodesQemuAgentFsfreezeFreeze', - 'New-PveNodesQemuAgentFsfreezeStatus', - 'New-PveNodesQemuAgentFsfreezeThaw', 'New-PveNodesQemuAgentFstrim', - 'New-PveNodesQemuAgentPing', 'New-PveNodesQemuAgentSetUserPassword', - 'New-PveNodesQemuAgentShutdown', 'New-PveNodesQemuAgentSuspendDisk', - 'New-PveNodesQemuAgentSuspendHybrid', - 'New-PveNodesQemuAgentSuspendRam', 'New-PveNodesQemuClone', - 'New-PveNodesQemuConfig', 'New-PveNodesQemuFirewallAliases', - 'New-PveNodesQemuFirewallIpset', 'New-PveNodesQemuFirewallIpsetIdx', - 'New-PveNodesQemuFirewallRules', 'New-PveNodesQemuMigrate', - 'New-PveNodesQemuMonitor', 'New-PveNodesQemuMoveDisk', - 'New-PveNodesQemuMtunnel', 'New-PveNodesQemuRemoteMigrate', - 'New-PveNodesQemuSnapshot', 'New-PveNodesQemuSnapshotRollback', - 'New-PveNodesQemuSpiceproxy', 'New-PveNodesQemuStatusReboot', - 'New-PveNodesQemuStatusReset', 'New-PveNodesQemuStatusResume', - 'New-PveNodesQemuStatusShutdown', 'New-PveNodesQemuStatusStart', - 'New-PveNodesQemuStatusStop', 'New-PveNodesQemuStatusSuspend', - 'New-PveNodesQemuTemplate', 'New-PveNodesQemuTermproxy', - 'New-PveNodesQemuVncproxy', 'New-PveNodesReplicationScheduleNow', - 'New-PveNodesServicesReload', 'New-PveNodesServicesRestart', - 'New-PveNodesServicesStart', 'New-PveNodesServicesStop', - 'New-PveNodesSpiceshell', 'New-PveNodesStartall', - 'New-PveNodesStatus', 'New-PveNodesStopall', - 'New-PveNodesStorageContent', 'New-PveNodesStorageContentIdx', - 'New-PveNodesStorageDownloadUrl', 'New-PveNodesStorageUpload', - 'New-PveNodesSubscription', 'New-PveNodesTermproxy', - 'New-PveNodesVncshell', 'New-PveNodesVzdump', 'New-PveNodesWakeonlan', - 'New-PvePools', 'New-PveStorage', 'New-PveVmSnapshot', - 'Remove-PveAccessDomains', 'Remove-PveAccessGroups', - 'Remove-PveAccessRoles', 'Remove-PveAccessTfa', - 'Remove-PveAccessUsers', 'Remove-PveAccessUsersToken', - 'Remove-PveClusterAcmeAccount', 'Remove-PveClusterAcmePlugins', - 'Remove-PveClusterBackup', 'Remove-PveClusterConfigNodes', - 'Remove-PveClusterFirewallAliases', - 'Remove-PveClusterFirewallGroups', - 'Remove-PveClusterFirewallGroupsIdx', - 'Remove-PveClusterFirewallIpset', - 'Remove-PveClusterFirewallIpsetIdx', - 'Remove-PveClusterFirewallRules', 'Remove-PveClusterHaGroups', - 'Remove-PveClusterHaResources', 'Remove-PveClusterJobsRealmSync', - 'Remove-PveClusterMappingPci', 'Remove-PveClusterMappingUsb', - 'Remove-PveClusterMetricsServer', 'Remove-PveClusterReplication', - 'Remove-PveClusterSdnControllers', 'Remove-PveClusterSdnDns', - 'Remove-PveClusterSdnIpams', 'Remove-PveClusterSdnVnets', - 'Remove-PveClusterSdnVnetsSubnets', 'Remove-PveClusterSdnZones', - 'Remove-PveNodesCephMds', 'Remove-PveNodesCephMgr', - 'Remove-PveNodesCephMon', 'Remove-PveNodesCephOsd', - 'Remove-PveNodesCephPool', - 'Remove-PveNodesCertificatesAcmeCertificate', - 'Remove-PveNodesCertificatesCustom', - 'Remove-PveNodesDisksDirectory', 'Remove-PveNodesDisksLvm', - 'Remove-PveNodesDisksLvmthin', 'Remove-PveNodesDisksZfs', - 'Remove-PveNodesFirewallRules', 'Remove-PveNodesLxc', - 'Remove-PveNodesLxcFirewallAliases', - 'Remove-PveNodesLxcFirewallIpset', - 'Remove-PveNodesLxcFirewallIpsetIdx', - 'Remove-PveNodesLxcFirewallRules', 'Remove-PveNodesLxcSnapshot', - 'Remove-PveNodesNetwork', 'Remove-PveNodesNetworkIdx', - 'Remove-PveNodesQemu', 'Remove-PveNodesQemuFirewallAliases', - 'Remove-PveNodesQemuFirewallIpset', - 'Remove-PveNodesQemuFirewallIpsetIdx', - 'Remove-PveNodesQemuFirewallRules', 'Remove-PveNodesQemuSnapshot', - 'Remove-PveNodesStorageContent', - 'Remove-PveNodesStoragePrunebackups', 'Remove-PveNodesSubscription', - 'Remove-PveNodesTasks', 'Remove-PvePools', 'Remove-PveStorage', - 'Remove-PveVmSnapshot', 'Reset-PveVm', 'Resume-PveVm', - 'Set-PveAccessAcl', 'Set-PveAccessDomains', 'Set-PveAccessGroups', - 'Set-PveAccessPassword', 'Set-PveAccessRoles', 'Set-PveAccessTfa', - 'Set-PveAccessUsers', 'Set-PveAccessUsersToken', - 'Set-PveAccessUsersUnlockTfa', 'Set-PveClusterAcmeAccount', - 'Set-PveClusterAcmePlugins', 'Set-PveClusterBackup', - 'Set-PveClusterCephFlags', 'Set-PveClusterCephFlagsIdx', - 'Set-PveClusterFirewallAliases', 'Set-PveClusterFirewallGroups', - 'Set-PveClusterFirewallIpset', 'Set-PveClusterFirewallOptions', - 'Set-PveClusterFirewallRules', 'Set-PveClusterHaGroups', - 'Set-PveClusterHaResources', 'Set-PveClusterJobsRealmSync', - 'Set-PveClusterMappingPci', 'Set-PveClusterMappingUsb', - 'Set-PveClusterMetricsServer', 'Set-PveClusterOptions', - 'Set-PveClusterReplication', 'Set-PveClusterSdn', - 'Set-PveClusterSdnControllers', 'Set-PveClusterSdnDns', - 'Set-PveClusterSdnIpams', 'Set-PveClusterSdnVnets', - 'Set-PveClusterSdnVnetsSubnets', 'Set-PveClusterSdnZones', - 'Set-PveNodesAptRepositories', 'Set-PveNodesCephPool', - 'Set-PveNodesCertificatesAcmeCertificate', 'Set-PveNodesConfig', - 'Set-PveNodesDisksWipedisk', 'Set-PveNodesDns', - 'Set-PveNodesFirewallOptions', 'Set-PveNodesFirewallRules', - 'Set-PveNodesLxcConfig', 'Set-PveNodesLxcFirewallAliases', - 'Set-PveNodesLxcFirewallIpset', 'Set-PveNodesLxcFirewallOptions', - 'Set-PveNodesLxcFirewallRules', 'Set-PveNodesLxcResize', - 'Set-PveNodesLxcSnapshotConfig', 'Set-PveNodesNetwork', - 'Set-PveNodesNetworkIdx', 'Set-PveNodesQemuCloudinit', - 'Set-PveNodesQemuConfig', 'Set-PveNodesQemuFirewallAliases', - 'Set-PveNodesQemuFirewallIpset', 'Set-PveNodesQemuFirewallOptions', - 'Set-PveNodesQemuFirewallRules', 'Set-PveNodesQemuResize', - 'Set-PveNodesQemuSendkey', 'Set-PveNodesQemuSnapshotConfig', - 'Set-PveNodesQemuUnlink', 'Set-PveNodesStorageContent', - 'Set-PveNodesSubscription', 'Set-PveNodesTime', 'Set-PvePools', - 'Set-PveStorage', 'Start-PveVm', 'Stop-PveVm', 'Suspend-PveVm', - 'Undo-PveVmSnapshot', 'Unlock-PveVm', 'VmCheckIdOrName', +FunctionsToExport = 'Build-PveDocumentation', 'Connect-PveCluster', + 'ConvertFrom-PveUnixTime', 'ConvertTo-PveUnixTime', 'Enter-PveSpice', + 'Get-PveAccess', 'Get-PveAccessAcl', 'Get-PveAccessDomains', + 'Get-PveAccessDomainsIdx', 'Get-PveAccessGroups', + 'Get-PveAccessGroupsIdx', 'Get-PveAccessOpenid', + 'Get-PveAccessPermissions', 'Get-PveAccessRoles', + 'Get-PveAccessRolesIdx', 'Get-PveAccessTfa', 'Get-PveAccessTfaIdx', + 'Get-PveAccessTicket', 'Get-PveAccessUsers', 'Get-PveAccessUsersIdx', + 'Get-PveAccessUsersTfa', 'Get-PveAccessUsersToken', + 'Get-PveAccessUsersTokenIdx', 'Get-PveCluster', 'Get-PveClusterAcme', + 'Get-PveClusterAcmeAccount', 'Get-PveClusterAcmeAccountIdx', + 'Get-PveClusterAcmeChallengeSchema', + 'Get-PveClusterAcmeDirectories', 'Get-PveClusterAcmePlugins', + 'Get-PveClusterAcmePluginsIdx', 'Get-PveClusterAcmeTos', + 'Get-PveClusterBackup', 'Get-PveClusterBackupIdx', + 'Get-PveClusterBackupIncludedVolumes', 'Get-PveClusterBackupInfo', + 'Get-PveClusterBackupInfoNotBackedUp', 'Get-PveClusterCeph', + 'Get-PveClusterCephFlags', 'Get-PveClusterCephFlagsIdx', + 'Get-PveClusterCephMetadata', 'Get-PveClusterCephStatus', + 'Get-PveClusterConfig', 'Get-PveClusterConfigApiversion', + 'Get-PveClusterConfigJoin', 'Get-PveClusterConfigNodes', + 'Get-PveClusterConfigQdevice', 'Get-PveClusterConfigTotem', + 'Get-PveClusterFirewall', 'Get-PveClusterFirewallAliases', + 'Get-PveClusterFirewallAliasesIdx', 'Get-PveClusterFirewallGroups', + 'Get-PveClusterFirewallGroupsIdx', 'Get-PveClusterFirewallIpset', + 'Get-PveClusterFirewallIpsetIdx', 'Get-PveClusterFirewallMacros', + 'Get-PveClusterFirewallOptions', 'Get-PveClusterFirewallRefs', + 'Get-PveClusterFirewallRules', 'Get-PveClusterFirewallRulesIdx', + 'Get-PveClusterHa', 'Get-PveClusterHaGroups', + 'Get-PveClusterHaGroupsIdx', 'Get-PveClusterHaResources', + 'Get-PveClusterHaResourcesIdx', 'Get-PveClusterHaStatus', + 'Get-PveClusterHaStatusCurrent', + 'Get-PveClusterHaStatusManagerStatus', 'Get-PveClusterJobs', + 'Get-PveClusterJobsRealmSync', 'Get-PveClusterJobsRealmSyncIdx', + 'Get-PveClusterJobsScheduleAnalyze', 'Get-PveClusterLog', + 'Get-PveClusterMapping', 'Get-PveClusterMappingPci', + 'Get-PveClusterMappingPciIdx', 'Get-PveClusterMappingUsb', + 'Get-PveClusterMappingUsbIdx', 'Get-PveClusterMetrics', + 'Get-PveClusterMetricsServer', 'Get-PveClusterMetricsServerIdx', + 'Get-PveClusterNextid', 'Get-PveClusterOptions', + 'Get-PveClusterReplication', 'Get-PveClusterReplicationIdx', + 'Get-PveClusterResources', 'Get-PveClusterSdn', + 'Get-PveClusterSdnControllers', 'Get-PveClusterSdnControllersIdx', + 'Get-PveClusterSdnDns', 'Get-PveClusterSdnDnsIdx', + 'Get-PveClusterSdnIpams', 'Get-PveClusterSdnIpamsIdx', + 'Get-PveClusterSdnVnets', 'Get-PveClusterSdnVnetsIdx', + 'Get-PveClusterSdnVnetsSubnets', 'Get-PveClusterSdnVnetsSubnetsIdx', + 'Get-PveClusterSdnZones', 'Get-PveClusterSdnZonesIdx', + 'Get-PveClusterStatus', 'Get-PveClusterTasks', 'Get-PveNode', + 'Get-PveNodes', 'Get-PveNodesAplinfo', 'Get-PveNodesApt', + 'Get-PveNodesAptChangelog', 'Get-PveNodesAptRepositories', + 'Get-PveNodesAptUpdate', 'Get-PveNodesAptVersions', + 'Get-PveNodesCapabilities', 'Get-PveNodesCapabilitiesQemu', + 'Get-PveNodesCapabilitiesQemuCpu', + 'Get-PveNodesCapabilitiesQemuMachines', 'Get-PveNodesCeph', + 'Get-PveNodesCephCfg', 'Get-PveNodesCephCfgDb', + 'Get-PveNodesCephCfgRaw', 'Get-PveNodesCephCmdSafety', + 'Get-PveNodesCephCrush', 'Get-PveNodesCephFs', 'Get-PveNodesCephLog', + 'Get-PveNodesCephMds', 'Get-PveNodesCephMgr', 'Get-PveNodesCephMon', + 'Get-PveNodesCephOsd', 'Get-PveNodesCephOsdIdx', + 'Get-PveNodesCephOsdLvInfo', 'Get-PveNodesCephOsdMetadata', + 'Get-PveNodesCephPool', 'Get-PveNodesCephPoolIdx', + 'Get-PveNodesCephPoolStatus', 'Get-PveNodesCephRules', + 'Get-PveNodesCephStatus', 'Get-PveNodesCertificates', + 'Get-PveNodesCertificatesAcme', 'Get-PveNodesCertificatesInfo', + 'Get-PveNodesConfig', 'Get-PveNodesDisks', + 'Get-PveNodesDisksDirectory', 'Get-PveNodesDisksList', + 'Get-PveNodesDisksLvm', 'Get-PveNodesDisksLvmthin', + 'Get-PveNodesDisksSmart', 'Get-PveNodesDisksZfs', + 'Get-PveNodesDisksZfsIdx', 'Get-PveNodesDns', 'Get-PveNodesFirewall', + 'Get-PveNodesFirewallLog', 'Get-PveNodesFirewallOptions', + 'Get-PveNodesFirewallRules', 'Get-PveNodesFirewallRulesIdx', + 'Get-PveNodesHardware', 'Get-PveNodesHardwarePci', + 'Get-PveNodesHardwarePciIdx', 'Get-PveNodesHardwarePciMdev', + 'Get-PveNodesHardwareUsb', 'Get-PveNodesHosts', 'Get-PveNodesIdx', + 'Get-PveNodesJournal', 'Get-PveNodesLxc', 'Get-PveNodesLxcConfig', + 'Get-PveNodesLxcFeature', 'Get-PveNodesLxcFirewall', + 'Get-PveNodesLxcFirewallAliases', + 'Get-PveNodesLxcFirewallAliasesIdx', 'Get-PveNodesLxcFirewallIpset', + 'Get-PveNodesLxcFirewallIpsetIdx', 'Get-PveNodesLxcFirewallLog', + 'Get-PveNodesLxcFirewallOptions', 'Get-PveNodesLxcFirewallRefs', + 'Get-PveNodesLxcFirewallRules', 'Get-PveNodesLxcFirewallRulesIdx', + 'Get-PveNodesLxcIdx', 'Get-PveNodesLxcMtunnelwebsocket', + 'Get-PveNodesLxcPending', 'Get-PveNodesLxcRrd', + 'Get-PveNodesLxcRrddata', 'Get-PveNodesLxcSnapshot', + 'Get-PveNodesLxcSnapshotConfig', 'Get-PveNodesLxcSnapshotIdx', + 'Get-PveNodesLxcStatus', 'Get-PveNodesLxcStatusCurrent', + 'Get-PveNodesLxcVncwebsocket', 'Get-PveNodesNetstat', + 'Get-PveNodesNetwork', 'Get-PveNodesNetworkIdx', 'Get-PveNodesQemu', + 'Get-PveNodesQemuAgent', 'Get-PveNodesQemuAgentExecStatus', + 'Get-PveNodesQemuAgentFileRead', 'Get-PveNodesQemuAgentGetFsinfo', + 'Get-PveNodesQemuAgentGetHostName', + 'Get-PveNodesQemuAgentGetMemoryBlockInfo', + 'Get-PveNodesQemuAgentGetMemoryBlocks', + 'Get-PveNodesQemuAgentGetOsinfo', 'Get-PveNodesQemuAgentGetTime', + 'Get-PveNodesQemuAgentGetTimezone', 'Get-PveNodesQemuAgentGetUsers', + 'Get-PveNodesQemuAgentGetVcpus', 'Get-PveNodesQemuAgentInfo', + 'Get-PveNodesQemuAgentNetworkGetInterfaces', + 'Get-PveNodesQemuCloudinit', 'Get-PveNodesQemuCloudinitDump', + 'Get-PveNodesQemuConfig', 'Get-PveNodesQemuFeature', + 'Get-PveNodesQemuFirewall', 'Get-PveNodesQemuFirewallAliases', + 'Get-PveNodesQemuFirewallAliasesIdx', + 'Get-PveNodesQemuFirewallIpset', 'Get-PveNodesQemuFirewallIpsetIdx', + 'Get-PveNodesQemuFirewallLog', 'Get-PveNodesQemuFirewallOptions', + 'Get-PveNodesQemuFirewallRefs', 'Get-PveNodesQemuFirewallRules', + 'Get-PveNodesQemuFirewallRulesIdx', 'Get-PveNodesQemuIdx', + 'Get-PveNodesQemuMigrate', 'Get-PveNodesQemuMtunnelwebsocket', + 'Get-PveNodesQemuPending', 'Get-PveNodesQemuRrd', + 'Get-PveNodesQemuRrddata', 'Get-PveNodesQemuSnapshot', + 'Get-PveNodesQemuSnapshotConfig', 'Get-PveNodesQemuSnapshotIdx', + 'Get-PveNodesQemuStatus', 'Get-PveNodesQemuStatusCurrent', + 'Get-PveNodesQemuVncwebsocket', 'Get-PveNodesQueryUrlMetadata', + 'Get-PveNodesReplication', 'Get-PveNodesReplicationIdx', + 'Get-PveNodesReplicationLog', 'Get-PveNodesReplicationStatus', + 'Get-PveNodesReport', 'Get-PveNodesRrd', 'Get-PveNodesRrddata', + 'Get-PveNodesScan', 'Get-PveNodesScanCifs', + 'Get-PveNodesScanGlusterfs', 'Get-PveNodesScanIscsi', + 'Get-PveNodesScanLvm', 'Get-PveNodesScanLvmthin', + 'Get-PveNodesScanNfs', 'Get-PveNodesScanPbs', 'Get-PveNodesScanZfs', + 'Get-PveNodesSdn', 'Get-PveNodesSdnZones', + 'Get-PveNodesSdnZonesContent', 'Get-PveNodesSdnZonesIdx', + 'Get-PveNodesServices', 'Get-PveNodesServicesIdx', + 'Get-PveNodesServicesState', 'Get-PveNodesStatus', + 'Get-PveNodesStorage', 'Get-PveNodesStorageContent', + 'Get-PveNodesStorageContentIdx', 'Get-PveNodesStorageIdx', + 'Get-PveNodesStoragePrunebackups', 'Get-PveNodesStorageRrd', + 'Get-PveNodesStorageRrddata', 'Get-PveNodesStorageStatus', + 'Get-PveNodesSubscription', 'Get-PveNodesSyslog', 'Get-PveNodesTasks', + 'Get-PveNodesTasksIdx', 'Get-PveNodesTasksLog', + 'Get-PveNodesTasksStatus', 'Get-PveNodesTime', 'Get-PveNodesVersion', + 'Get-PveNodesVncwebsocket', 'Get-PveNodesVzdumpDefaults', + 'Get-PveNodesVzdumpExtractconfig', 'Get-PvePools', 'Get-PvePoolsIdx', + 'Get-PveStorage', 'Get-PveStorageIdx', 'Get-PveTaskIsRunning', + 'Get-PveVersion', 'Get-PveVm', 'Get-PveVmSnapshot', 'Invoke-PveRestApi', + 'New-PveAccessDomains', 'New-PveAccessDomainsSync', + 'New-PveAccessGroups', 'New-PveAccessOpenidAuthUrl', + 'New-PveAccessOpenidLogin', 'New-PveAccessRoles', 'New-PveAccessTfa', + 'New-PveAccessTicket', 'New-PveAccessUsers', + 'New-PveAccessUsersToken', 'New-PveClusterAcmeAccount', + 'New-PveClusterAcmePlugins', 'New-PveClusterBackup', + 'New-PveClusterConfig', 'New-PveClusterConfigJoin', + 'New-PveClusterConfigNodes', 'New-PveClusterFirewallAliases', + 'New-PveClusterFirewallGroups', 'New-PveClusterFirewallGroupsIdx', + 'New-PveClusterFirewallIpset', 'New-PveClusterFirewallIpsetIdx', + 'New-PveClusterFirewallRules', 'New-PveClusterHaGroups', + 'New-PveClusterHaResources', 'New-PveClusterHaResourcesMigrate', + 'New-PveClusterHaResourcesRelocate', 'New-PveClusterJobsRealmSync', + 'New-PveClusterMappingPci', 'New-PveClusterMappingUsb', + 'New-PveClusterMetricsServer', 'New-PveClusterReplication', + 'New-PveClusterSdnControllers', 'New-PveClusterSdnDns', + 'New-PveClusterSdnIpams', 'New-PveClusterSdnVnets', + 'New-PveClusterSdnVnetsSubnets', 'New-PveClusterSdnZones', + 'New-PveNodesAplinfo', 'New-PveNodesAptRepositories', + 'New-PveNodesAptUpdate', 'New-PveNodesCephFs', 'New-PveNodesCephInit', + 'New-PveNodesCephMds', 'New-PveNodesCephMgr', 'New-PveNodesCephMon', + 'New-PveNodesCephOsd', 'New-PveNodesCephOsdIn', + 'New-PveNodesCephOsdOut', 'New-PveNodesCephOsdScrub', + 'New-PveNodesCephPool', 'New-PveNodesCephRestart', + 'New-PveNodesCephStart', 'New-PveNodesCephStop', + 'New-PveNodesCertificatesAcmeCertificate', + 'New-PveNodesCertificatesCustom', 'New-PveNodesDisksDirectory', + 'New-PveNodesDisksInitgpt', 'New-PveNodesDisksLvm', + 'New-PveNodesDisksLvmthin', 'New-PveNodesDisksZfs', + 'New-PveNodesExecute', 'New-PveNodesFirewallRules', + 'New-PveNodesHosts', 'New-PveNodesLxc', 'New-PveNodesLxcClone', + 'New-PveNodesLxcFirewallAliases', 'New-PveNodesLxcFirewallIpset', + 'New-PveNodesLxcFirewallIpsetIdx', 'New-PveNodesLxcFirewallRules', + 'New-PveNodesLxcMigrate', 'New-PveNodesLxcMoveVolume', + 'New-PveNodesLxcMtunnel', 'New-PveNodesLxcRemoteMigrate', + 'New-PveNodesLxcSnapshot', 'New-PveNodesLxcSnapshotRollback', + 'New-PveNodesLxcSpiceproxy', 'New-PveNodesLxcStatusReboot', + 'New-PveNodesLxcStatusResume', 'New-PveNodesLxcStatusShutdown', + 'New-PveNodesLxcStatusStart', 'New-PveNodesLxcStatusStop', + 'New-PveNodesLxcStatusSuspend', 'New-PveNodesLxcTemplate', + 'New-PveNodesLxcTermproxy', 'New-PveNodesLxcVncproxy', + 'New-PveNodesMigrateall', 'New-PveNodesNetwork', 'New-PveNodesQemu', + 'New-PveNodesQemuAgent', 'New-PveNodesQemuAgentExec', + 'New-PveNodesQemuAgentFileWrite', + 'New-PveNodesQemuAgentFsfreezeFreeze', + 'New-PveNodesQemuAgentFsfreezeStatus', + 'New-PveNodesQemuAgentFsfreezeThaw', 'New-PveNodesQemuAgentFstrim', + 'New-PveNodesQemuAgentPing', 'New-PveNodesQemuAgentSetUserPassword', + 'New-PveNodesQemuAgentShutdown', 'New-PveNodesQemuAgentSuspendDisk', + 'New-PveNodesQemuAgentSuspendHybrid', + 'New-PveNodesQemuAgentSuspendRam', 'New-PveNodesQemuClone', + 'New-PveNodesQemuConfig', 'New-PveNodesQemuFirewallAliases', + 'New-PveNodesQemuFirewallIpset', 'New-PveNodesQemuFirewallIpsetIdx', + 'New-PveNodesQemuFirewallRules', 'New-PveNodesQemuMigrate', + 'New-PveNodesQemuMonitor', 'New-PveNodesQemuMoveDisk', + 'New-PveNodesQemuMtunnel', 'New-PveNodesQemuRemoteMigrate', + 'New-PveNodesQemuSnapshot', 'New-PveNodesQemuSnapshotRollback', + 'New-PveNodesQemuSpiceproxy', 'New-PveNodesQemuStatusReboot', + 'New-PveNodesQemuStatusReset', 'New-PveNodesQemuStatusResume', + 'New-PveNodesQemuStatusShutdown', 'New-PveNodesQemuStatusStart', + 'New-PveNodesQemuStatusStop', 'New-PveNodesQemuStatusSuspend', + 'New-PveNodesQemuTemplate', 'New-PveNodesQemuTermproxy', + 'New-PveNodesQemuVncproxy', 'New-PveNodesReplicationScheduleNow', + 'New-PveNodesServicesReload', 'New-PveNodesServicesRestart', + 'New-PveNodesServicesStart', 'New-PveNodesServicesStop', + 'New-PveNodesSpiceshell', 'New-PveNodesStartall', + 'New-PveNodesStatus', 'New-PveNodesStopall', + 'New-PveNodesStorageContent', 'New-PveNodesStorageContentIdx', + 'New-PveNodesStorageDownloadUrl', 'New-PveNodesStorageUpload', + 'New-PveNodesSubscription', 'New-PveNodesTermproxy', + 'New-PveNodesVncshell', 'New-PveNodesVzdump', 'New-PveNodesWakeonlan', + 'New-PvePools', 'New-PveStorage', 'New-PveVmSnapshot', + 'Remove-PveAccessDomains', 'Remove-PveAccessGroups', + 'Remove-PveAccessRoles', 'Remove-PveAccessTfa', + 'Remove-PveAccessUsers', 'Remove-PveAccessUsersToken', + 'Remove-PveClusterAcmeAccount', 'Remove-PveClusterAcmePlugins', + 'Remove-PveClusterBackup', 'Remove-PveClusterConfigNodes', + 'Remove-PveClusterFirewallAliases', + 'Remove-PveClusterFirewallGroups', + 'Remove-PveClusterFirewallGroupsIdx', + 'Remove-PveClusterFirewallIpset', + 'Remove-PveClusterFirewallIpsetIdx', + 'Remove-PveClusterFirewallRules', 'Remove-PveClusterHaGroups', + 'Remove-PveClusterHaResources', 'Remove-PveClusterJobsRealmSync', + 'Remove-PveClusterMappingPci', 'Remove-PveClusterMappingUsb', + 'Remove-PveClusterMetricsServer', 'Remove-PveClusterReplication', + 'Remove-PveClusterSdnControllers', 'Remove-PveClusterSdnDns', + 'Remove-PveClusterSdnIpams', 'Remove-PveClusterSdnVnets', + 'Remove-PveClusterSdnVnetsSubnets', 'Remove-PveClusterSdnZones', + 'Remove-PveNodesCephMds', 'Remove-PveNodesCephMgr', + 'Remove-PveNodesCephMon', 'Remove-PveNodesCephOsd', + 'Remove-PveNodesCephPool', + 'Remove-PveNodesCertificatesAcmeCertificate', + 'Remove-PveNodesCertificatesCustom', + 'Remove-PveNodesDisksDirectory', 'Remove-PveNodesDisksLvm', + 'Remove-PveNodesDisksLvmthin', 'Remove-PveNodesDisksZfs', + 'Remove-PveNodesFirewallRules', 'Remove-PveNodesLxc', + 'Remove-PveNodesLxcFirewallAliases', + 'Remove-PveNodesLxcFirewallIpset', + 'Remove-PveNodesLxcFirewallIpsetIdx', + 'Remove-PveNodesLxcFirewallRules', 'Remove-PveNodesLxcSnapshot', + 'Remove-PveNodesNetwork', 'Remove-PveNodesNetworkIdx', + 'Remove-PveNodesQemu', 'Remove-PveNodesQemuFirewallAliases', + 'Remove-PveNodesQemuFirewallIpset', + 'Remove-PveNodesQemuFirewallIpsetIdx', + 'Remove-PveNodesQemuFirewallRules', 'Remove-PveNodesQemuSnapshot', + 'Remove-PveNodesStorageContent', + 'Remove-PveNodesStoragePrunebackups', 'Remove-PveNodesSubscription', + 'Remove-PveNodesTasks', 'Remove-PvePools', 'Remove-PveStorage', + 'Remove-PveVmSnapshot', 'Reset-PveVm', 'Resume-PveVm', + 'Set-PveAccessAcl', 'Set-PveAccessDomains', 'Set-PveAccessGroups', + 'Set-PveAccessPassword', 'Set-PveAccessRoles', 'Set-PveAccessTfa', + 'Set-PveAccessUsers', 'Set-PveAccessUsersToken', + 'Set-PveAccessUsersUnlockTfa', 'Set-PveClusterAcmeAccount', + 'Set-PveClusterAcmePlugins', 'Set-PveClusterBackup', + 'Set-PveClusterCephFlags', 'Set-PveClusterCephFlagsIdx', + 'Set-PveClusterFirewallAliases', 'Set-PveClusterFirewallGroups', + 'Set-PveClusterFirewallIpset', 'Set-PveClusterFirewallOptions', + 'Set-PveClusterFirewallRules', 'Set-PveClusterHaGroups', + 'Set-PveClusterHaResources', 'Set-PveClusterJobsRealmSync', + 'Set-PveClusterMappingPci', 'Set-PveClusterMappingUsb', + 'Set-PveClusterMetricsServer', 'Set-PveClusterOptions', + 'Set-PveClusterReplication', 'Set-PveClusterSdn', + 'Set-PveClusterSdnControllers', 'Set-PveClusterSdnDns', + 'Set-PveClusterSdnIpams', 'Set-PveClusterSdnVnets', + 'Set-PveClusterSdnVnetsSubnets', 'Set-PveClusterSdnZones', + 'Set-PveNodesAptRepositories', 'Set-PveNodesCephPool', + 'Set-PveNodesCertificatesAcmeCertificate', 'Set-PveNodesConfig', + 'Set-PveNodesDisksWipedisk', 'Set-PveNodesDns', + 'Set-PveNodesFirewallOptions', 'Set-PveNodesFirewallRules', + 'Set-PveNodesLxcConfig', 'Set-PveNodesLxcFirewallAliases', + 'Set-PveNodesLxcFirewallIpset', 'Set-PveNodesLxcFirewallOptions', + 'Set-PveNodesLxcFirewallRules', 'Set-PveNodesLxcResize', + 'Set-PveNodesLxcSnapshotConfig', 'Set-PveNodesNetwork', + 'Set-PveNodesNetworkIdx', 'Set-PveNodesQemuCloudinit', + 'Set-PveNodesQemuConfig', 'Set-PveNodesQemuFirewallAliases', + 'Set-PveNodesQemuFirewallIpset', 'Set-PveNodesQemuFirewallOptions', + 'Set-PveNodesQemuFirewallRules', 'Set-PveNodesQemuResize', + 'Set-PveNodesQemuSendkey', 'Set-PveNodesQemuSnapshotConfig', + 'Set-PveNodesQemuUnlink', 'Set-PveNodesStorageContent', + 'Set-PveNodesSubscription', 'Set-PveNodesTime', 'Set-PvePools', + 'Set-PveStorage', 'Start-PveVm', 'Stop-PveVm', 'Suspend-PveVm', + 'Undo-PveVmSnapshot', 'Unlock-PveVm', 'VmCheckIdOrName', 'Wait-PveTaskIsFinish' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. @@ -355,10 +355,10 @@ CmdletsToExport = '*' VariablesToExport = '*' # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = 'Backup-PveVzdump', 'Copy-PveLxc', 'Copy-PveQemu', 'Get-PveTasksStatus', - 'Move-PveLxc', 'Move-PveQemu', 'New-PveQemu', 'Reset-PveQemu', - 'Restart-PveLxc', 'Restart-PveQemu', 'Resume-PveLxc', 'Resume-PveQemu', - 'Show-PveSpice', 'Start-PveLxc', 'Start-PveQemu', 'Stop-PveLxc', +AliasesToExport = 'Backup-PveVzdump', 'Copy-PveLxc', 'Copy-PveQemu', 'Get-PveTasksStatus', + 'Move-PveLxc', 'Move-PveQemu', 'New-PveQemu', 'Reset-PveQemu', + 'Restart-PveLxc', 'Restart-PveQemu', 'Resume-PveLxc', 'Resume-PveQemu', + 'Show-PveSpice', 'Start-PveLxc', 'Start-PveQemu', 'Stop-PveLxc', 'Stop-PveQemu', 'Suspend-PveLxc', 'Suspend-PveQemu', 'Update-PveNode' # DSC resources to export from this module diff --git a/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 b/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 index d74fe18..539a8c7 100644 --- a/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 +++ b/Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1 @@ -226,23 +226,28 @@ Return object request $session.cookies.add($cookie) $query = '' - if ($Parameters -and $Parameters.Count -gt 0 -and $('Post', 'Put').IndexOf($restMethod) -eq 0) { - Write-Debug 'Parameters:' - $Parameters.keys | ForEach-Object { Write-Debug "$_ => $($Parameters[$_])" } - #fix switch parameter from bool to 1/0 - $Parameters.keys | ForEach-Object { - if ($Parameters[$_] -is [switch]) { - $Parameters[$_] = $Parameters[$_] ? 1 : 0 - } - } + $parametersTmp = @{} + + if ($Parameters -and $Parameters.Count -gt 0 ) + { + $Parameters.keys | ForEach-Object { + $parametersTmp[$_] =$Parameters[$_] -is [switch] ` + ? $Parameters[$_] ? 1 : 0 ` + : $Parameters[$_] + } + } + + if ($parametersTmp.Count -gt 0 -and $('Post', 'Put').IndexOf($restMethod) -eq 0) { + Write-Debug 'Parameters:' + $parametersTmp.keys | ForEach-Object { Write-Debug "$_ => $($parametersTmp[$_])" } - $query = '?' + (($Parameters.Keys | ForEach-Object { "$_=$($Parameters[$_])" }) -join '&') + $query = '?' + (($parametersTmp.Keys | ForEach-Object { "$_=$($parametersTmp[$_])" }) -join '&') } $response = New-Object PveResponse -Property @{ Method = $restMethod - Parameters = $Parameters + Parameters = $parametersTmp ResponseType = $ResponseType RequestResource = $Resource } @@ -265,8 +270,8 @@ Return object request Write-Debug ($params | Format-List | Out-String) #body parameters - if ($Parameters -and $Parameters.Count -gt 0 -and $('Post', 'Put').IndexOf($restMethod) -ge 0) { - $params['body'] = $Parameters + if ($parametersTmp.Count -gt 0 -and $('Post', 'Put').IndexOf($restMethod) -ge 0) { + $params['body'] = $parametersTmp Write-Debug "Body: $($params.body | Format-Table | Out-String)" }