Skip to content
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

6/7/2024 PM Publish #11170

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions reference/5.1/Microsoft.PowerShell.Core/About/about_Scopes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Explains the concept of scope in PowerShell and shows how to set and change the scope of elements.
Locale: en-US
ms.date: 01/26/2024
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_scopes?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about Scopes
Expand Down Expand Up @@ -38,10 +38,12 @@ The following are the basic rules of scope:
which it was created, unless you explicitly specify a different scope.
- When code running in a runspace references an item, PowerShell searches the
scope hierarchy, starting with the current scope and proceeding through each
parent scope. If the item isn't found, a new item is created in the current
scope. If it finds a match, the value of the item is retrieved from the scope
where is was found. If you change value, the item copied to the current scope
so that the change only affects the current scope.
parent scope.
- If the item isn't found, a new item is created in the current scope.
- If it finds a match, the value of the item is retrieved from the scope
where is was found.
- If you change the value, the item is copied to the current scope so that
the change only affects the current scope.
- If you explicitly create an item that shares its name with an item in a
different scope, the original item might be hidden by the new item, but it
isn't overridden or changed.
Expand Down
7 changes: 5 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 08/17/2023
ms.date: 06/07/2024
no-loc: [Import-Module, -Scope]
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/import-module?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
Expand Down Expand Up @@ -764,7 +764,10 @@ Accept wildcard characters: False

### -Force

This parameter causes a module to be loaded, or reloaded, over top of the current one.
This parameter causes a module to be loaded, or reloaded, over top of the current one. Some modules
load external assemblies. The import fails if you are importing a module that loads a newer version
of an assembly. The **Force** parameter can't override the error. You must start a new session to
load the new version.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
7 changes: 4 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Utility/Select-String.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 03/10/2023
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/select-string?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Select-String
Expand Down Expand Up @@ -615,8 +615,9 @@ Accept wildcard characters: False

### -Quiet

Indicates that the cmdlet returns a Boolean value (True or False), instead of a **MatchInfo**
object. The value is True if the pattern is found; otherwise the value is False.
Indicates that the cmdlet returns a simple response instead of a **MatchInfo**
object. The returned value is `$true` if the pattern is found or `$null` if the
pattern is not found.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
12 changes: 7 additions & 5 deletions reference/7.2/Microsoft.PowerShell.Core/About/about_Scopes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Explains the concept of scope in PowerShell and shows how to set and change the scope of elements.
Locale: en-US
ms.date: 01/26/2024
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_scopes?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about Scopes
Expand Down Expand Up @@ -38,10 +38,12 @@ The following are the basic rules of scope:
which it was created, unless you explicitly specify a different scope.
- When code running in a runspace references an item, PowerShell searches the
scope hierarchy, starting with the current scope and proceeding through each
parent scope. If the item isn't found, a new item is created in the current
scope. If it finds a match, the value of the item is retrieved from the scope
where is was found. If you change value, the item copied to the current scope
so that the change only affects the current scope.
parent scope.
- If the item isn't found, a new item is created in the current scope.
- If it finds a match, the value of the item is retrieved from the scope
where is was found.
- If you change the value, the item is copied to the current scope so that
the change only affects the current scope.
- If you explicitly create an item that shares its name with an item in a
different scope, the original item might be hidden by the new item, but it
isn't overridden or changed.
Expand Down
7 changes: 5 additions & 2 deletions reference/7.2/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 08/17/2023
ms.date: 06/07/2024
no-loc: [Import-Module, -Scope]
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/import-module?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
Expand Down Expand Up @@ -783,7 +783,10 @@ Accept wildcard characters: False

### -Force

This parameter causes a module to be loaded, or reloaded, over top of the current one.
This parameter causes a module to be loaded, or reloaded, over top of the current one. Some modules
load external assemblies. The import fails if you are importing a module that loads a newer version
of an assembly. The **Force** parameter can't override the error. You must start a new session to
load the new version.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
7 changes: 4 additions & 3 deletions reference/7.2/Microsoft.PowerShell.Utility/Select-String.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/select-string?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Select-String
Expand Down Expand Up @@ -716,8 +716,9 @@ Accept wildcard characters: False

### -Quiet

