Open moerwald opened 5 years ago
Do this: 1) Right-click on References and select "Add Reference..." 2) On the bottom, click the "Browse..." button. 3) Navigate to "C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0" 4) Select System.Management.Automation.dll and hit the "Add" button. (Refer to https://docs.microsoft.com/en-us/powershell/scripting/developer/installing-the-windows-powershell-sdk)
Enhancement: Mention that the user will need the "Microsoft.PowerShell.5.ReferenceAssemblies" NuGet package, to retrieve "System.Management.Automation"
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.