-
-
Notifications
You must be signed in to change notification settings - Fork 14
(Chore) : Added new prerequisite permission to run ps1 scripts. #77
base: master
Are you sure you want to change the base?
(Chore) : Added new prerequisite permission to run ps1 scripts. #77
Conversation
…ipts Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
In create cluster dialog it shows a cross despite my policy being already set to unrestricted. Here is what I see when I hover over the info icon next to it.
|
…gine-control-center into Abhijay007/newPrerequisite
…gine-control-center into Abhijay007/newPrerequisite
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
…gine-control-center into Abhijay007/newPrerequisite
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
…gine-control-center into Abhijay007/newPrerequisite
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
…gine-control-center into Abhijay007/newPrerequisite
{ | ||
// Check if the user agent contains PowerShell version information | ||
window.navigator.userAgent.includes('PowerShell') | ||
? `Run the following command in PowerShell ${window.navigator.userAgent}:` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<code>Get-ExecutionPolicy</code> - This command will show you the current execution policy. | ||
<br /> | ||
<br /> | ||
<code>Set-ExecutionPolicy Unrestricted</code> - Use this command to set the execution policy to allow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just keep the script. Remove - Use this command to set the execution policy to allow
running the following commands: | ||
<br /> | ||
<br /> | ||
<code>Get-ExecutionPolicy</code> - This command will show you the current execution policy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just keep the script. Remove - This command will show you the current execution policy.
getAppModel( | ||
'ps1ExecutionPolicy', | ||
'PowerShell Execution Policy', | ||
'Get-ExecutionPolicy; $PSVersionTable.PSVersion', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…gine-control-center into Abhijay007/newPrerequisite
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
…gine-control-center into Abhijay007/newPrerequisite
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
Signed-off-by: Abhijay jain <Abhijay007j@gmail.com>
Summary
Added prerequisite on windows for permission to run ps1 scripts
References
closes #63
Checklist
QA Steps
List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.