Skip to content

Commit 31e2362

Browse files
authored
Merge pull request #12008 from MicrosoftDocs/main
4/15/2025 PM Publish
2 parents e6d0446 + 36a2e21 commit 31e2362

File tree

8 files changed

+697
-546
lines changed

8 files changed

+697
-546
lines changed

reference/5.1/Microsoft.PowerShell.Management/Get-Process.md

Lines changed: 178 additions & 156 deletions
Large diffs are not rendered by default.

reference/5.1/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Security.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Security
5-
ms.date: 03/04/2024
5+
ms.date: 04/15/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-ExecutionPolicy
@@ -140,7 +140,7 @@ The effective execution policy for the user becomes `AllSigned`.
140140

141141
### Example 5: Remove the execution policy for the current user
142142

143-
This example shows how use the `Undefined` execution policy to remove an execution policy for a
143+
This example shows how to use the `Undefined` execution policy to remove an execution policy for a
144144
specified scope.
145145

146146
```powershell
@@ -231,7 +231,7 @@ policy. The policy is set for the default scope, `LocalMachine`.
231231
The `Get-ExecutionPolicy` cmdlet shows that `RemoteSigned` is the effective execution policy for
232232
the current PowerShell session.
233233

234-
The `Start-ActivityTracker.ps1 script is executed from the current directory. The script is blocked
234+
The `Start-ActivityTracker.ps1` script is executed from the current directory. The script is blocked
235235
by `RemoteSigned` because the script isn't digitally signed.
236236

237237
For this example, the script's code was reviewed and verified as safe to run. The `Unblock-File`

reference/7.4/Microsoft.PowerShell.Management/Get-Process.md

Lines changed: 169 additions & 126 deletions
Large diffs are not rendered by default.

reference/7.4/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Security.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Security
5-
ms.date: 03/04/2024
5+
ms.date: 04/15/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-ExecutionPolicy
@@ -25,7 +25,8 @@ Set-ExecutionPolicy [-ExecutionPolicy] <ExecutionPolicy> [[-Scope] <ExecutionPol
2525
## DESCRIPTION
2626

2727
The `Set-ExecutionPolicy` cmdlet changes PowerShell execution policies for Windows computers. For
28-
more information, see [about_Execution_Policies](../Microsoft.PowerShell.Core/about/about_Execution_Policies.md).
28+
more information, see
29+
[about_Execution_Policies](../Microsoft.PowerShell.Core/about/about_Execution_Policies.md).
2930

3031
Beginning in PowerShell 6.0 for non-Windows computers, the default execution policy is
3132
`Unrestricted` and can't be changed. The `Set-ExecutionPolicy` cmdlet is available, but PowerShell
@@ -144,7 +145,7 @@ The effective execution policy for the user becomes `AllSigned`.
144145

145146
### Example 5: Remove the execution policy for the current user
146147

147-
This example shows how use the `Undefined` execution policy to remove an execution policy for a
148+
This example shows how to use the `Undefined` execution policy to remove an execution policy for a
148149
specified scope.
149150

150151
```powershell
@@ -235,7 +236,7 @@ policy. The policy is set for the default scope, `LocalMachine`.
235236
The `Get-ExecutionPolicy` cmdlet shows that `RemoteSigned` is the effective execution policy for
236237
the current PowerShell session.
237238

238-
The `Start-ActivityTracker.ps1 script is executed from the current directory. The script is blocked
239+
The `Start-ActivityTracker.ps1` script is executed from the current directory. The script is blocked
239240
by `RemoteSigned` because the script isn't digitally signed.
240241

241242
For this example, the script's code was reviewed and verified as safe to run. The `Unblock-File`

reference/7.5/Microsoft.PowerShell.Management/Get-Process.md

Lines changed: 168 additions & 126 deletions
Large diffs are not rendered by default.

reference/7.5/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Security.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Security
5-
ms.date: 03/04/2024
5+
ms.date: 04/15/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-ExecutionPolicy
@@ -145,7 +145,7 @@ The effective execution policy for the user becomes `AllSigned`.
145145

146146
### Example 5: Remove the execution policy for the current user
147147

148-
This example shows how use the `Undefined` execution policy to remove an execution policy for a
148+
This example shows how to use the `Undefined` execution policy to remove an execution policy for a
149149
specified scope.
150150

151151
```powershell

reference/7.6/Microsoft.PowerShell.Management/Get-Process.md

Lines changed: 168 additions & 126 deletions
Large diffs are not rendered by default.

reference/7.6/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Security.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Security
5-
ms.date: 03/04/2024
5+
ms.date: 04/15/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-ExecutionPolicy
@@ -25,7 +25,8 @@ Set-ExecutionPolicy [-ExecutionPolicy] <ExecutionPolicy> [[-Scope] <ExecutionPol
2525
## DESCRIPTION
2626

2727
The `Set-ExecutionPolicy` cmdlet changes PowerShell execution policies for Windows computers. For
28-
more information, see [about_Execution_Policies](../Microsoft.PowerShell.Core/about/about_Execution_Policies.md).
28+
more information, see
29+
[about_Execution_Policies](../Microsoft.PowerShell.Core/about/about_Execution_Policies.md).
2930

3031
Beginning in PowerShell 6.0 for non-Windows computers, the default execution policy is
3132
`Unrestricted` and can't be changed. The `Set-ExecutionPolicy` cmdlet is available, but PowerShell
@@ -144,7 +145,7 @@ The effective execution policy for the user becomes `AllSigned`.
144145

145146
### Example 5: Remove the execution policy for the current user
146147

147-
This example shows how use the `Undefined` execution policy to remove an execution policy for a
148+
This example shows how to use the `Undefined` execution policy to remove an execution policy for a
148149
specified scope.
149150

150151
```powershell

0 commit comments

Comments
 (0)