Skip to content

Commit e0bcd95

Browse files
committed
add temporarily bypass execution policy to docs
1 parent 24d647f commit e0bcd95

File tree

16 files changed

+187
-0
lines changed

16 files changed

+187
-0
lines changed

content/en/docs/2024.9/Reference/troubleshooting/installation.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ To work around this error, either uninstall the platform and reinstall it using
129129

130130
1. Uninstall the platform by taking the following steps:
131131
1. Open a Windows PowerShell (x64) window as administrator.
132+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
133+
134+
```powershell
135+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
136+
```
137+
138+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
139+
132140
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
133141
134142
```powershell
@@ -300,6 +308,14 @@ A workaround for this is provided by Intel.
300308

301309
1. Uninstall the platform by taking the following steps:
302310
1. Open a Windows PowerShell (x64) window as administrator.
311+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
312+
313+
```powershell
314+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
315+
```
316+
317+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
318+
303319
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
304320
305321
```powershell

content/en/docs/2024.9/_shared/install-application-server/apply-recommended-security-measures.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ A collection of registry settings need to be applied to guarantee your server is
1111
The settings can be applied by running a script. Be aware that the server will be restarted when the script is run. Apply the settings by following these instructions:
1212

1313
1. Open a Windows PowerShell (x64) window as administrator.
14+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
15+
16+
```powershell
17+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
18+
```
19+
20+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
21+
1422
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
1523
1624
```powershell

content/en/docs/2024.9/_shared/install-application-server/single-server/add-antivirus-exclusions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
1. Open a Windows PowerShell (x64) window as administrator.
2+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
3+
4+
```powershell
5+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
6+
```
7+
8+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
9+
210
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
311
412
```powershell

content/en/docs/2024.9/_shared/install-application-server/single-server/check-port-useage.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
To check all necessary ports are free, follow these steps.
22
1. Open a Windows PowerShell (x64) window as administrator.
3+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
4+
5+
```powershell
6+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
7+
```
8+
9+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
10+
311
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
412
513
```powershell

content/en/docs/2024.9/_shared/install-application-server/single-server/test-installation-script.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
1. Open a Windows PowerShell (x64) window as administrator.
2+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
3+
4+
```powershell
5+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
6+
```
7+
8+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
9+
210
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
311
412
```powershell

content/en/docs/2024.9/_shared/upgrade/2024.9/upgrade-application-server/multi-server/run-upgrade-script.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
1. Open a Windows PowerShell (x64) window as administrator.
22
{{< alert title="Important" color="warning" >}}It is critical to make sure this is a new PowerShell window. If any Service Fabric cmdlets have been run previously to running the `Cortex.Innovation.Upgrade.ps1` script, the upgrade will close halfway through due to the PowerShell module being updated.{{< /alert >}}
3+
4+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
5+
6+
```powershell
7+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
8+
```
9+
10+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
11+
312
1. Navigate PowerShell to inside the `Cortex Innovation 2024.9 - App Server Install Scripts\Upgrade Application Server` folder using the following command, modifying the path as necessary:
413
514
```powershell

content/en/docs/2024.9/_shared/upgrade/2024.9/upgrade-application-server/single-server/run-upgrade-script.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
1. Open a Windows PowerShell (x64) window as administrator.
22
{{< alert title="Important" color="warning" >}}It is critical to make sure this is a new PowerShell window. If any Service Fabric cmdlets have been run previously to running the `Cortex.Innovation.Upgrade.ps1` script, the upgrade will close halfway through due to the PowerShell module being updated.{{< /alert >}}
3+
4+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
5+
6+
```powershell
7+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
8+
```
9+
10+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
11+
312
1. Navigate PowerShell to inside the `Cortex Innovation 2024.9 - App Server Install Scripts\Upgrade Application Server` folder using the following command, modifying the path as necessary:
413
514
```powershell

content/en/docs/2024.9/_shared/upgrade/2024.9/upgrade-web-application-server/run-gateway-script.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
1. Open a Windows PowerShell (x64) window as administrator.
2+
3+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
4+
5+
```powershell
6+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
7+
```
8+
9+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
10+
211
1. Navigate PowerShell to inside the `Cortex Innovation 2024.9 - Web App Server Install Scripts` folder using the following command, modifying the path as necessary:
312
413
```powershell

content/en/docs/2024.9/getting-started/on-premise/add-innovation-to-72/multiple-server-with-ha/install-application-and-loadbalancer-servers.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ A collection of registry settings need to be applied to guarantee your server is
5151
The settings can be applied by running a script. Be aware that each server will be restarted when the script is run. Apply the settings by following these instructions:
5252

5353
1. Open a Windows PowerShell (x64) window as administrator.
54+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
55+
56+
```powershell
57+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
58+
```
59+
60+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
61+
5462
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
5563
5664
```powershell
@@ -80,6 +88,14 @@ To avoid answering all of the prompts `-Override 0` can be added to the end of t
8088
If Windows Defender is not running on the Application Servers, ensure that the [Antivirus Exclusions][] have been added to the running antivirus software on each of the Application Servers and continue to the next section, otherwise follow these steps:
8189
8290
1. Open a Windows PowerShell (x64) window as administrator.
91+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
92+
93+
```powershell
94+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
95+
```
96+
97+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
98+
8399
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
84100
85101
```powershell
@@ -100,6 +116,14 @@ If Windows Defender is not running on the Application Servers, ensure that the [
100116
To check all necessary ports are free, follow these steps:
101117
102118
1. Open a Windows PowerShell (x64) window as administrator.
119+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
120+
121+
```powershell
122+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
123+
```
124+
125+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
126+
103127
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
104128
105129
```powershell
@@ -249,6 +273,14 @@ More advanced configuration (such as changing ports) can be undertaken by modify
249273
## Test Installation Script
250274
251275
1. Open a Windows PowerShell (x64) window as administrator.
276+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
277+
278+
```powershell
279+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
280+
```
281+
282+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
283+
252284
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - App Server Install Scripts` folder using the following command, modifying the path as necessary:
253285
254286
```powershell

content/en/docs/2024.9/getting-started/on-premise/add-innovation-to-72/multiple-server-with-ha/install-web-application-server/perform-gateway-installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ This guide describes how to upgrade {{% ctx %}} Gateway on v7.2 to include Innov
7070
### Upgrade {{% ctx %}} Gateway
7171
7272
1. Open a Windows PowerShell (x64) window as administrator.
73+
1. Type and run the following command to temporarily set the PowerShell Execution Policy:
74+
75+
```powershell
76+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
77+
```
78+
79+
{{< alert title="Note">}}This is a temporary change and will only affect the current PowerShell window.{{< /alert >}}
80+
7381
1. Navigate PowerShell to inside the `Cortex Innovation {{< version >}} - Web App Server Install Scripts` folder using the following command, modifying the path as necessary:
7482
7583
```powershell

0 commit comments

Comments
 (0)