From 752e0ec5e8b5cd6a035461bdaf40c3aa0793c15d Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Tue, 15 Apr 2025 08:56:27 -0500 Subject: [PATCH] Fix typo --- .../Microsoft.PowerShell.Security/Set-ExecutionPolicy.md | 6 +++--- .../Microsoft.PowerShell.Security/Set-ExecutionPolicy.md | 9 +++++---- .../Microsoft.PowerShell.Security/Set-ExecutionPolicy.md | 4 ++-- .../Microsoft.PowerShell.Security/Set-ExecutionPolicy.md | 7 ++++--- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md b/reference/5.1/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md index 174d41e53691..ccdb1928542f 100644 --- a/reference/5.1/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md +++ b/reference/5.1/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Security.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Security -ms.date: 03/04/2024 +ms.date: 04/15/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ExecutionPolicy @@ -140,7 +140,7 @@ The effective execution policy for the user becomes `AllSigned`. ### Example 5: Remove the execution policy for the current user -This example shows how use the `Undefined` execution policy to remove an execution policy for a +This example shows how to use the `Undefined` execution policy to remove an execution policy for a specified scope. ```powershell @@ -231,7 +231,7 @@ policy. The policy is set for the default scope, `LocalMachine`. The `Get-ExecutionPolicy` cmdlet shows that `RemoteSigned` is the effective execution policy for the current PowerShell session. -The `Start-ActivityTracker.ps1 script is executed from the current directory. The script is blocked +The `Start-ActivityTracker.ps1` script is executed from the current directory. The script is blocked by `RemoteSigned` because the script isn't digitally signed. For this example, the script's code was reviewed and verified as safe to run. The `Unblock-File` diff --git a/reference/7.4/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md b/reference/7.4/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md index 2806ab25cb68..4a9295aa98a1 100644 --- a/reference/7.4/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md +++ b/reference/7.4/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Security.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Security -ms.date: 03/04/2024 +ms.date: 04/15/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-ExecutionPolicy @@ -25,7 +25,8 @@ Set-ExecutionPolicy [-ExecutionPolicy] [[-Scope] [[-Scope]