This repository was archived by the owner on Jan 14, 2026. It is now read-only.
Commit 8d05c8e
authored
Remove usage of suspicious System.Management.Automation.dll (#144)
Addressing Component Governance compliance
Old NuGet package **System.Management.Automation.dll.10.0.10586** was
not a package owned by Microsoft organization on NuGet.org and is
deprecated and unlisted right now.
This package was used to circumvent the fact that
**System.Management.Automation** nuget was not supported on `.net462`.
**PowerShellStandard.Library.5.1.1** nuget on the other hand is owned by
Microsoft and PowerShell team.
After inspection of the contents of the suspicious package as well as
the contents of the **PowerShellStandard.Library.5.1.1** it turns out
they both have the same `System.Management.Automation.dll`.
For reference:
New **PowerShellStandard.Library.5.1.1**
<img width="1145" height="717" alt="image"
src="https://github.com/user-attachments/assets/785248a5-15b6-497f-828f-174a9d4b2dce"
/>
Old **System.Management.Automation.dll.10.0.10586**
<img width="1015" height="717" alt="image"
src="https://github.com/user-attachments/assets/26c057df-13c9-4a6c-8ef9-aecb27c90874"
/>1 parent d339b2a commit 8d05c8e
File tree
3 files changed
+4
-4
lines changed- properties
- src
- Microsoft.ServiceFabric.Powershell.Http
- netframework/Microsoft.ServiceFabric.Powershell.Http
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments