You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.
there will be Microsoft.PowerShell.Management.WinModule module
Get-Module Microsoft.PowerShell.Management*
ModuleType Version Name ExportedCommands
-------------------------------------
Manifest 6.1.0.0 Microsoft.PowerShell.Management {Add-Content,Clear-Content,Clear-Item,Clear-ItemProperty...}
Script 1.0 Microsoft.PowerShell.Management.WinModule {Add-Computer,Add-Content,Checkpoint-Computer,Clear-Content...}
but if we call Import-WinModule Microsoft.PowerShell.Management again, the Microsoft.PowerShell.Management.WinModule will be renamed to Microsoft.PowerShell.Management.WinModule.WinModule
When we call, for example
Import-WinModule Microsoft.PowerShell.Management
there will be Microsoft.PowerShell.Management.WinModule module
but if we call
Import-WinModule Microsoft.PowerShell.Management
again, the Microsoft.PowerShell.Management.WinModule will be renamed to Microsoft.PowerShell.Management.WinModule.WinModuleand so on.
So now, each execution of the
Import-WinModule
adds .WinModule to the name of the imported module.The text was updated successfully, but these errors were encountered: