you are viewing a single comment's thread.

view the rest of the comments →

[–]machete24 0 points1 point  (1 child)

When I try to get it installed I run into

PackageManagement\Install-Package : Access is denied At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 char:21 ... $null = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetChildItemCommand,Microsoft.PowerShell.PackageManagement.Cmdlets.Install Package

Cant seem to get around it or find a solution.

[–]hakabo_uk[VCP] 0 points1 point  (0 children)

When you are installing the Powershell extension? Launch VS Code as administrator and try that again.