-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPO which sets "Bypass" execution policy causes extension to fail startup. #454
Comments
Thanks for the report! I'll get this fixed for the patch update next week. |
@ftischhauser originally reported this in issue #119 so I'm sure he'll want to know when it's fixed. |
Thank you! You guys are awesome!
From: David Wilson [mailto:notifications@github.com]
Sent: Friday, January 20, 2017 9:01 AM
To: PowerShell/vscode-powershell <vscode-powershell@noreply.github.com>
Cc: Smith, Daniel P. <dpsmith@cob.org>; Author <author@noreply.github.com>
Subject: Re: [PowerShell/vscode-powershell] GPO which sets "Bypass" execution policy causes extension to fail startup. (#454)
Thanks for the report! I'll get this fixed for the patch update next week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#454 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKEC2sHYwtoxCMmH8OxdalSknUYBaxKOks5rUOhAgaJpZM4LphDs>.
|
daviwil
added a commit
to daviwil/PowerShellEditorServices
that referenced
this issue
Mar 16, 2017
This change adds a try/catch around our invocation of Set-ExecutionPolicy to catch a CmdletInvocationException if a global ExecutionPolicy has already been set on the machine. Resolves PowerShell#192. Resolves PowerShell/vscode-powershell#454.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please fill in these details so that we can help you!
System Details
$PSVersionTable
:Name Value
PSVersion 5.1.14393.576
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.576
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
"PowerShell could not be started, click 'Show Logs' for more details."
CapturedLogFiles.zip
Attached Logs
Follow the instructions in the README
about capturing and sending logs.
The text was updated successfully, but these errors were encountered: