Update to .NET Standard 2.0 for dual PowerShell 5.1/7+ support

- Updated all project files to version 2025.07.03.1200
- Simplified PSProxmox.Main.csproj to use automatic .cs file inclusion
- Removed redundant System.Management.Automation reference
- Added missing SMBIOS cmdlets to module exports
- Updated release notes for .NET Standard 2.0 compatibility
- Complete compatibility with both Windows PowerShell and PowerShell Core
This commit is contained in:
PSProxmox Team
2025-07-03 07:39:00 -04:00
parent d9bd620168
commit af1713331f
5 changed files with 19 additions and 92 deletions
+8 -3
View File
@@ -1,5 +1,5 @@
@{
ModuleVersion = '2025.05.30.2325'
ModuleVersion = '2025.07.03.1200'
GUID = 'd24f0894-3d0c-4ef1-a41e-b273c3db86ad'
Author = 'PSProxmox Team'
CompanyName = 'PSProxmox'
@@ -29,6 +29,7 @@
'Get-ProxmoxNode',
'Get-ProxmoxVM',
'New-ProxmoxVM',
'New-ProxmoxVMBuilder',
'Remove-ProxmoxVM',
'Start-ProxmoxVM',
'Stop-ProxmoxVM',
@@ -97,7 +98,11 @@
# TurnKey Template Management
'Get-ProxmoxTurnKeyTemplate',
'Save-ProxmoxTurnKeyTemplate',
'New-ProxmoxContainerFromTurnKey'
'New-ProxmoxContainerFromTurnKey',
# VM SMBIOS Management
'Get-ProxmoxVMSMBIOS',
'Set-ProxmoxVMSMBIOS'
)
VariablesToExport = @()
AliasesToExport = @()
@@ -106,7 +111,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 -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'
ReleaseNotes = 'Updated to .NET Standard 2.0 for dual PowerShell 5.1/7+ support. Added missing SMBIOS cmdlets to exports. Complete compatibility with both Windows PowerShell and PowerShell Core. See https://github.com/Grace-Solutions/PSProxmox/releases/tag/v2025.07.03.1200'
}
}
}
BIN
View File
Binary file not shown.
+2 -84
View File
@@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>PSProxmox</AssemblyName>
<RootNamespace>PSProxmox</RootNamespace>
<Version>2025.05.30.2323</Version>
<Version>2025.07.03.1200</Version>
<Authors>PSProxmox Contributors</Authors>
<Company>PSProxmox</Company>
<Description>PowerShell module for managing Proxmox VE clusters</Description>
@@ -23,89 +23,7 @@
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0" />
</ItemGroup>
<PropertyGroup>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<ItemGroup>
<Compile Include="Client\ProxmoxApiClient.cs" />
<Compile Include="Cmdlets\ClearProxmoxIPPoolCmdlet.cs" />
<Compile Include="Cmdlets\ConnectProxmoxServerCmdlet.cs" />
<Compile Include="Cmdlets\DisconnectProxmoxServerCmdlet.cs" />
<Compile Include="Cmdlets\FilteringCmdlet.cs" />
<Compile Include="Cmdlets\ProxmoxCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxClusterBackupCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxClusterCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxIPPoolCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxNetworkCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxNodeCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxRoleCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxSDNVnetCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxSDNZoneCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxStorageCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxUserCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxVMCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxVMTemplateCmdlet.cs" />
<Compile Include="Cmdlets\GetProxmoxCloudImageCmdlet.cs" />
<Compile Include="Cmdlets\InvokeProxmoxCloudImageCustomizationCmdlet.cs" />
<Compile Include="Cmdlets\JoinProxmoxClusterCmdlet.cs" />
<Compile Include="Cmdlets\LeaveProxmoxClusterCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxClusterBackupCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxIPPoolCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxNetworkCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxRoleCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxSDNVnetCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxSDNZoneCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxStorageCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxUserCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxVMBuilderCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxVMCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxVMFromTemplateCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxVMTemplateCmdlet.cs" />
<Compile Include="Cmdlets\NewProxmoxCloudImageTemplateCmdlet.cs" />
<Compile Include="Cmdlets\SaveProxmoxCloudImageCmdlet.cs" />
<Compile Include="Cmdlets\SetProxmoxVMCloudInitCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxNetworkCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxRoleCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxSDNVnetCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxSDNZoneCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxStorageCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxUserCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxVMCmdlet.cs" />
<Compile Include="Cmdlets\RemoveProxmoxVMTemplateCmdlet.cs" />
<Compile Include="Cmdlets\RestartProxmoxVMCmdlet.cs" />
<Compile Include="Cmdlets\RestoreProxmoxClusterBackupCmdlet.cs" />
<Compile Include="Cmdlets\StartProxmoxVMCmdlet.cs" />
<Compile Include="Cmdlets\StopProxmoxVMCmdlet.cs" />
<Compile Include="Cmdlets\TestProxmoxConnectionCmdlet.cs" />
<Compile Include="CloudImages\CloudImageRepository.cs" />
<Compile Include="CloudImages\CloudImageDownloader.cs" />
<Compile Include="CloudImages\CloudImageCustomizer.cs" />
<Compile Include="IPAM\IPAMManager.cs" />
<Compile Include="Models\ProxmoxCluster.cs" />
<Compile Include="Models\ProxmoxClusterBackup.cs" />
<Compile Include="Models\ProxmoxConnectionInfo.cs" />
<Compile Include="Models\ProxmoxIPPool.cs" />
<Compile Include="Models\ProxmoxNetwork.cs" />
<Compile Include="Models\ProxmoxNode.cs" />
<Compile Include="Models\ProxmoxRole.cs" />
<Compile Include="Models\ProxmoxResponse.cs" />
<Compile Include="Models\ProxmoxSDNVnet.cs" />
<Compile Include="Models\ProxmoxSDNZone.cs" />
<Compile Include="Models\ProxmoxStorage.cs" />
<Compile Include="Models\ProxmoxTicket.cs" />
<Compile Include="Models\ProxmoxUser.cs" />
<Compile Include="Models\ProxmoxVM.cs" />
<Compile Include="Models\ProxmoxVMBuilder.cs" />
<Compile Include="Models\ProxmoxVMGuestAgent.cs" />
<Compile Include="Models\ProxmoxVMSMBIOS.cs" />
<Compile Include="Models\ProxmoxVMSMBIOSProfile.cs" />
<Compile Include="Models\ProxmoxVMTemplate.cs" />
<Compile Include="Session\ProxmoxConnection.cs" />
<Compile Include="Session\ProxmoxSession.cs" />
<Compile Include="Templates\TemplateManager.cs" />
<Compile Include="Utilities\JsonUtility.cs" />
</ItemGroup>
<!-- All .cs files are automatically included by default in .NET SDK projects -->
+1 -2
View File
@@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>PSProxmox</AssemblyName>
<RootNamespace>PSProxmox</RootNamespace>
<Version>2025.05.30.2323</Version>
<Version>2025.07.03.1200</Version>
<Authors>PSProxmox Team</Authors>
<Description>PowerShell module for managing Proxmox VE clusters</Description>
<Copyright>Copyright © 2023</Copyright>
@@ -13,7 +13,6 @@
<ItemGroup>
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0" />
<PackageReference Include="System.Management.Automation" Version="6.1.7601.17514" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
+8 -3
View File
@@ -1,5 +1,5 @@
@{
ModuleVersion = '2025.05.11.1030'
ModuleVersion = '2025.07.03.1200'
GUID = 'd24f0894-3d0c-4ef1-a41e-b273c3db86ad'
Author = 'PSProxmox Team'
CompanyName = 'PSProxmox'
@@ -29,6 +29,7 @@
'Get-ProxmoxNode',
'Get-ProxmoxVM',
'New-ProxmoxVM',
'New-ProxmoxVMBuilder',
'Remove-ProxmoxVM',
'Start-ProxmoxVM',
'Stop-ProxmoxVM',
@@ -97,7 +98,11 @@
# TurnKey Template Management
'Get-ProxmoxTurnKeyTemplate',
'Save-ProxmoxTurnKeyTemplate',
'New-ProxmoxContainerFromTurnKey'
'New-ProxmoxContainerFromTurnKey',
# VM SMBIOS Management
'Get-ProxmoxVMSMBIOS',
'Set-ProxmoxVMSMBIOS'
)
VariablesToExport = @()
AliasesToExport = @()
@@ -106,7 +111,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 LXC container and TurnKey template support. Fixed cloud image functionality and added pipeline support. See https://github.com/Grace-Solutions/PSProxmox/releases/tag/v2025.05.11.1030'
ReleaseNotes = 'Updated to .NET Standard 2.0 for dual PowerShell 5.1/7+ support. Added missing SMBIOS cmdlets to exports. Complete compatibility with both Windows PowerShell and PowerShell Core. See https://github.com/Grace-Solutions/PSProxmox/releases/tag/v2025.07.03.1200'
}
}
}