mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Remove Microsoft.PowerShell.Diagnostics from default Snapins on LINUX
This commit is contained in:
1 parent
7170bc681b
commit
32b90c048a
1 file changed
+2
-1
@@ -1408,9 +1408,10 @@ namespace System.Management.Automation
|
||||
{
|
||||
defaultMshSnapins = new List<DefaultPSSnapInInformation>()
|
||||
{
|
||||
#if !LINUX // Microsoft.PowerShell.Commands.Diagnostics.dll needs to be ported
|
||||
new DefaultPSSnapInInformation("Microsoft.PowerShell.Diagnostics", "Microsoft.PowerShell.Commands.Diagnostics", null,
|
||||
"GetEventResources,Description", "GetEventResources,Vendor"),
|
||||
|
||||
#endif
|
||||
new DefaultPSSnapInInformation("Microsoft.PowerShell.Host", "Microsoft.PowerShell.ConsoleHost", null,
|
||||
"HostMshSnapInResources,Description","HostMshSnapInResources,Vendor"),
|
||||
|
||||
|
||||
Reference in new issue
Block a user