Getting a Return Code 20001, Error Description: PowerShell is not installed.

Microsoft has announced the removal of PowerShell 2.0 in later releases of Windows 11 and Windows Server 2025, starting in August 2025 and September 2025, respectively. So, PowerShell 2.0 may no longer be available on those newer versions.
Status:
There is a hotfix available for download. Please read the following articles related to the hotfix.
KACE System Deployment Appliance hotfix - 9.3.311 (4381330)
Microsoft 2011 Secure Boot Certificate Expiration (4381222)
Note:
* PowerShel 2.0 is being removed as part of the operating system updates for newer versions of Windows.
* This is not done through a specific, standalone update but is integrated into major feature updates for Windows 11 (version 24H2, starting with the August 2025 updates) and Windows Server 2025 (starting with the September 2025 updates).
* Future versions of these operating systems will no longer include PowerShell 2.0.