a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

fixing-windows-only-modules

Handle Windows PowerShell-only modules (ActiveDirectory, ServerManager, Hyper-V, FailoverClusters, BitLocker, NetSecurity, Dism, Storage, ScheduledTasks, WebAdministration) that are not natively available in PowerShell 7.x, using Import-Module -UseWindowsPowerShell (the WinPS compatibility layer) or implicit remoting. Use during the…

Full publisher description

Handle Windows PowerShell-only modules (ActiveDirectory, ServerManager, Hyper-V, FailoverClusters, BitLocker, NetSecurity, Dism, Storage, ScheduledTasks, WebAdministration) that are not natively available in PowerShell 7.x, using Import-Module -UseWindowsPowerShell (the WinPS compatibility layer) or implicit remoting. Use during the powershell-51-to-7-upgrade scenario for the Windows-only-module bucket.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

microsoft/upgrade-agent-plugins

plugins/upgrade-agent/upgrade/dotnet/skills/lazy/pwsh/fixing-windows-only-modules/SKILL.md

Pinned revision cede9dcfbc09a06f0e63652e64fc7545ce5fe1df

Source checked

Reviewed licence: LicenseRef-Microsoft-Copilot-Modernization-Preview
Repository default at the reviewed revision: Visual Studio development/testing only; preview expiry, confidentiality and no-sharing/distribution restrictions apply. Copilot access has separate terms.

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.