Indicates that the cmdlet returns a Boolean value (True or False), instead of a **MatchInfo**
object. The value is True if the pattern is found; otherwise the value is False.
Indicates that the cmdlet returns a simple response instead of a **MatchInfo**
object. The returned value is `$true` if the pattern is found or `$null` if the
pattern is not found.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
12 changes: 7 additions & 5 deletions reference/7.4/Microsoft.PowerShell.Core/About/about_Scopes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Explains the concept of scope in PowerShell and shows how to set and change the scope of elements.
Locale: en-US
ms.date: 01/26/2024
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_scopes?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about Scopes
Expand Down Expand Up @@ -38,10 +38,12 @@ The following are the basic rules of scope:
which it was created, unless you explicitly specify a different scope.
- When code running in a runspace references an item, PowerShell searches the
scope hierarchy, starting with the current scope and proceeding through each
parent scope. If the item isn't found, a new item is created in the current
scope. If it finds a match, the value of the item is retrieved from the scope
where is was found. If you change value, the item copied to the current scope
so that the change only affects the current scope.
parent scope.
- If the item isn't found, a new item is created in the current scope.
- If it finds a match, the value of the item is retrieved from the scope
where is was found.
- If you change the value, the item is copied to the current scope so that
the change only affects the current scope.
- If you explicitly create an item that shares its name with an item in a
different scope, the original item might be hidden by the new item, but it
isn't overridden or changed.
Expand Down
7 changes: 5 additions & 2 deletions reference/7.4/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 08/17/2023
ms.date: 06/07/2024
no-loc: [Import-Module, -Scope]
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/import-module?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
Expand Down Expand Up @@ -783,7 +783,10 @@ Accept wildcard characters: False

### -Force

This parameter causes a module to be loaded, or reloaded, over top of the current one.
This parameter causes a module to be loaded, or reloaded, over top of the current one. Some modules
load external assemblies. The import fails if you are importing a module that loads a newer version
of an assembly. The **Force** parameter can't override the error. You must start a new session to
load the new version.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
7 changes: 4 additions & 3 deletions reference/7.4/Microsoft.PowerShell.Utility/Select-String.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 03/15/2023
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/select-string?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Select-String
Expand Down Expand Up @@ -721,8 +721,9 @@ Accept wildcard characters: False

### -Quiet

Indicates that the cmdlet returns a Boolean value (True or False), instead of a **MatchInfo**
object. The value is True if the pattern is found; otherwise the value is False.
Indicates that the cmdlet returns a simple response instead of a **MatchInfo**
object. The returned value is `$true` if the pattern is found or `$null` if the
pattern is not found.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
12 changes: 7 additions & 5 deletions reference/7.5/Microsoft.PowerShell.Core/About/about_Scopes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Explains the concept of scope in PowerShell and shows how to set and change the scope of elements.
Locale: en-US
ms.date: 01/26/2024
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_scopes?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about Scopes
Expand Down Expand Up @@ -38,10 +38,12 @@ The following are the basic rules of scope:
which it was created, unless you explicitly specify a different scope.
- When code running in a runspace references an item, PowerShell searches the
scope hierarchy, starting with the current scope and proceeding through each
parent scope. If the item isn't found, a new item is created in the current
scope. If it finds a match, the value of the item is retrieved from the scope
where is was found. If you change value, the item copied to the current scope
so that the change only affects the current scope.
parent scope.
- If the item isn't found, a new item is created in the current scope.
- If it finds a match, the value of the item is retrieved from the scope
where is was found.
- If you change the value, the item is copied to the current scope so that
the change only affects the current scope.
- If you explicitly create an item that shares its name with an item in a
different scope, the original item might be hidden by the new item, but it
isn't overridden or changed.
Expand Down
7 changes: 5 additions & 2 deletions reference/7.5/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 08/17/2023
ms.date: 06/07/2024
no-loc: [Import-Module, -Scope]
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/import-module?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
Expand Down Expand Up @@ -783,7 +783,10 @@ Accept wildcard characters: False

### -Force

This parameter causes a module to be loaded, or reloaded, over top of the current one.
This parameter causes a module to be loaded, or reloaded, over top of the current one. Some modules
load external assemblies. The import fails if you are importing a module that loads a newer version
of an assembly. The **Force** parameter can't override the error. You must start a new session to
load the new version.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
7 changes: 4 additions & 3 deletions reference/7.5/Microsoft.PowerShell.Utility/Select-String.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 03/15/2023
ms.date: 06/07/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/select-string?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Select-String
Expand Down Expand Up @@ -721,8 +721,9 @@ Accept wildcard characters: False

### -Quiet

Indicates that the cmdlet returns a Boolean value (True or False), instead of a **MatchInfo**
object. The value is True if the pattern is found; otherwise the value is False.
Indicates that the cmdlet returns a simple response instead of a **MatchInfo**
object. The returned value is `$true` if the pattern is found or `$null` if the
pattern is not found.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down