mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Exclude Microsoft.WSMan.Management from the list of default snapins
Fix #1180
This commit is contained in:
1 parent
9eda67b00c
commit
e647549d0d
3 files changed
+9
-2
No files matched your search
@@ -1409,7 +1409,7 @@ namespace System.Management.Automation
|
||||
"SecurityMshSnapInResources,Description","SecurityMshSnapInResources,Vendor")
|
||||
};
|
||||
|
||||
#if !LINUX
|
||||
#if !PORTABLE
|
||||
if (!Utils.IsWinPEHost())
|
||||
{
|
||||
defaultMshSnapins.Add(new DefaultPSSnapInInformation("Microsoft.WSMan.Management", "Microsoft.WSMan.Management", null,
|
||||
|
||||
Reference in new issue
Block a user