mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove Microsoft.PowerShell.Diagnostics from default Snapins on LINUX
This commit is contained in:
@@ -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