diff --git a/reference/7.7/CimCmdlets/CimCmdlets.md b/reference/7.7/CimCmdlets/CimCmdlets.md index 11290d63944..debaa5d83c3 100644 --- a/reference/7.7/CimCmdlets/CimCmdlets.md +++ b/reference/7.7/CimCmdlets/CimCmdlets.md @@ -66,4 +66,3 @@ Removes one or more CIM sessions. ### [Set-CimInstance](Set-CimInstance.md) Modifies a CIM instance on a CIM server by calling the ModifyInstance method of the CIM class. - diff --git a/reference/7.7/CimCmdlets/Register-CimIndicationEvent.md b/reference/7.7/CimCmdlets/Register-CimIndicationEvent.md index 9cd8a0e4054..0c26179cbf8 100644 --- a/reference/7.7/CimCmdlets/Register-CimIndicationEvent.md +++ b/reference/7.7/CimCmdlets/Register-CimIndicationEvent.md @@ -428,4 +428,3 @@ This cmdlet is only available on Windows platforms. [New-CimSession](New-CimSession.md) [about_WQL](../Microsoft.PowerShell.Core/About/about_WQL.md) - diff --git a/reference/7.7/Microsoft.PowerShell.Core/Where-Object.md b/reference/7.7/Microsoft.PowerShell.Core/Where-Object.md index f4fe01ce83d..6a50de25bcc 100644 --- a/reference/7.7/Microsoft.PowerShell.Core/Where-Object.md +++ b/reference/7.7/Microsoft.PowerShell.Core/Where-Object.md @@ -251,9 +251,9 @@ particular version of Windows. Starting in Windows PowerShell 3.0, there are two different ways to construct a `Where-Object` command. -- **Scriptblock syntax**. You can use a scriptblock to specify the property name, a comparison operator, - and a property value. `Where-Object` returns all objects for which the scriptblock statement is - true. +- **Scriptblock syntax**. You can use a scriptblock to specify the property name, a comparison + operator, and a property value. `Where-Object` returns all objects for which the scriptblock + statement is true. For example, the following command gets processes where the value of the **PriorityClass** property equals `Normal`. @@ -263,7 +263,7 @@ command. All PowerShell comparison operators are valid in the scriptblock format. For more information, see [about_Comparison_Operators](./About/about_Comparison_Operators.md). -- **Simplified syntax**. To enable the simiplified syntax, `Where-Object` includes 31 switch +- **Simplified syntax**. To enable the simplified syntax, `Where-Object` includes 31 switch parameters that represent the comparison operators. The simplified syntax is easier to read and write than the scriptblock syntax. You can combine one of the switch parameters with the **Property** and **Value** parameters to create a command that filters objects based on the diff --git a/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-Counter.md b/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-Counter.md index ee3fa0ab322..8b6d2d92943 100644 --- a/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-Counter.md +++ b/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-Counter.md @@ -17,8 +17,8 @@ Gets performance counter data from local and remote computers. ### GetCounterSet (Default) ``` -Get-Counter [[-Counter] ] [-SampleInterval ] [-MaxSamples ] [-Continuous] - [-ComputerName ] [] +Get-Counter [[-Counter] ] [-SampleInterval ] [-MaxSamples ] + [-Continuous] [-ComputerName ] [] ``` ### ListSetSet diff --git a/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md b/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md index e9548aefd4a..ad6ced82fae 100644 --- a/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md +++ b/reference/7.7/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md @@ -18,28 +18,30 @@ Gets events from event logs and event tracing log files on local and remote comp ``` Get-WinEvent [[-LogName] ] [-MaxEvents ] [-ComputerName ] - [-Credential ] [-FilterXPath ] [-Force] [-Oldest] [] + [-Credential ] [-FilterXPath ] [-Force] [-Oldest] + [] ``` ### ListLogSet ``` -Get-WinEvent [-ListLog] [-ComputerName ] [-Credential ] [-Force] - [] +Get-WinEvent [-ListLog] [-ComputerName ] [-Credential ] + [-Force] [] ``` ### ListProviderSet ``` -Get-WinEvent [-ListProvider] [-ComputerName ] [-Credential ] - [] +Get-WinEvent [-ListProvider] [-ComputerName ] + [-Credential ] [] ``` ### GetProviderSet ``` Get-WinEvent [-ProviderName] [-MaxEvents ] [-ComputerName ] - [-Credential ] [-FilterXPath ] [-Force] [-Oldest] [] + [-Credential ] [-FilterXPath ] [-Force] [-Oldest] + [] ``` ### FileSet @@ -150,9 +152,9 @@ with the asterisk (`*`) wildcard to display each property. ### Example 3: Configure the classic Security log -This command gets an **EventLogConfiguration** object that represents the classic **Security** log. The -object is then used to configure settings for the log, such as max file size, file path, and whether the -log is enabled. +This command gets an **EventLogConfiguration** object that represents the classic **Security** log. +The object is then used to configure settings for the log, such as max file size, file path, and +whether the log is enabled. ```powershell $log = Get-WinEvent -ListLog Security @@ -195,11 +197,12 @@ ProviderLatency : 1000 ProviderControlGuid : ``` -The `Get-WinEvent` cmdlet uses the **ListLog** parameter to specify the **Security** log. The object is -saved to a variable. The **MaximumSizeInBytes** property is set to 1 gigabyte on the object. The +The `Get-WinEvent` cmdlet uses the **ListLog** parameter to specify the **Security** log. The object +is saved to a variable. The **MaximumSizeInBytes** property is set to 1 gigabyte on the object. The **SaveChanges** method is called to push the change to the system inside of a try block to handle -access violations. The `Get-WinEvent` cmdlet is called again on the **Security** log and piped to the -`Format-List` cmdlet to verify that the **MaximumSizeInBytes** property has been saved on the machine. +access violations. The `Get-WinEvent` cmdlet is called again on the **Security** log and piped to +the `Format-List` cmdlet to verify that the **MaximumSizeInBytes** property has been saved on the +machine. ### Example 4: Get event logs from a server @@ -232,7 +235,8 @@ is a property of the object with a non-null value. This example gets objects that represent the **Application** event logs on three computers: Server01, Server02, and Server03. The `foreach` keyword is used because the **ComputerName** -parameter accepts only one value. For more information, see [about_Foreach](../Microsoft.PowerShell.Core/about/about_Foreach.md). +parameter accepts only one value. For more information, see +[about_Foreach](../Microsoft.PowerShell.Core/about/about_Foreach.md). ```powershell $S = 'Server01', 'Server02', 'Server03' diff --git a/reference/7.7/Microsoft.PowerShell.Diagnostics/New-WinEvent.md b/reference/7.7/Microsoft.PowerShell.Diagnostics/New-WinEvent.md index aa72acadb7b..0e6f646f0ae 100644 --- a/reference/7.7/Microsoft.PowerShell.Diagnostics/New-WinEvent.md +++ b/reference/7.7/Microsoft.PowerShell.Diagnostics/New-WinEvent.md @@ -16,8 +16,8 @@ Creates a new Windows event for the specified event provider. ## SYNTAX ``` -New-WinEvent [-ProviderName] [-Id] [-Version ] [[-Payload] ] - [] +New-WinEvent [-ProviderName] [-Id] [-Version ] + [[-Payload] ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Host/Start-Transcript.md b/reference/7.7/Microsoft.PowerShell.Host/Start-Transcript.md index 4c4ab6d1b0b..8118240553c 100644 --- a/reference/7.7/Microsoft.PowerShell.Host/Start-Transcript.md +++ b/reference/7.7/Microsoft.PowerShell.Host/Start-Transcript.md @@ -17,22 +17,22 @@ Creates a record of all or part of a PowerShell session to a text file. ### ByPath (Default) ``` -Start-Transcript [[-Path] ] [-Append] [-Force] [-NoClobber] [-IncludeInvocationHeader] - [-UseMinimalHeader] [-WhatIf] [-Confirm] [] +Start-Transcript [[-Path] ] [-Append] [-Force] [-NoClobber] + [-IncludeInvocationHeader] [-UseMinimalHeader] [-WhatIf] [-Confirm] [] ``` ### ByLiteralPath ``` Start-Transcript [[-LiteralPath] ] [-Append] [-Force] [-NoClobber] - [-IncludeInvocationHeader] [-UseMinimalHeader] [-WhatIf] [-Confirm] [] + [-IncludeInvocationHeader] [-UseMinimalHeader] [-WhatIf] [-Confirm] [] ``` ### ByOutputDirectory ``` Start-Transcript [[-OutputDirectory] ] [-Append] [-Force] [-NoClobber] - [-IncludeInvocationHeader] [-UseMinimalHeader] [-WhatIf] [-Confirm] [] + [-IncludeInvocationHeader] [-UseMinimalHeader] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -115,8 +115,8 @@ Transcript started, output file is C:\Users\username\Documents\.\transcripts\Pow ### Example 5: Start a transcript using a relative path on non-Windows systems -When you use a relative path with the **OutputDirectory** parameter on non-Windows systems, the path is relative -to your home directory. +When you use a relative path with the **OutputDirectory** parameter on non-Windows systems, the +path is relative to your home directory. ```powershell Start-Transcript -Path ./transcripts diff --git a/reference/7.7/Microsoft.PowerShell.Management/Add-Content.md b/reference/7.7/Microsoft.PowerShell.Management/Add-Content.md index 0f2d0dca6cb..d4b7d5385e6 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Add-Content.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Add-Content.md @@ -21,18 +21,18 @@ Adds content to the specified items, such as adding words to a file. ``` Add-Content [-Path] [-Value] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] - [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] - [] + [-Include ] [-Exclude ] [-Force] [-Credential ] + [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] + [-Stream ] [] ``` ### LiteralPath ``` Add-Content [-Value] -LiteralPath [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] - [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] - [] + [-Include ] [-Exclude ] [-Force] [-Credential ] + [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] + [-Stream ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Clear-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Clear-Item.md index 000158f162b..802c8a493a0 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Clear-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Clear-Item.md @@ -20,15 +20,17 @@ Clears the contents of an item, but does not delete the item. ### Path (Default) ``` -Clear-Item [-Path] [-Force] [-Filter ] [-Include ] [-Exclude ] - [-Credential ] [-WhatIf] [-Confirm] [] +Clear-Item [-Path] [-Force] [-Filter ] [-Include ] + [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] + [] ``` ### LiteralPath ``` -Clear-Item -LiteralPath [-Force] [-Filter ] [-Include ] [-Exclude ] - [-Credential ] [-WhatIf] [-Confirm] [] +Clear-Item -LiteralPath [-Force] [-Filter ] [-Include ] + [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -182,7 +184,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] diff --git a/reference/7.7/Microsoft.PowerShell.Management/Clear-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Clear-ItemProperty.md index f2fa7c67302..9d76bcb9b0f 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Clear-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Clear-ItemProperty.md @@ -20,17 +20,17 @@ Clears the value of a property but does not delete the property. ### Path (Default) ``` -Clear-ItemProperty [-Path] [-Name] [-PassThru] [-Force] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Clear-ItemProperty [-Path] [-Name] [-PassThru] [-Force] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### LiteralPath ``` -Clear-ItemProperty -LiteralPath [-Name] [-PassThru] [-Force] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Clear-ItemProperty -LiteralPath [-Name] [-PassThru] [-Force] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -92,9 +92,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -155,7 +157,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] diff --git a/reference/7.7/Microsoft.PowerShell.Management/Clear-RecycleBin.md b/reference/7.7/Microsoft.PowerShell.Management/Clear-RecycleBin.md index db3da5c176f..10aa813acea 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Clear-RecycleBin.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Clear-RecycleBin.md @@ -18,7 +18,8 @@ Clears the contents of the current user's recycle bin. ### All ``` -Clear-RecycleBin [[-DriveLetter] ] [-Force] [-WhatIf] [-Confirm] [] +Clear-RecycleBin [[-DriveLetter] ] [-Force] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Copy-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Copy-ItemProperty.md index a63631770a3..d466aba8b56 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Copy-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Copy-ItemProperty.md @@ -20,17 +20,17 @@ Copies a property and value from a specified location to another location. ### Path (Default) ``` -Copy-ItemProperty [-Path] [-Name] [-Destination] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Copy-ItemProperty [-Path] [-Name] [-Destination] [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### LiteralPath ``` -Copy-ItemProperty -LiteralPath [-Name] [-Destination] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Copy-ItemProperty -LiteralPath [-Name] [-Destination] + [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -110,9 +110,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -174,7 +176,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, se +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-Content.md b/reference/7.7/Microsoft.PowerShell.Management/Get-Content.md index 7d616d62950..18d1e08ff24 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-Content.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-Content.md @@ -30,10 +30,10 @@ Get-Content [-ReadCount ] [-TotalCount ] [-Tail ] [-Path] < ### LiteralPath ``` -Get-Content [-ReadCount ] [-TotalCount ] [-Tail ] -LiteralPath - [-Filter ] [-Include ] [-Exclude ] [-Force] - [-Credential ] [-Delimiter ] [-Wait] [-Raw] [-Encoding ] - [-AsByteStream] [-Stream ] [] +Get-Content [-ReadCount ] [-TotalCount ] [-Tail ] + -LiteralPath [-Filter ] [-Include ] [-Exclude ] + [-Force] [-Credential ] [-Delimiter ] [-Wait] [-Raw] + [-Encoding ] [-AsByteStream] [-Stream ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-HotFix.md b/reference/7.7/Microsoft.PowerShell.Management/Get-HotFix.md index 7196982e4ef..b788dc324a7 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-HotFix.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-HotFix.md @@ -25,8 +25,8 @@ Get-HotFix [[-Id] ] [-ComputerName ] [-Credential ] [-ComputerName ] [-Credential ] - [] +Get-HotFix [-Description ] [-ComputerName ] + [-Credential ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Get-Item.md index f2110202719..1f35ebfc800 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-Item.md @@ -443,7 +443,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Get-ItemProperty.md index 577fba0faf9..db5ca7d395e 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-ItemProperty.md @@ -20,15 +20,17 @@ Gets the properties of a specified item. ### Path (Default) ``` -Get-ItemProperty [-Path] [[-Name] ] [-Filter ] [-Include ] - [-Exclude ] [-Credential ] [] +Get-ItemProperty [-Path] [[-Name] ] [-Filter ] + [-Include ] [-Exclude ] [-Credential ] + [] ``` ### LiteralPath ``` Get-ItemProperty -LiteralPath [[-Name] ] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] [] + [-Include ] [-Exclude ] [-Credential ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-ItemPropertyValue.md b/reference/7.7/Microsoft.PowerShell.Management/Get-ItemPropertyValue.md index b0c12c73449..88de2254520 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-ItemPropertyValue.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-ItemPropertyValue.md @@ -20,15 +20,17 @@ Gets the value for one or more properties of a specified item. ### Path (Default) ``` -Get-ItemPropertyValue [[-Path] ] [-Name] [-Filter ] [-Include ] - [-Exclude ] [-Credential ] [] +Get-ItemPropertyValue [[-Path] ] [-Name] [-Filter ] + [-Include ] [-Exclude ] [-Credential ] + [] ``` ### LiteralPath ``` -Get-ItemPropertyValue -LiteralPath [-Name] [-Filter ] [-Include ] - [-Exclude ] [-Credential ] [] +Get-ItemPropertyValue -LiteralPath [-Name] [-Filter ] + [-Include ] [-Exclude ] [-Credential ] + [] ``` ## DESCRIPTION @@ -72,7 +74,7 @@ This command gets the values of the **LastWriteTime**, **CreationTime**, and **R a folder. The property values are returned in the order in which you specified the property names. ```powershell -Get-ItemPropertyValue -Path 'C:\Program Files\PowerShell' -Name LastWriteTime,CreationTime,Root +Get-ItemPropertyValue -Path 'C:\Program Files\PowerShell' -Name LastWriteTime, CreationTime, Root ``` ```output @@ -142,9 +144,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -187,7 +191,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-PSDrive.md b/reference/7.7/Microsoft.PowerShell.Management/Get-PSDrive.md index 0bcf5c90cfa..67b36d58596 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-PSDrive.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-PSDrive.md @@ -20,13 +20,15 @@ Gets drives in the current session. ### Name (Default) ``` -Get-PSDrive [[-Name] ] [-Scope ] [-PSProvider ] [] +Get-PSDrive [[-Name] ] [-Scope ] [-PSProvider ] + [] ``` ### LiteralName ``` -Get-PSDrive [-LiteralName] [-Scope ] [-PSProvider ] [] +Get-PSDrive [-LiteralName] [-Scope ] [-PSProvider ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Get-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Get-Service.md index 71fad2d30a9..aa51704a069 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Get-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Get-Service.md @@ -20,22 +20,22 @@ Gets the services on the computer. ### Default (Default) ``` -Get-Service [[-Name] ] [-DependentServices] [-RequiredServices] [-Include ] - [-Exclude ] [] +Get-Service [[-Name] ] [-DependentServices] [-RequiredServices] + [-Include ] [-Exclude ] [] ``` ### DisplayName ``` -Get-Service [-DependentServices] [-RequiredServices] -DisplayName [-Include ] - [-Exclude ] [] +Get-Service [-DependentServices] [-RequiredServices] -DisplayName + [-Include ] [-Exclude ] [] ``` ### InputObject ``` -Get-Service [-DependentServices] [-RequiredServices] [-Include ] [-Exclude ] - [-InputObject ] [] +Get-Service [-DependentServices] [-RequiredServices] [-Include ] + [-Exclude ] [-InputObject ] [] ``` ## DESCRIPTION @@ -73,8 +73,8 @@ Get-Service "wmi*" ### Example 3: Display services that include a search string This example displays services with a display name that includes the word `network`. Searching the -display name finds network-related services even when the service name doesn't include `Net`, such as -xmlprov, the Network Provisioning Service. +display name finds network-related services even when the service name doesn't include `Net`, such +as xmlprov, the Network Provisioning Service. ```powershell Get-Service -DisplayName "*network*" @@ -346,8 +346,8 @@ PowerShell 6.0 introduced the following changes: - **DelayedAutoStart** - **BinaryPathName** - **StartupType** -- The command no longer includes the **ComputerName** parameter. To use this command on a remote computer, - use the `Invoke-Command` to target a remote system. +- The command no longer includes the **ComputerName** parameter. To use this command on a remote + computer, use the `Invoke-Command` to target a remote system. This cmdlet can display services only when the current user has permission to see them. If this cmdlet does not display services, you might not have permission to see them. diff --git a/reference/7.7/Microsoft.PowerShell.Management/Invoke-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Invoke-Item.md index e02cc8959f6..94d17e27963 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Invoke-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Invoke-Item.md @@ -20,15 +20,17 @@ Performs the default action on the specified item. ### Path (Default) ``` -Invoke-Item [-Path] [-Filter ] [-Include ] [-Exclude ] - [-Credential ] [-WhatIf] [-Confirm] [] +Invoke-Item [-Path] [-Filter ] [-Include ] + [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] + [] ``` ### LiteralPath ``` -Invoke-Item -LiteralPath [-Filter ] [-Include ] [-Exclude ] - [-Credential ] [-WhatIf] [-Confirm] [] +Invoke-Item -LiteralPath [-Filter ] [-Include ] + [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Join-Path.md b/reference/7.7/Microsoft.PowerShell.Management/Join-Path.md index c4e06c74861..a2f053594a6 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Join-Path.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Join-Path.md @@ -15,8 +15,8 @@ Combines a path and a child path into a single path. ## SYNTAX ``` -Join-Path [-Path] [-ChildPath] [[-AdditionalChildPath] ] [-Resolve] - [-Credential ] [-Extension ] [] +Join-Path [-Path] [-ChildPath] [[-AdditionalChildPath] ] + [-Resolve] [-Credential ] [-Extension ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Move-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Move-Item.md index bc8f6603bc7..ff05ac1b7d0 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Move-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Move-Item.md @@ -23,16 +23,16 @@ Moves an item from one location to another. ``` Move-Item [-Path] [[-Destination] ] [-Force] [-Filter ] - [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] - [-Confirm] [] + [-Include ] [-Exclude ] [-PassThru] [-Credential ] + [-WhatIf] [-Confirm] [] ``` ### LiteralPath ``` Move-Item -LiteralPath [[-Destination] ] [-Force] [-Filter ] - [-Include ] [-Exclude ] [-PassThru] [-Credential ] [-WhatIf] - [-Confirm] [] + [-Include ] [-Exclude ] [-PassThru] [-Credential ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Move-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Move-ItemProperty.md index fe93baccd83..b5831136c53 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Move-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Move-ItemProperty.md @@ -20,17 +20,17 @@ Moves a property from one location to another. ### Path (Default) ``` -Move-ItemProperty [-Path] [-Name] [-Destination] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Move-ItemProperty [-Path] [-Name] [-Destination] + [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### LiteralPath ``` -Move-ItemProperty -LiteralPath [-Name] [-Destination] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Move-ItemProperty -LiteralPath [-Name] [-Destination] + [-PassThru] [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -110,9 +110,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -173,7 +175,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] @@ -302,7 +305,8 @@ PowerShell includes the following aliases for `Move-ItemProperty`: - `mp` This cmdlet is designed to work with the data exposed by any provider. To list the providers -available in your session, type `Get-PSProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). +available in your session, type `Get-PSProvider`. For more information, see +[about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). ## RELATED LINKS diff --git a/reference/7.7/Microsoft.PowerShell.Management/New-Item.md b/reference/7.7/Microsoft.PowerShell.Management/New-Item.md index 1262e44d097..a969f980ef5 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/New-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/New-Item.md @@ -28,15 +28,15 @@ New-Item [-Path] [-ItemType ] [-Value ] [-Force] ### nameSet - All providers ``` -New-Item [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] - [-Credential ] [-WhatIf] [-Confirm] [] +New-Item [[-Path] ] -Name [-ItemType ] [-Value ] + [-Force] [-Credential ] [-WhatIf] [-Confirm] [] ``` ### pathSet (Default) - WSMan provider ``` -New-Item [-Path] -ConnectionURI [-ItemType ] [-Value ] [-Force] - [-Credential ] [-WhatIf] [-Confirm] [-OptionSet ] +New-Item [-Path] -ConnectionURI [-ItemType ] [-Value ] + [-Force] [-Credential ] [-WhatIf] [-Confirm] [-OptionSet ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-Port ] [] ``` @@ -44,8 +44,8 @@ New-Item [-Path] -ConnectionURI [-ItemType ] [-Value ] -Name [-ItemType ] [-Value ] [-Force] - [-Credential ] [-WhatIf] [-Confirm] [-OptionSet ] +New-Item [[-Path] ] -Name [-ItemType ] [-Value ] + [-Force] [-Credential ] [-WhatIf] [-Confirm] [-OptionSet ] [-Authentication ] [-CertificateThumbprint ] [-SessionOption ] [-ApplicationName ] [-Port ] [-UseSSL] [] @@ -62,8 +62,8 @@ New-Item [-Path] [-ItemType ] [-Value ] [-Force] ### nameSet - Alias provider ``` -New-Item [[-Path] ] -Name [-ItemType ] [-Value ] [-Force] - [-Credential ] [-WhatIf] [-Confirm] [-Options ] +New-Item [[-Path] ] -Name [-ItemType ] [-Value ] + [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Options ] [] ``` @@ -112,7 +112,8 @@ profile path, even when the directories in the path do not exist. After you create a profile, you can enter aliases, functions, and scripts in the profile to customize your shell. -For more information, see [about_Automatic_Variables](../Microsoft.PowerShell.Core/About/about_Automatic_Variables.md) +For more information, see +[about_Automatic_Variables](../Microsoft.PowerShell.Core/About/about_Automatic_Variables.md) and [about_Profiles](../Microsoft.PowerShell.Core/About/about_Profiles.md). ```powershell diff --git a/reference/7.7/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/New-ItemProperty.md index 44ae8142846..4f7dfd9f2d7 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/New-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/New-ItemProperty.md @@ -18,17 +18,17 @@ Creates a new property for an item and sets its value. ### Path (Default) ``` -New-ItemProperty [-Path] [-Name] [-PropertyType ] [-Value ] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] - [-Confirm] [] +New-ItemProperty [-Path] [-Name] [-PropertyType ] + [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### LiteralPath ``` -New-ItemProperty -LiteralPath [-Name] [-PropertyType ] [-Value ] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] [-WhatIf] - [-Confirm] [] +New-ItemProperty -LiteralPath [-Name] [-PropertyType ] + [-Value ] [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/New-PSDrive.md b/reference/7.7/Microsoft.PowerShell.Management/New-PSDrive.md index a8d9340dc7b..4e3b7158568 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/New-PSDrive.md +++ b/reference/7.7/Microsoft.PowerShell.Management/New-PSDrive.md @@ -21,9 +21,9 @@ Creates temporary and persistent drives that are associated with a location in a ### All ``` -New-PSDrive [-Name] [-PSProvider] [-Root] [-Description ] - [-Scope ] [-Persist] [-Credential ] [-WhatIf] [-Confirm] - [] +New-PSDrive [-Name] [-PSProvider] [-Root] + [-Description ] [-Scope ] [-Persist] [-Credential ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/New-Service.md b/reference/7.7/Microsoft.PowerShell.Management/New-Service.md index eacf49b31c8..c56398655f6 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/New-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/New-Service.md @@ -16,9 +16,10 @@ Creates a new Windows service. ## SYNTAX ``` -New-Service [-Name] [-BinaryPathName] [-DisplayName ] [-Description ] - [-SecurityDescriptorSddl ] [-StartupType ] [-Credential ] - [-DependsOn ] [-WhatIf] [-Confirm] [] +New-Service [-Name] [-BinaryPathName] [-DisplayName ] + [-Description ] [-SecurityDescriptorSddl ] + [-StartupType ] [-Credential ] [-DependsOn ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -76,7 +77,7 @@ Status : OK This command uses `Get-CimInstance` to get the **Win32_Service** object for the new service. This object includes the start mode and the service description. -### Example 4: Set the SecurityDescriptor of a service when creating. +### Example 4: Set the SecurityDescriptor of a service when creating This example adds the **SecurityDescriptor** of the service being created. diff --git a/reference/7.7/Microsoft.PowerShell.Management/Push-Location.md b/reference/7.7/Microsoft.PowerShell.Management/Push-Location.md index 7e303432303..36036f136ee 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Push-Location.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Push-Location.md @@ -26,7 +26,8 @@ Push-Location [[-Path] ] [-PassThru] [-StackName ] [] [-PassThru] [-StackName ] [] +Push-Location [-LiteralPath ] [-PassThru] [-StackName ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Remove-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Remove-Item.md index 8166b9720db..cda55de92e5 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Remove-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Remove-Item.md @@ -24,47 +24,49 @@ Deletes the specified items. ### Path (Default) - FileSystem provider ``` -Remove-Item [-Path] [-Filter ] [-Include ] [-Exclude ] - [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] - [] +Remove-Item [-Path] [-Filter ] [-Include ] + [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] + [-Confirm] [-Stream ] [] ``` ### LiteralPath - FileSystem provider ``` -Remove-Item -LiteralPath [-Filter ] [-Include ] [-Exclude ] - [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-Stream ] - [] +Remove-Item -LiteralPath [-Filter ] [-Include ] + [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] + [-Confirm] [-Stream ] [] ``` ### Path (Default) - Certificate provider ``` -Remove-Item [-Path] [-Filter ] [-Include ] [-Exclude ] - [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-DeleteKey] - [] +Remove-Item [-Path] [-Filter ] [-Include ] + [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] + [-Confirm] [-DeleteKey] [] ``` ### LiteralPath - Certificate provider ``` -Remove-Item -LiteralPath [-Filter ] [-Include ] [-Exclude ] - [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [-DeleteKey] - [] +Remove-Item -LiteralPath [-Filter ] [-Include ] + [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] + [-Confirm] [-DeleteKey] [] ``` ### Path (Default) - All providers ``` -Remove-Item [-Path] [-Filter ] [-Include ] [-Exclude ] - [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] +Remove-Item [-Path] [-Filter ] [-Include ] + [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] + [-Confirm] [] ``` ### LiteralPath - All providers ``` -Remove-Item -LiteralPath [-Filter ] [-Include ] [-Exclude ] - [-Recurse] [-Force] [-Credential ] [-WhatIf] [-Confirm] [] +Remove-Item -LiteralPath [-Filter ] [-Include ] + [-Exclude ] [-Recurse] [-Force] [-Credential ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Remove-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Remove-ItemProperty.md index 21e37457386..d9303239045 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Remove-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Remove-ItemProperty.md @@ -20,9 +20,10 @@ Deletes the property and its value from an item. ### Path (Default) ``` -Remove-ItemProperty [-Path] [-Name] [-Force] [-Filter ] [-Include ] - [-Exclude ] [-Credential ] [-InformationAction ] - [-InformationVariable ] [-WhatIf] [-Confirm] [] +Remove-ItemProperty [-Path] [-Name] [-Force] [-Filter ] + [-Include ] [-Exclude ] [-Credential ] + [-InformationAction ] [-InformationVariable ] [-WhatIf] + [-Confirm] [] ``` ### LiteralPath @@ -126,9 +127,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -189,7 +192,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] diff --git a/reference/7.7/Microsoft.PowerShell.Management/Remove-PSDrive.md b/reference/7.7/Microsoft.PowerShell.Management/Remove-PSDrive.md index 0b2019cc6e8..62a896082fa 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Remove-PSDrive.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Remove-PSDrive.md @@ -27,8 +27,8 @@ Remove-PSDrive [-Name] [-PSProvider ] [-Scope ] [-F ### LiteralName ``` -Remove-PSDrive [-LiteralName] [-PSProvider ] [-Scope ] [-Force] - [-WhatIf] [-Confirm] [] +Remove-PSDrive [-LiteralName] [-PSProvider ] [-Scope ] + [-Force] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Remove-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Remove-Service.md index c256882ff8c..cfd153f3ad5 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Remove-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Remove-Service.md @@ -24,7 +24,8 @@ Remove-Service [-Name] [-WhatIf] [-Confirm] [] ### InputObject ``` -Remove-Service [-InputObject ] [-WhatIf] [-Confirm] [] +Remove-Service [-InputObject ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Rename-Computer.md b/reference/7.7/Microsoft.PowerShell.Management/Rename-Computer.md index 892b2bb8554..f2ec40f2769 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Rename-Computer.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Rename-Computer.md @@ -17,8 +17,8 @@ Renames a computer. ``` Rename-Computer [-ComputerName ] [-PassThru] [-DomainCredential ] - [-LocalCredential ] [-NewName] [-Force] [-Restart] [-WsmanAuthentication ] - [-WhatIf] [-Confirm] [] + [-LocalCredential ] [-NewName] [-Force] [-Restart] + [-WsmanAuthentication ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -215,7 +215,8 @@ WSMan protocol. The acceptable values for this parameter are: The default value is **Default**. -For more information about the values of this parameter, see [AuthenticationMechanism Enumeration](/dotnet/api/system.management.automation.runspaces.authenticationmechanism). +For more information about the values of this parameter, see +[AuthenticationMechanism Enumeration](/dotnet/api/system.management.automation.runspaces.authenticationmechanism). > [!WARNING] > Credential Security Service Provider (CredSSP) authentication, in which the user diff --git a/reference/7.7/Microsoft.PowerShell.Management/Rename-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Rename-Item.md index 01c3f221bf4..5d8f23e1e34 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Rename-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Rename-Item.md @@ -20,8 +20,8 @@ Renames an item in a PowerShell provider namespace. ### ByPath (Default) ``` -Rename-Item [-Path] [-NewName] [-Force] [-PassThru] [-Credential ] - [-WhatIf] [-Confirm] [] +Rename-Item [-Path] [-NewName] [-Force] [-PassThru] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### ByLiteralPath @@ -78,8 +78,8 @@ Use the `Move-Item` cmdlet, instead. ### Example 3: Rename a registry key -This example renames a registry key from **Advertising** to **Marketing**. When the command is complete, -the key is renamed, but the registry entries in the key are unchanged. +This example renames a registry key from **Advertising** to **Marketing**. When the command is +complete, the key is renamed, but the registry entries in the key are unchanged. ```powershell Rename-Item -Path "HKLM:\Software\MyCompany\Advertising" -NewName "Marketing" diff --git a/reference/7.7/Microsoft.PowerShell.Management/Rename-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Rename-ItemProperty.md index 6c73a7e3988..553bbe08171 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Rename-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Rename-ItemProperty.md @@ -20,17 +20,17 @@ Renames a property of an item. ### Path (Default) ``` -Rename-ItemProperty [-Path] [-Name] [-NewName] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Rename-ItemProperty [-Path] [-Name] [-NewName] [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### LiteralPath ``` -Rename-ItemProperty -LiteralPath [-Name] [-NewName] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Rename-ItemProperty -LiteralPath [-Name] [-NewName] [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -93,9 +93,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -156,7 +158,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String diff --git a/reference/7.7/Microsoft.PowerShell.Management/Restart-Computer.md b/reference/7.7/Microsoft.PowerShell.Management/Restart-Computer.md index e80cfa874f3..174330f889c 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Restart-Computer.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Restart-Computer.md @@ -19,8 +19,8 @@ Restarts the operating system on local and remote computers. ``` Restart-Computer [-WsmanAuthentication ] [[-ComputerName] ] - [[-Credential]] [-Force] [-Wait] [-Timeout ] [-For ] - [-Delay ] [-WhatIf] [-Confirm] [] + [[-Credential]] [-Force] [-Wait] [-Timeout ] + [-For ] [-Delay ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -42,8 +42,6 @@ the native command `/sbin/shutdown`. ## EXAMPLES -## EXAMPLES - ### Example 1: Restart the local computer `Restart-Computer` restarts the local computer. diff --git a/reference/7.7/Microsoft.PowerShell.Management/Restart-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Restart-Service.md index 35eb9b5a5fe..4d55b23b381 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Restart-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Restart-Service.md @@ -18,22 +18,22 @@ Stops and then starts one or more services. ### InputObject (Default) ``` -Restart-Service [-Force] [-InputObject] [-PassThru] [-Include ] - [-Exclude ] [-WhatIf] [-Confirm] [] +Restart-Service [-Force] [-InputObject] [-PassThru] + [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### Default ``` -Restart-Service [-Force] [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] - [-Confirm] [] +Restart-Service [-Force] [-Name] [-PassThru] [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### DisplayName ``` -Restart-Service [-Force] [-PassThru] -DisplayName [-Include ] [-Exclude ] - [-WhatIf] [-Confirm] [] +Restart-Service [-Force] [-PassThru] -DisplayName [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Resume-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Resume-Service.md index 93d256a70fc..e774e109a67 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Resume-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Resume-Service.md @@ -18,22 +18,22 @@ Resumes one or more suspended (paused) services. ### InputObject (Default) ``` -Resume-Service [-InputObject] [-PassThru] [-Include ] [-Exclude ] - [-WhatIf] [-Confirm] [] +Resume-Service [-InputObject] [-PassThru] [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### Default ``` -Resume-Service [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] - [] +Resume-Service [-Name] [-PassThru] [-Include ] [-Exclude ] + [-WhatIf] [-Confirm] [] ``` ### DisplayName ``` -Resume-Service [-PassThru] -DisplayName [-Include ] [-Exclude ] [-WhatIf] - [-Confirm] [] +Resume-Service [-PassThru] -DisplayName [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Set-Content.md b/reference/7.7/Microsoft.PowerShell.Management/Set-Content.md index 30f9ff252a5..28b3a3415aa 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Set-Content.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Set-Content.md @@ -22,8 +22,8 @@ Writes new content or replaces existing content in a file. ``` Set-Content [-Path] [-Value] [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] - [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] - [] + [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] + [-Stream ] [] ``` ### LiteralPath - FileSystem provider @@ -31,24 +31,24 @@ Set-Content [-Path] [-Value] [-PassThru] [-Filter ``` Set-Content [-Value] -LiteralPath [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-Force] [-Credential ] - [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] [-Stream ] - [] + [-WhatIf] [-Confirm] [-NoNewline] [-Encoding ] [-AsByteStream] + [-Stream ] [] ``` ### Path (Default) - All providers ``` Set-Content [-Path] [-Value] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] - [-Confirm] [] + [-Include ] [-Exclude ] [-Force] [-Credential ] + [-WhatIf] [-Confirm] [] ``` ### LiteralPath - All providers ``` Set-Content [-Value] -LiteralPath [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Force] [-Credential ] [-WhatIf] - [-Confirm] [] + [-Include ] [-Exclude ] [-Force] [-Credential ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Set-Item.md b/reference/7.7/Microsoft.PowerShell.Management/Set-Item.md index 2fcc0f561c9..c06bfcb301b 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Set-Item.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Set-Item.md @@ -20,48 +20,51 @@ Changes the value of an item to the value specified in the command. ### Path (Default) - All providers ``` -Set-Item [-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] [-Include ] - [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] [] +Set-Item [-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] + [-Include ] [-Exclude ] [-Credential ] [-WhatIf] + [-Confirm] [] ``` ### LiteralPath - All providers ``` -Set-Item -LiteralPath [[-Value] ] [-Force] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Set-Item -LiteralPath [[-Value] ] [-Force] [-PassThru] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### Path (Default) - Alias and Function providers ``` Set-Item [-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] - [-Options ] [] + [-Include ] [-Exclude ] [-Credential ] [-WhatIf] + [-Confirm] [-Options ] [] ``` ### LiteralPath - Alias and Function providers ``` -Set-Item [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] - [-Options ] [] +Set-Item [[-Value] ] -LiteralPath [-Force] [-PassThru] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [-Options ] + [] ``` ### Path (Default) - Registry provider ``` Set-Item [-Path] [[-Value] ] [-Force] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] - [-Type ] [] + [-Include ] [-Exclude ] [-Credential ] [-WhatIf] + [-Confirm] [-Type ] [] ``` ### LiteralPath - Registry provider ``` -Set-Item [[-Value] ] -LiteralPath [-Force] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-Credential ] [-WhatIf] [-Confirm] - [-Type ] [] +Set-Item [[-Value] ] -LiteralPath [-Force] [-PassThru] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [-Type ] + [] ``` ## DESCRIPTION @@ -149,9 +152,11 @@ Accept wildcard characters: True ### -Filter -Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) +Specifies a filter to qualify the **Path** parameter. The +[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only installed PowerShell provider that supports the use of filters. You can find -the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). +the syntax for the **FileSystem** filter language in +[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient than other parameters, because the provider applies them when the cmdlet gets the objects rather than having PowerShell filter the objects after they are retrieved. @@ -214,7 +219,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. -For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] @@ -400,16 +406,17 @@ PowerShell includes the following aliases for `Set-Item`: - All platforms: - `si` -- `Set-Item` is not supported by the PowerShell FileSystem provider. To change the values of items in - the file system, use the `Set-Content` cmdlet. -- In the Registry drives, `HKLM:` and `HKCU:`, `Set-Item` changes the data in the (Default) value of a - registry key. +- `Set-Item` is not supported by the PowerShell FileSystem provider. To change the values of items + in the file system, use the `Set-Content` cmdlet. +- In the Registry drives, `HKLM:` and `HKCU:`, `Set-Item` changes the data in the (Default) value of + a registry key. - To create and change the names of registry keys, use the `New-Item` and `Rename-Item` cmdlet. - - To change the names and data in registry values, use the `New-ItemProperty`, `Set-ItemProperty`, and - `Rename-ItemProperty` cmdlets. + - To change the names and data in registry values, use the `New-ItemProperty`, `Set-ItemProperty`, + and `Rename-ItemProperty` cmdlets. - `Set-Item` is designed to work with the data exposed by any provider. To list the providers available in your session, type `Get-PSProvider`. - For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). + For more information, see + [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). ## RELATED LINKS diff --git a/reference/7.7/Microsoft.PowerShell.Management/Set-ItemProperty.md b/reference/7.7/Microsoft.PowerShell.Management/Set-ItemProperty.md index a2a989eaa20..24a3fc74411 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Set-ItemProperty.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Set-ItemProperty.md @@ -20,65 +20,69 @@ Creates or changes the value of a property of an item. ### propertyValuePathSet (Default) - All providers ``` -Set-ItemProperty [-Path] [-Name] [-Value] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Set-ItemProperty [-Path] [-Name] [-Value] [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### propertyPSObjectPathSet - All providers ``` Set-ItemProperty [-Path] -InputObject [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### propertyValueLiteralPathSet - All providers ``` -Set-ItemProperty [-Name] [-Value] -LiteralPath [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] +Set-ItemProperty [-Name] [-Value] -LiteralPath [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### propertyPSObjectLiteralPathSet - All providers ``` Set-ItemProperty -LiteralPath -InputObject [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [] ``` ### propertyValuePathSet (Default) - Registry provider ``` -Set-ItemProperty [-Path] [-Name] [-Value] [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [-Type ] [] +Set-ItemProperty [-Path] [-Name] [-Value] [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [-Type ] + [] ``` ### propertyPSObjectPathSet - Registry provider ``` Set-ItemProperty [-Path] -InputObject [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [-Type ] [] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [-Type ] + [] ``` ### propertyValueLiteralPathSet - Registry provider ``` -Set-ItemProperty [-Name] [-Value] -LiteralPath [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [-Type ] [] +Set-ItemProperty [-Name] [-Value] -LiteralPath [-PassThru] + [-Force] [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [-Type ] + [] ``` ### propertyPSObjectLiteralPathSet - Registry provider ``` Set-ItemProperty -LiteralPath -InputObject [-PassThru] [-Force] - [-Filter ] [-Include ] [-Exclude ] [-Credential ] - [-WhatIf] [-Confirm] [-Type ] [] + [-Filter ] [-Include ] [-Exclude ] + [-Credential ] [-WhatIf] [-Confirm] [-Type ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Set-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Set-Service.md index 238ebc14a7c..08f22545205 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Set-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Set-Service.md @@ -20,15 +20,17 @@ Starts, stops, and suspends a service, and changes its properties. ``` Set-Service [-Name] [-DisplayName ] [-Credential ] [-Description ] [-StartupType ] [-Status ] - [-SecurityDescriptorSddl ] [-Force] [-PassThru] [-WhatIf] [-Confirm] [] + [-SecurityDescriptorSddl ] [-Force] [-PassThru] [-WhatIf] [-Confirm] + [] ``` ### InputObject ``` -Set-Service [-InputObject] [-DisplayName ] [-Credential ] - [-Description ] [-StartupType ] [-SecurityDescriptorSddl ] - [-Status ] [-Force] [-PassThru] [-WhatIf] [-Confirm] [] +Set-Service [-InputObject] [-DisplayName ] + [-Credential ] [-Description ] [-StartupType ] + [-SecurityDescriptorSddl ] [-Status ] [-Force] [-PassThru] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Set-TimeZone.md b/reference/7.7/Microsoft.PowerShell.Management/Set-TimeZone.md index 68abf14548d..22c75a5e60a 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Set-TimeZone.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Set-TimeZone.md @@ -32,7 +32,8 @@ Set-TimeZone -Id [-PassThru] [-WhatIf] [-Confirm] [] ### InputObject ``` -Set-TimeZone [-InputObject] [-PassThru] [-WhatIf] [-Confirm] [] +Set-TimeZone [-InputObject] [-PassThru] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Split-Path.md b/reference/7.7/Microsoft.PowerShell.Management/Split-Path.md index 3225f1f3068..afb6d7b4ad1 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Split-Path.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Split-Path.md @@ -25,7 +25,8 @@ Split-Path [-Path] [-Parent] [-Resolve] [-Credential ] ### LeafSet ``` -Split-Path [-Path] -Leaf [-Resolve] [-Credential ] [] +Split-Path [-Path] -Leaf [-Resolve] [-Credential ] + [] ``` ### LeafBaseSet @@ -66,7 +67,8 @@ Split-Path [-Path] [-Resolve] -IsAbsolute [-Credential ### LiteralPathSet ``` -Split-Path -LiteralPath [-Resolve] [-Credential ] [] +Split-Path -LiteralPath [-Resolve] [-Credential ] + [] ``` ## DESCRIPTION @@ -299,8 +301,8 @@ Accept wildcard characters: False ### -NoQualifier Indicates that this cmdlet returns the path without the qualifier. For the FileSystem or registry -providers, the qualifier is the drive of the provider path, such as `C:` or `HKCU:`. For example, in the -path `C:\Test\Logs\Pass1.log`, it returns only `\Test\Logs\Pass1.log`. +providers, the qualifier is the drive of the provider path, such as `C:` or `HKCU:`. For example, in +the path `C:\Test\Logs\Pass1.log`, it returns only `\Test\Logs\Pass1.log`. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.7/Microsoft.PowerShell.Management/Start-Process.md b/reference/7.7/Microsoft.PowerShell.Management/Start-Process.md index 37622687c6b..c98d0f14a68 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Start-Process.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Start-Process.md @@ -19,19 +19,21 @@ Starts one or more processes on the local computer. ## SYNTAX ``` -Start-Process [-FilePath] [[-ArgumentList] ] [-Credential ] - [-WorkingDirectory ] [-LoadUserProfile] [-NoNewWindow] [-PassThru] - [-RedirectStandardError ] [-RedirectStandardInput ] - [-RedirectStandardOutput ] [-WindowStyle ] [-Wait] - [-UseNewEnvironment] [-Environment ] [-WhatIf] [-Confirm] [] +Start-Process [-FilePath] [[-ArgumentList] ] + [-Credential ] [-WorkingDirectory ] [-LoadUserProfile] + [-NoNewWindow] [-PassThru] [-RedirectStandardError ] + [-RedirectStandardInput ] [-RedirectStandardOutput ] + [-WindowStyle ] [-Wait] [-UseNewEnvironment] + [-Environment ] [-WhatIf] [-Confirm] [] ``` ### UseShellExecute ``` -Start-Process [-FilePath] [[-ArgumentList] ] [-WorkingDirectory ] - [-PassThru] [-Verb ] [-WindowStyle ] [-Wait] - [-Environment ] [-WhatIf] [-Confirm] [] +Start-Process [-FilePath] [[-ArgumentList] ] + [-WorkingDirectory ] [-PassThru] [-Verb ] + [-WindowStyle ] [-Wait] [-Environment ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Start-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Start-Service.md index ec59bf4c1ad..fbcd35edafb 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Start-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Start-Service.md @@ -20,22 +20,22 @@ Starts one or more stopped services. ### InputObject (Default) ``` -Start-Service [-InputObject] [-PassThru] [-Include ] [-Exclude ] - [-WhatIf] [-Confirm] [] +Start-Service [-InputObject] [-PassThru] [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### Default ``` -Start-Service [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] - [] +Start-Service [-Name] [-PassThru] [-Include ] [-Exclude ] + [-WhatIf] [-Confirm] [] ``` ### DisplayName ``` -Start-Service [-PassThru] -DisplayName [-Include ] [-Exclude ] [-WhatIf] - [-Confirm] [] +Start-Service [-PassThru] -DisplayName [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Stop-Process.md b/reference/7.7/Microsoft.PowerShell.Management/Stop-Process.md index 26ed4faf9b4..1fced9fb521 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Stop-Process.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Stop-Process.md @@ -21,19 +21,22 @@ Stops one or more running processes. ### Id (Default) ``` -Stop-Process [-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] +Stop-Process [-Id] [-PassThru] [-Force] [-WhatIf] [-Confirm] + [] ``` ### Name ``` -Stop-Process -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] [] +Stop-Process -Name [-PassThru] [-Force] [-WhatIf] [-Confirm] + [] ``` ### InputObject ``` -Stop-Process [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] +Stop-Process [-InputObject] [-PassThru] [-Force] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -274,7 +277,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Management/Stop-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Stop-Service.md index ad23ad9a195..fc8464df81e 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Stop-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Stop-Service.md @@ -20,22 +20,22 @@ Stops one or more running services. ### InputObject (Default) ``` -Stop-Service [-Force] [-NoWait] [-InputObject] [-PassThru] [-Include ] - [-Exclude ] [-WhatIf] [-Confirm] [] +Stop-Service [-Force] [-NoWait] [-InputObject] [-PassThru] + [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### Default ``` -Stop-Service [-Force] [-NoWait] [-Name] [-PassThru] [-Include ] [-Exclude ] - [-WhatIf] [-Confirm] [] +Stop-Service [-Force] [-NoWait] [-Name] [-PassThru] [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### DisplayName ``` -Stop-Service [-Force] [-NoWait] [-PassThru] -DisplayName [-Include ] [-Exclude ] - [-WhatIf] [-Confirm] [] +Stop-Service [-Force] [-NoWait] [-PassThru] -DisplayName [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Suspend-Service.md b/reference/7.7/Microsoft.PowerShell.Management/Suspend-Service.md index d363aa424e4..8ca94f5bb54 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Suspend-Service.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Suspend-Service.md @@ -18,22 +18,22 @@ Suspends (pauses) one or more running services. ### InputObject (Default) ``` -Suspend-Service [-InputObject] [-PassThru] [-Include ] [-Exclude ] - [-WhatIf] [-Confirm] [] +Suspend-Service [-InputObject] [-PassThru] [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### Default ``` -Suspend-Service [-Name] [-PassThru] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] - [] +Suspend-Service [-Name] [-PassThru] [-Include ] [-Exclude ] + [-WhatIf] [-Confirm] [] ``` ### DisplayName ``` -Suspend-Service [-PassThru] -DisplayName [-Include ] [-Exclude ] [-WhatIf] - [-Confirm] [] +Suspend-Service [-PassThru] -DisplayName [-Include ] + [-Exclude ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Test-Connection.md b/reference/7.7/Microsoft.PowerShell.Management/Test-Connection.md index 1a9554e3e95..eed105e4622 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Test-Connection.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Test-Connection.md @@ -26,9 +26,9 @@ Test-Connection [-TargetName] [-Ping] [-IPv4] [-IPv6] [-ResolveDestin ### RepeatPing ``` -Test-Connection [-TargetName] -Repeat [-Ping] [-IPv4] [-IPv6] [-ResolveDestination] - [-Source ] [-MaxHops ] [-Delay ] [-BufferSize ] [-DontFragment] [-Quiet] - [-TimeoutSeconds ] [] +Test-Connection [-TargetName] -Repeat [-Ping] [-IPv4] [-IPv6] + [-ResolveDestination] [-Source ] [-MaxHops ] [-Delay ] + [-BufferSize ] [-DontFragment] [-Quiet] [-TimeoutSeconds ] [] ``` ### TraceRoute @@ -41,16 +41,16 @@ Test-Connection [-TargetName] -Traceroute [-IPv4] [-IPv6] [-ResolveDe ### MtuSizeDetect ``` -Test-Connection [-TargetName] -MtuSize [-IPv4] [-IPv6] [-ResolveDestination] [-Quiet] - [-TimeoutSeconds ] [] +Test-Connection [-TargetName] -MtuSize [-IPv4] [-IPv6] [-ResolveDestination] + [-Quiet] [-TimeoutSeconds ] [] ``` ### TcpPort ``` -Test-Connection [-TargetName] -TcpPort [-IPv4] [-IPv6] [-ResolveDestination] - [-Source ] [-Count ] [-Delay ] [-Repeat] [-Quiet] [-TimeoutSeconds ] - [-Detailed] [] +Test-Connection [-TargetName] -TcpPort [-IPv4] [-IPv6] + [-ResolveDestination] [-Source ] [-Count ] [-Delay ] [-Repeat] + [-Quiet] [-TimeoutSeconds ] [-Detailed] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Management/Test-Path.md b/reference/7.7/Microsoft.PowerShell.Management/Test-Path.md index 013a920a2b7..5d8707139fb 100644 --- a/reference/7.7/Microsoft.PowerShell.Management/Test-Path.md +++ b/reference/7.7/Microsoft.PowerShell.Management/Test-Path.md @@ -17,31 +17,33 @@ Determines whether all elements of a path exist. ### Path (Default) - FileSystem provider ``` -Test-Path [-Path] [-Filter ] [-Include ] [-Exclude ] - [-PathType ] [-IsValid] [-Credential ] +Test-Path [-Path] [-Filter ] [-Include ] + [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] ``` ### LiteralPath - FileSystem provider ``` -Test-Path -LiteralPath [-Filter ] [-Include ] [-Exclude ] - [-PathType ] [-IsValid] [-Credential ] +Test-Path -LiteralPath [-Filter ] [-Include ] + [-Exclude ] [-PathType ] [-IsValid] [-Credential ] [-OlderThan ] [-NewerThan ] [] ``` ### Path (Default) - All providers ``` -Test-Path [-Path] [-Filter ] [-Include ] [-Exclude ] - [-PathType ] [-IsValid] [-Credential ] [] +Test-Path [-Path] [-Filter ] [-Include ] + [-Exclude ] [-PathType ] [-IsValid] [-Credential ] + [] ``` ### LiteralPath - All providers ``` -Test-Path -LiteralPath [-Filter ] [-Include ] [-Exclude ] - [-PathType ] [-IsValid] [-Credential ] [] +Test-Path -LiteralPath [-Filter ] [-Include ] + [-Exclude ] [-PathType ] [-IsValid] [-Credential ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/ConvertFrom-SecureString.md b/reference/7.7/Microsoft.PowerShell.Security/ConvertFrom-SecureString.md index 63b5ef84a2b..de81b78a9cc 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/ConvertFrom-SecureString.md +++ b/reference/7.7/Microsoft.PowerShell.Security/ConvertFrom-SecureString.md @@ -18,19 +18,22 @@ Converts a secure string to an encrypted standard string. ### Secure (Default) ``` -ConvertFrom-SecureString [-SecureString] [[-SecureKey] ] [] +ConvertFrom-SecureString [-SecureString] [[-SecureKey] ] + [] ``` ### AsPlainText ``` -ConvertFrom-SecureString [-SecureString] [-AsPlainText] [] +ConvertFrom-SecureString [-SecureString] [-AsPlainText] + [] ``` ### Open ``` -ConvertFrom-SecureString [-SecureString] [-Key ] [] +ConvertFrom-SecureString [-SecureString] [-Key ] + [] ``` ## DESCRIPTION @@ -173,7 +176,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Security/ConvertTo-SecureString.md b/reference/7.7/Microsoft.PowerShell.Security/ConvertTo-SecureString.md index 83d88f71779..c757ed45e69 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/ConvertTo-SecureString.md +++ b/reference/7.7/Microsoft.PowerShell.Security/ConvertTo-SecureString.md @@ -18,7 +18,8 @@ Converts plain text or encrypted strings to secure strings. ### Secure (Default) ``` -ConvertTo-SecureString [-String] [[-SecureKey] ] [] +ConvertTo-SecureString [-String] [[-SecureKey] ] + [] ``` ### PlainText @@ -86,13 +87,16 @@ variable. The fourth command displays the encrypted string in the value of the `$Encrypted` variable. The fifth command uses the `ConvertTo-SecureString` cmdlet to convert the encrypted standard string -in the `$Encrypted` variable back into a secure string. It saves the result in the `$Secure2` variable. -The sixth command displays the value of the `$Secure2` variable. The SecureString type indicates that -the command was successful. +in the `$Encrypted` variable back into a secure string. It saves the result in the `$Secure2` +variable. + +The sixth command displays the value of the `$Secure2` variable. The SecureString type indicates +that the command was successful. ### Example 2: Create a secure string from an encrypted string in a file -This example shows how to create a secure string from an encrypted standard string that is saved in a file. +This example shows how to create a secure string from an encrypted standard string that is saved in +a file. ```powershell $Secure = Read-Host -AsSecureString diff --git a/reference/7.7/Microsoft.PowerShell.Security/Get-AuthenticodeSignature.md b/reference/7.7/Microsoft.PowerShell.Security/Get-AuthenticodeSignature.md index 03b2eb6de01..604c430d238 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Get-AuthenticodeSignature.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Get-AuthenticodeSignature.md @@ -30,7 +30,8 @@ Get-AuthenticodeSignature -LiteralPath [] ### ByContent ``` -Get-AuthenticodeSignature -SourcePathOrExtension -Content [] +Get-AuthenticodeSignature -SourcePathOrExtension -Content + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/Get-Credential.md b/reference/7.7/Microsoft.PowerShell.Security/Get-Credential.md index 2f6acabb1a7..23327f66cee 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Get-Credential.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Get-Credential.md @@ -24,7 +24,8 @@ Get-Credential [[-Credential] ] [] ### MessageSet ``` -Get-Credential [-Message ] [[-UserName] ] [-Title ] [] +Get-Credential [-Message ] [[-UserName] ] [-Title ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/Get-ExecutionPolicy.md b/reference/7.7/Microsoft.PowerShell.Security/Get-ExecutionPolicy.md index 64b02d34497..eef0cd99ab9 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Get-ExecutionPolicy.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Get-ExecutionPolicy.md @@ -30,7 +30,8 @@ To display the execution policies for each scope in the order of precedence, use The effective execution policy is determined by execution policies that are set by `Set-ExecutionPolicy` and Group Policy settings. -For more information, see [about_Execution_Policies](../Microsoft.PowerShell.Core/about/about_Execution_Policies.md). +For more information, see +[about_Execution_Policies](../Microsoft.PowerShell.Core/about/about_Execution_Policies.md). ## EXAMPLES diff --git a/reference/7.7/Microsoft.PowerShell.Security/Get-PfxCertificate.md b/reference/7.7/Microsoft.PowerShell.Security/Get-PfxCertificate.md index 212c64c9300..3c34b1c5c30 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Get-PfxCertificate.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Get-PfxCertificate.md @@ -17,15 +17,15 @@ Gets information about PFX certificate files on the computer. ### ByPath (Default) ``` -Get-PfxCertificate [-FilePath] [-Password ] [-NoPromptForPassword] - [] +Get-PfxCertificate [-FilePath] [-Password ] + [-NoPromptForPassword] [] ``` ### ByLiteralPath ``` -Get-PfxCertificate -LiteralPath [-Password ] [-NoPromptForPassword] - [] +Get-PfxCertificate -LiteralPath [-Password ] + [-NoPromptForPassword] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/Protect-CmsMessage.md b/reference/7.7/Microsoft.PowerShell.Security/Protect-CmsMessage.md index 061a63c5a65..d134eb318a5 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Protect-CmsMessage.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Protect-CmsMessage.md @@ -17,21 +17,22 @@ Encrypts content by using the Cryptographic Message Syntax format. ### ByContent (Default) ``` -Protect-CmsMessage [-To] [-Content] [[-OutFile] ] - [] +Protect-CmsMessage [-To] [-Content] + [[-OutFile] ] [] ``` ### ByPath ``` -Protect-CmsMessage [-To] [-Path] [[-OutFile] ] [] +Protect-CmsMessage [-To] [-Path] [[-OutFile] ] + [] ``` ### ByLiteralPath ``` -Protect-CmsMessage [-To] [-LiteralPath] [[-OutFile] ] - [] +Protect-CmsMessage [-To] [-LiteralPath] + [[-OutFile] ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/Set-Acl.md b/reference/7.7/Microsoft.PowerShell.Security/Set-Acl.md index 71130f0a28a..dd74eef7259 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Set-Acl.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Set-Acl.md @@ -18,22 +18,24 @@ Changes the security descriptor of a specified item, such as a file or a registr ### ByPath (Default) ``` -Set-Acl [-Path] [-AclObject] [-ClearCentralAccessPolicy] [-PassThru] [-Filter ] - [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] +Set-Acl [-Path] [-AclObject] [-ClearCentralAccessPolicy] [-PassThru] + [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] + [] ``` ### ByInputObject ``` -Set-Acl [-InputObject] [-AclObject] [-PassThru] [-Filter ] [-Include ] - [-Exclude ] [-WhatIf] [-Confirm] [] +Set-Acl [-InputObject] [-AclObject] [-PassThru] [-Filter ] + [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] ``` ### ByLiteralPath ``` -Set-Acl -LiteralPath [-AclObject] [-ClearCentralAccessPolicy] [-PassThru] - [-Filter ] [-Include ] [-Exclude ] [-WhatIf] [-Confirm] [] +Set-Acl -LiteralPath [-AclObject] [-ClearCentralAccessPolicy] + [-PassThru] [-Filter ] [-Include ] [-Exclude ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md b/reference/7.7/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md index aa147cb5bda..8acb059f6de 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md @@ -18,8 +18,8 @@ Sets the PowerShell execution policies for Windows computers. ### All ``` -Set-ExecutionPolicy [-ExecutionPolicy] [[-Scope] ] [-Force] - [-WhatIf] [-Confirm] [] +Set-ExecutionPolicy [-ExecutionPolicy] [[-Scope] ] + [-Force] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Security/Test-FileCatalog.md b/reference/7.7/Microsoft.PowerShell.Security/Test-FileCatalog.md index a1b69de08c8..33ea3a2ac2c 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Test-FileCatalog.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Test-FileCatalog.md @@ -19,8 +19,8 @@ This cmdlet is only supported on Windows. ## SYNTAX ``` -Test-FileCatalog [-Detailed] [-FilesToSkip ] [-CatalogFilePath] [[-Path] ] - [-WhatIf] [-Confirm] [] +Test-FileCatalog [-Detailed] [-FilesToSkip ] [-CatalogFilePath] + [[-Path] ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -169,9 +169,10 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, --InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and --WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Security/Unprotect-CmsMessage.md b/reference/7.7/Microsoft.PowerShell.Security/Unprotect-CmsMessage.md index 68aa85615d2..354fd698c6f 100644 --- a/reference/7.7/Microsoft.PowerShell.Security/Unprotect-CmsMessage.md +++ b/reference/7.7/Microsoft.PowerShell.Security/Unprotect-CmsMessage.md @@ -39,8 +39,8 @@ Unprotect-CmsMessage [-Path] [[-To] ] [-IncludeC ### ByLiteralPath ``` -Unprotect-CmsMessage [-LiteralPath] [[-To] ] [-IncludeContext] - [] +Unprotect-CmsMessage [-LiteralPath] [[-To] ] + [-IncludeContext] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.ThreadJob/Start-ThreadJob.md b/reference/7.7/Microsoft.PowerShell.ThreadJob/Start-ThreadJob.md index afacc908df4..ac3b0b06281 100644 --- a/reference/7.7/Microsoft.PowerShell.ThreadJob/Start-ThreadJob.md +++ b/reference/7.7/Microsoft.PowerShell.ThreadJob/Start-ThreadJob.md @@ -17,17 +17,19 @@ Creates background jobs similar to the `Start-Job` cmdlet. ### ScriptBlock ``` -Start-ThreadJob [-ScriptBlock] [-Name ] [-InitializationScript ] - [-InputObject ] [-ArgumentList ] [-ThrottleLimit ] - [-StreamingHost ] [] +Start-ThreadJob [-ScriptBlock] [-Name ] + [-InitializationScript ] [-InputObject ] + [-ArgumentList ] [-ThrottleLimit ] [-StreamingHost ] + [] ``` ### FilePath ``` -Start-ThreadJob [-FilePath] [-Name ] [-InitializationScript ] - [-InputObject ] [-ArgumentList ] [-ThrottleLimit ] - [-StreamingHost ] [] +Start-ThreadJob [-FilePath] [-Name ] + [-InitializationScript ] [-InputObject ] + [-ArgumentList ] [-ThrottleLimit ] [-StreamingHost ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Add-Type.md b/reference/7.7/Microsoft.PowerShell.Utility/Add-Type.md index f69686ac7a1..0c320605447 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Add-Type.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Add-Type.md @@ -18,8 +18,9 @@ Adds a Microsoft .NET class to a PowerShell session. ### FromSource (Default) ``` -Add-Type [-TypeDefinition] [-Language ] [-ReferencedAssemblies ] - [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] +Add-Type [-TypeDefinition] [-Language ] + [-ReferencedAssemblies ] [-OutputAssembly ] + [-OutputType ] [-PassThru] [-IgnoreWarnings] [-CompilerOptions ] [] ``` @@ -28,24 +29,24 @@ Add-Type [-TypeDefinition] [-Language ] [-ReferencedAssemblie ``` Add-Type [-Name] [-MemberDefinition] [-Namespace ] [-UsingNamespace ] [-Language ] [-ReferencedAssemblies ] - [-OutputAssembly ] [-OutputType ] [-PassThru] [-IgnoreWarnings] - [-CompilerOptions ] [] + [-OutputAssembly ] [-OutputType ] [-PassThru] + [-IgnoreWarnings] [-CompilerOptions ] [] ``` ### FromPath ``` Add-Type [-Path] [-ReferencedAssemblies ] [-OutputAssembly ] - [-OutputType ] [-PassThru] [-IgnoreWarnings] [-CompilerOptions ] - [] + [-OutputType ] [-PassThru] [-IgnoreWarnings] + [-CompilerOptions ] [] ``` ### FromLiteralPath ``` -Add-Type -LiteralPath [-ReferencedAssemblies ] [-OutputAssembly ] - [-OutputType ] [-PassThru] [-IgnoreWarnings] [-CompilerOptions ] - [] +Add-Type -LiteralPath [-ReferencedAssemblies ] + [-OutputAssembly ] [-OutputType ] [-PassThru] + [-IgnoreWarnings] [-CompilerOptions ] [] ``` ### FromAssemblyName diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Clear-Variable.md b/reference/7.7/Microsoft.PowerShell.Utility/Clear-Variable.md index d34da401a00..06e52559bda 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Clear-Variable.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Clear-Variable.md @@ -18,8 +18,8 @@ Deletes the value of a variable. ## SYNTAX ``` -Clear-Variable [-Name] [-Include ] [-Exclude ] [-Force] [-PassThru] - [-Scope ] [-WhatIf] [-Confirm] [] +Clear-Variable [-Name] [-Include ] [-Exclude ] [-Force] + [-PassThru] [-Scope ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -165,7 +165,8 @@ The acceptable values for this parameter are: - `Script` You can also use a number relative to the current scope (0 through the number of scopes, where 0 is -the current scope and 1 is its parent). Local is the default. For more information, see [about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). +the current scope and 1 is its parent). Local is the default. For more information, see +[about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). ```yaml Type: System.String @@ -215,7 +216,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md index 9e74ea5aa83..510ec0d7ffb 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md @@ -10,7 +10,6 @@ title: ConvertFrom-Csv # ConvertFrom-Csv ## SYNOPSIS - Converts object properties in character-separated value (CSV) format into CSV versions of the original objects. @@ -26,7 +25,8 @@ ConvertFrom-Csv [[-Delimiter] ] [-InputObject] [-Header [-Header ] [] +ConvertFrom-Csv -UseCulture [-InputObject] [-Header ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md index 2b8ff05b07d..c2c2ec8d626 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md @@ -16,8 +16,8 @@ Converts a JSON-formatted string to a custom object or a hash table. ## SYNTAX ``` -ConvertFrom-Json [-InputObject] [-AsHashtable] [-DateKind ] [-Depth ] - [-NoEnumerate] [] +ConvertFrom-Json [-InputObject] [-AsHashtable] [-DateKind ] + [-Depth ] [-NoEnumerate] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Markdown.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Markdown.md index 75cf8c59338..33da9171d8b 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Markdown.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-Markdown.md @@ -161,7 +161,8 @@ Accept wildcard characters: True This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-SddlString.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-SddlString.md index aa9f900fc3b..5e8e10b2b4f 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-SddlString.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertFrom-SddlString.md @@ -18,7 +18,8 @@ Converts a SDDL string to a custom object. ### All ``` -ConvertFrom-SddlString [-Sddl] [-Type ] [] +ConvertFrom-SddlString [-Sddl] [-Type ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Csv.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Csv.md index a929561ff4a..3cd9a3e9046 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Csv.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Csv.md @@ -11,7 +11,6 @@ title: ConvertTo-Csv # ConvertTo-Csv ## SYNOPSIS - Converts .NET objects into a series of character-separated value (CSV) strings. ## SYNTAX @@ -27,8 +26,9 @@ ConvertTo-Csv [-InputObject] [[-Delimiter] ] [-IncludeTypeInfor ### UseCulture ``` -ConvertTo-Csv [-InputObject] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] - [-QuoteFields ] [-UseQuotes ] [-NoHeader] [] +ConvertTo-Csv [-InputObject] [-UseCulture] [-IncludeTypeInformation] + [-NoTypeInformation] [-QuoteFields ] [-UseQuotes ] [-NoHeader] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Html.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Html.md index 3817ffbfe0e..a73c5942466 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Html.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Html.md @@ -18,16 +18,16 @@ Converts .NET objects into HTML that can be displayed in a Web browser. ``` ConvertTo-Html [-InputObject ] [[-Property] ] [[-Body] ] - [[-Head] ] [[-Title] ] [-As ] [-CssUri ] [-PostContent ] - [-PreContent ] [-Meta ] [-Charset ] [-Transitional] - [] + [[-Head] ] [[-Title] ] [-As ] [-CssUri ] + [-PostContent ] [-PreContent ] [-Meta ] + [-Charset ] [-Transitional] [] ``` ### Fragment ``` -ConvertTo-Html [-InputObject ] [[-Property] ] [-As ] [-Fragment] - [-PostContent ] [-PreContent ] [] +ConvertTo-Html [-InputObject ] [[-Property] ] [-As ] + [-Fragment] [-PostContent ] [-PreContent ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Json.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Json.md index 86a8edc91f3..4efd370f413 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Json.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Json.md @@ -226,7 +226,8 @@ Accept wildcard characters: False ### -EnumsAsStrings -Provides an alternative serialization option that converts all enumerations to their string representation. +Provides an alternative serialization option that converts all enumerations to their string +representation. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Xml.md b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Xml.md index d656845488d..db1eb6ae104 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Xml.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/ConvertTo-Xml.md @@ -16,8 +16,8 @@ Creates an XML-based representation of an object. ## SYNTAX ``` -ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] [-As ] - [] +ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] + [-As ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Debug-Runspace.md b/reference/7.7/Microsoft.PowerShell.Utility/Debug-Runspace.md index cdf646d707b..4dd995c6a41 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Debug-Runspace.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Debug-Runspace.md @@ -18,7 +18,8 @@ Starts an interactive debugging session with a runspace. ### RunspaceParameterSet (Default) ``` -Debug-Runspace [-Runspace] [-BreakAll] [-WhatIf] [-Confirm] [] +Debug-Runspace [-Runspace] [-BreakAll] [-WhatIf] [-Confirm] + [] ``` ### NameParameterSet diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Disable-PSBreakpoint.md b/reference/7.7/Microsoft.PowerShell.Utility/Disable-PSBreakpoint.md index 8b50b8f1cd2..455a02578b5 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Disable-PSBreakpoint.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Disable-PSBreakpoint.md @@ -27,8 +27,8 @@ Disable-PSBreakpoint [-PassThru] [-Breakpoint] [-WhatIf] [-Confir ### Id ``` -Disable-PSBreakpoint [-PassThru] [-Id] [-Runspace ] [-WhatIf] [-Confirm] - [] +Disable-PSBreakpoint [-PassThru] [-Id] [-Runspace ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Disable-RunspaceDebug.md b/reference/7.7/Microsoft.PowerShell.Utility/Disable-RunspaceDebug.md index 10fa8403555..e60ab465524 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Disable-RunspaceDebug.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Disable-RunspaceDebug.md @@ -41,7 +41,8 @@ Disable-RunspaceDebug [-RunspaceInstanceId] [] ### ProcessNameParameterSet ``` -Disable-RunspaceDebug [[-ProcessName] ] [[-AppDomainName] ] [] +Disable-RunspaceDebug [[-ProcessName] ] [[-AppDomainName] ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Enable-PSBreakpoint.md b/reference/7.7/Microsoft.PowerShell.Utility/Enable-PSBreakpoint.md index 4ae2884d169..47f1e2ae22a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Enable-PSBreakpoint.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Enable-PSBreakpoint.md @@ -27,8 +27,8 @@ Enable-PSBreakpoint [-PassThru] [-Breakpoint] [-WhatIf] [-Confirm ### Id ``` -Enable-PSBreakpoint [-PassThru] [-Id] [-Runspace ] [-WhatIf] [-Confirm] - [] +Enable-PSBreakpoint [-PassThru] [-Id] [-Runspace ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Enable-RunspaceDebug.md b/reference/7.7/Microsoft.PowerShell.Utility/Enable-RunspaceDebug.md index 81a3126619e..cefaa245b52 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Enable-RunspaceDebug.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Enable-RunspaceDebug.md @@ -41,7 +41,8 @@ Enable-RunspaceDebug [-RunspaceInstanceId] [] ### ProcessNameParameterSet ``` -Enable-RunspaceDebug [[-ProcessName] ] [[-AppDomainName] ] [] +Enable-RunspaceDebug [[-ProcessName] ] [[-AppDomainName] ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Export-Alias.md b/reference/7.7/Microsoft.PowerShell.Utility/Export-Alias.md index 48a4f2b5668..d9c83978b6a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Export-Alias.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Export-Alias.md @@ -20,17 +20,17 @@ Exports information about currently defined aliases to a file. ### ByPath (Default) ``` -Export-Alias [-Path] [[-Name] ] [-PassThru] [-As ] [-Append] - [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] - [] +Export-Alias [-Path] [[-Name] ] [-PassThru] [-As ] + [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] + [-Confirm] [] ``` ### ByLiteralPath ``` -Export-Alias -LiteralPath [[-Name] ] [-PassThru] [-As ] - [-Append] [-Force] [-NoClobber] [-Description ] [-Scope ] [-WhatIf] [-Confirm] - [] +Export-Alias -LiteralPath [[-Name] ] [-PassThru] + [-As ] [-Append] [-Force] [-NoClobber] [-Description ] + [-Scope ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Export-Clixml.md b/reference/7.7/Microsoft.PowerShell.Utility/Export-Clixml.md index d7b9061cf7c..452ceb83170 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Export-Clixml.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Export-Clixml.md @@ -18,15 +18,15 @@ Creates an XML-based representation of an object or objects and stores it in a f ### ByPath (Default) ``` -Export-Clixml [-Depth ] [-Path] -InputObject [-Force] [-NoClobber] - [-Encoding ] [-WhatIf] [-Confirm] [] +Export-Clixml [-Depth ] [-Path] -InputObject [-Force] + [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] ``` ### ByLiteralPath ``` -Export-Clixml [-Depth ] -LiteralPath -InputObject [-Force] [-NoClobber] - [-Encoding ] [-WhatIf] [-Confirm] [] +Export-Clixml [-Depth ] -LiteralPath -InputObject [-Force] + [-NoClobber] [-Encoding ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Export-Csv.md b/reference/7.7/Microsoft.PowerShell.Utility/Export-Csv.md index 2e160a1564c..6f2be0a446a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Export-Csv.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Export-Csv.md @@ -13,7 +13,6 @@ title: Export-Csv # Export-Csv ## SYNOPSIS - Converts objects into a series of character-separated value (CSV) strings and saves the strings to a file. @@ -22,19 +21,19 @@ file. ### Delimiter (Default) ``` -Export-Csv -InputObject [[-Path] ] [-LiteralPath ] [-Force] [-NoClobber] - [-Encoding ] [-Append] [[-Delimiter] ] [-IncludeTypeInformation] - [-NoTypeInformation] [-QuoteFields ] [-UseQuotes ] [-NoHeader] [-WhatIf] - [-Confirm] [] +Export-Csv -InputObject [[-Path] ] [-LiteralPath ] [-Force] + [-NoClobber] [-Encoding ] [-Append] [[-Delimiter] ] + [-IncludeTypeInformation] [-NoTypeInformation] [-QuoteFields ] + [-UseQuotes ] [-NoHeader] [-WhatIf] [-Confirm] [] ``` ### UseCulture ``` -Export-Csv -InputObject [[-Path] ] [-LiteralPath ] [-Force] [-NoClobber] - [-Encoding ] [-Append] [-UseCulture] [-IncludeTypeInformation] [-NoTypeInformation] - [-QuoteFields ] [-UseQuotes ] [-NoHeader] [-WhatIf] [-Confirm] - [] +Export-Csv -InputObject [[-Path] ] [-LiteralPath ] [-Force] + [-NoClobber] [-Encoding ] [-Append] [-UseCulture] [-IncludeTypeInformation] + [-NoTypeInformation] [-QuoteFields ] [-UseQuotes ] [-NoHeader] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -145,11 +144,12 @@ Get-Content -Path .\Processes.csv The `Get-Culture` cmdlet uses the nested properties **TextInfo** and **ListSeparator** and displays the current culture's default list separator. The `Get-Process` cmdlet gets **Process** objects. The process objects are sent down the pipeline to the `Export-Csv` cmdlet. `Export-Csv` converts the -process objects to a series of CSV strings. The **Path** parameter specifies that the `Processes.csv` -file is saved in the current directory. The **UseCulture** parameter uses the current culture's -default list separator as the delimiter. The **NoTypeInformation** parameter removes the **#TYPE** -information header from the CSV output and is not required in PowerShell 6. The `Get-Content` cmdlet -uses the **Path** parameter to display the file located in the current directory. +process objects to a series of CSV strings. The **Path** parameter specifies that the +`Processes.csv` file is saved in the current directory. The **UseCulture** parameter uses the +current culture's default list separator as the delimiter. The **NoTypeInformation** parameter +removes the **#TYPE** information header from the CSV output and is not required in PowerShell 6. +The `Get-Content` cmdlet uses the **Path** parameter to display the file located in the current +directory. ### Example 5: Export processes with type information @@ -256,10 +256,10 @@ Get-Content -Path .\FTDateTime.csv The `Get-Date` cmdlet gets the **DateTime** object. The object is sent down the pipeline to the `Select-Object` cmdlet. `Select-Object` uses the **Property** parameter to select a subset of object properties. The object is sent down the pipeline to the `Export-Csv` cmdlet. `Export-Csv` converts -the object to a CSV format. The **Path** parameter specifies that the `DateTime.csv` file is saved in -the current directory. The **NoTypeInformation** parameter removes the **#TYPE** information header -from the CSV output and is not required in PowerShell 6. The `Get-Content` cmdlet uses the **Path** -parameter to display the CSV file located in the current directory. +the object to a CSV format. The **Path** parameter specifies that the `DateTime.csv` file is saved +in the current directory. The **NoTypeInformation** parameter removes the **#TYPE** information +header from the CSV output and is not required in PowerShell 6. The `Get-Content` cmdlet uses the +**Path** parameter to display the CSV file located in the current directory. When the `Format-Table` cmdlet is used within the pipeline to select properties unexpected results are received. `Format-Table` sends table format objects down the pipeline to the `Export-Csv` cmdlet diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Export-FormatData.md b/reference/7.7/Microsoft.PowerShell.Utility/Export-FormatData.md index b8c26b715e7..a0f11bff5d4 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Export-FormatData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Export-FormatData.md @@ -17,15 +17,15 @@ Saves formatting data from the current session in a formatting file. ### ByPath (Default) ``` -Export-FormatData -InputObject -Path [-Force] [-NoClobber] - [-IncludeScriptBlock] [] +Export-FormatData -InputObject -Path [-Force] + [-NoClobber] [-IncludeScriptBlock] [] ``` ### ByLiteralPath ``` -Export-FormatData -InputObject -LiteralPath [-Force] [-NoClobber] - [-IncludeScriptBlock] [] +Export-FormatData -InputObject -LiteralPath [-Force] + [-NoClobber] [-IncludeScriptBlock] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Export-PSSession.md b/reference/7.7/Microsoft.PowerShell.Utility/Export-PSSession.md index ee6dcd89966..8bf18d012a5 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Export-PSSession.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Export-PSSession.md @@ -12,7 +12,6 @@ title: Export-PSSession # Export-PSSession ## SYNOPSIS - Exports commands from another session and saves them in a PowerShell module. ## SYNTAX @@ -22,9 +21,9 @@ Exports commands from another session and saves them in a PowerShell module. ``` Export-PSSession [-OutputModule] [-Force] [-Encoding ] [[-CommandName] ] [-AllowClobber] [-ArgumentList ] - [-CommandType ] [-Module ] [-FullyQualifiedModule ] - [[-FormatTypeName] ] [-Certificate ] [-Session] - [] + [-CommandType ] [-Module ] + [-FullyQualifiedModule ] [[-FormatTypeName] ] + [-Certificate ] [-Session] [] ``` ## DESCRIPTION @@ -293,7 +292,8 @@ The acceptable values for this parameter are as follows: (`$Env:PATH`). - `Filter` and `Function`: All PowerShell functions. - `Script` Script files accessible in the current session. -- `Workflow` A PowerShell workflow. For more information, see [about_Workflows](/powershell/module/PSWorkflow/About/about_Workflows). +- `Workflow` A PowerShell workflow. For more information, see + [about_Workflows](/powershell/module/PSWorkflow/About/about_Workflows). These values are defined as a flag-based enumeration. You can combine multiple values together to set multiple flags using this parameter. The values can be passed to the **CommandType** parameter diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Format-Custom.md b/reference/7.7/Microsoft.PowerShell.Utility/Format-Custom.md index a242da3f4c3..dd6c4bfccd8 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Format-Custom.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Format-Custom.md @@ -18,8 +18,8 @@ Uses a customized view to format the output. ``` Format-Custom [[-Property] ] [-ExcludeProperty ] [-Depth ] - [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] - [-InputObject ] [] + [-GroupBy ] [-View ] [-ShowError] [-DisplayError] [-Force] + [-Expand ] [-InputObject ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Format-Hex.md b/reference/7.7/Microsoft.PowerShell.Utility/Format-Hex.md index a7ac54445fd..352abfecff6 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Format-Hex.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Format-Hex.md @@ -13,7 +13,6 @@ title: Format-Hex # Format-Hex ## SYNOPSIS - Displays a file or other input as hexadecimal. ## SYNTAX @@ -33,8 +32,8 @@ Format-Hex -LiteralPath [-Count ] [-Offset ] [ [-Encoding ] [-Count ] [-Offset ] [-Raw] - [] +Format-Hex -InputObject [-Encoding ] [-Count ] + [-Offset ] [-Raw] [] ``` ## DESCRIPTION @@ -261,7 +260,8 @@ Specifies the complete path to a file. The value of **LiteralPath** is used exac This parameter does not accept wildcard characters. To specify multiple paths to files, separate the paths with a comma. If the **LiteralPath** parameter includes escape characters, enclose the path in single quotation marks. PowerShell does not interpret any characters in a single quoted string as -escape sequences. For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). +escape sequences. For more information, see +[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml Type: System.String[] @@ -332,7 +332,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Format-List.md b/reference/7.7/Microsoft.PowerShell.Utility/Format-List.md index f69b586f7ce..8c34bc9febe 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Format-List.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Format-List.md @@ -18,8 +18,8 @@ Formats the output as a list of properties in which each property appears on a n ``` Format-List [[-Property] ] [-ExcludeProperty ] [-GroupBy ] - [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] [-InputObject ] - [] + [-View ] [-ShowError] [-DisplayError] [-Force] [-Expand ] + [-InputObject ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Format-Table.md b/reference/7.7/Microsoft.PowerShell.Utility/Format-Table.md index 009c2d83477..c2edb83d764 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Format-Table.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Format-Table.md @@ -17,9 +17,10 @@ Formats the output as a table. ## SYNTAX ``` -Format-Table [[-Property] ] [-AutoSize] [-RepeatHeader] [-HideTableHeaders] [-Wrap] - [-ExcludeProperty ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] - [-Force] [-Expand ] [-InputObject ] [] +Format-Table [[-Property] ] [-AutoSize] [-RepeatHeader] [-HideTableHeaders] + [-Wrap] [-ExcludeProperty ] [-GroupBy ] [-View ] [-ShowError] + [-DisplayError] [-Force] [-Expand ] [-InputObject ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Format-Wide.md b/reference/7.7/Microsoft.PowerShell.Utility/Format-Wide.md index e279a1c3c57..c593da5f186 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Format-Wide.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Format-Wide.md @@ -17,9 +17,10 @@ Formats objects as a wide table that displays only one property of each object. ## SYNTAX ``` -Format-Wide [[-Property] ] [-AutoSize] [-RepeatHeader] [-HideTableHeaders] [-Wrap] - [-ExcludeProperty ] [-GroupBy ] [-View ] [-ShowError] [-DisplayError] - [-Force] [-Expand ] [-InputObject ] [] +Format-Wide [[-Property] ] [-AutoSize] [-RepeatHeader] [-HideTableHeaders] + [-Wrap] [-ExcludeProperty ] [-GroupBy ] [-View ] [-ShowError] + [-DisplayError] [-Force] [-Expand ] [-InputObject ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-Alias.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-Alias.md index 63b007c5b95..24cac2f1237 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-Alias.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-Alias.md @@ -20,13 +20,15 @@ Gets the aliases for the current session. ### Default (Default) ``` -Get-Alias [[-Name] ] [-Exclude ] [-Scope ] [] +Get-Alias [[-Name] ] [-Exclude ] [-Scope ] + [] ``` ### Definition ``` -Get-Alias [-Exclude ] [-Scope ] [-Definition ] [] +Get-Alias [-Exclude ] [-Scope ] [-Definition ] + [] ``` ## DESCRIPTION @@ -182,7 +184,8 @@ are: - A number relative to the current scope (0 through the number of scopes, where 0 is the current scope and 1 is its parent) -`Local` is the default. For more information, see [about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). +`Local` is the default. For more information, see +[about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). ```yaml Type: System.String @@ -200,7 +203,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-Date.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-Date.md index 5c29f52f20c..93ea7528b34 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-Date.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-Date.md @@ -18,33 +18,33 @@ Gets the current date and time. ### DateAndFormat (Default) ``` -Get-Date [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] - [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] - [-Format ] [-AsUTC] [] +Get-Date [[-Date] ] [-Year ] [-Month ] [-Day ] + [-Hour ] [-Minute ] [-Second ] [-Millisecond ] + [-DisplayHint ] [-Format ] [-AsUTC] [] ``` ### DateAndUFormat ``` -Get-Date [[-Date] ] [-Year ] [-Month ] [-Day ] [-Hour ] - [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] - -UFormat [] +Get-Date [[-Date] ] [-Year ] [-Month ] [-Day ] + [-Hour ] [-Minute ] [-Second ] [-Millisecond ] + [-DisplayHint ] -UFormat [] ``` ### UnixTimeSecondsAndFormat ``` -Get-Date -UnixTimeSeconds [-Year ] [-Month ] [-Day ] [-Hour ] - [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] - [-Format ] [-AsUTC] [] +Get-Date -UnixTimeSeconds [-Year ] [-Month ] [-Day ] + [-Hour ] [-Minute ] [-Second ] [-Millisecond ] + [-DisplayHint ] [-Format ] [-AsUTC] [] ``` ### UnixTimeSecondsAndUFormat ``` -Get-Date -UnixTimeSeconds [-Year ] [-Month ] [-Day ] [-Hour ] - [-Minute ] [-Second ] [-Millisecond ] [-DisplayHint ] - -UFormat [] +Get-Date -UnixTimeSeconds [-Year ] [-Month ] [-Day ] + [-Hour ] [-Minute ] [-Second ] [-Millisecond ] + [-DisplayHint ] -UFormat [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-Error.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-Error.md index e2dc64dfb0e..9f9b2723356 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-Error.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-Error.md @@ -13,7 +13,6 @@ title: Get-Error # Get-Error ## SYNOPSIS - Gets and displays the most recent error messages from the current session. ## SYNTAX @@ -157,7 +156,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-FormatData.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-FormatData.md index 9121fb15433..417c4793e01 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-FormatData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-FormatData.md @@ -16,7 +16,8 @@ Gets the formatting data in the current session. ## SYNTAX ``` -Get-FormatData [[-TypeName] ] [-PowerShellVersion ] [] +Get-FormatData [[-TypeName] ] [-PowerShellVersion ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-Host.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-Host.md index 947e8fef5ca..a13db7acf2f 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-Host.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-Host.md @@ -234,7 +234,8 @@ use these features interchangeably. > variable. For more information, see > [about_ANSI_Terminals](../Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md). -For more information, see [about_Automatic_Variables](../Microsoft.PowerShell.Core/About/about_Automatic_Variables.md). +For more information, see +[about_Automatic_Variables](../Microsoft.PowerShell.Core/About/about_Automatic_Variables.md). ## RELATED LINKS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-PSBreakpoint.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-PSBreakpoint.md index 86f4a33db73..1575669dbe9 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-PSBreakpoint.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-PSBreakpoint.md @@ -26,19 +26,22 @@ Get-PSBreakpoint [[-Script] ] [-Runspace ] [] -Command [-Runspace ] [] +Get-PSBreakpoint [[-Script] ] -Command [-Runspace ] + [] ``` ### Variable ``` -Get-PSBreakpoint [[-Script] ] -Variable [-Runspace ] [] +Get-PSBreakpoint [[-Script] ] -Variable [-Runspace ] + [] ``` ### Type ``` -Get-PSBreakpoint [[-Script] ] [-Type] [-Runspace ] [] +Get-PSBreakpoint [[-Script] ] [-Type] [-Runspace ] + [] ``` ### Id diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-Random.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-Random.md index a24001ab1ba..ee435f6b82d 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-Random.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-Random.md @@ -25,7 +25,8 @@ Get-Random [-SetSeed ] [[-Maximum] ] [-Minimum ] [-Count ### RandomListItemParameterSet ``` -Get-Random [-SetSeed ] [-InputObject] [-Count ] [] +Get-Random [-SetSeed ] [-InputObject] [-Count ] + [] ``` ### ShuffleParameterSet diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-RunspaceDebug.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-RunspaceDebug.md index eb1c3421e53..0660490c325 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-RunspaceDebug.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-RunspaceDebug.md @@ -41,7 +41,8 @@ Get-RunspaceDebug [-RunspaceInstanceId] [] ### ProcessNameParameterSet ``` -Get-RunspaceDebug [[-ProcessName] ] [[-AppDomainName] ] [] +Get-RunspaceDebug [[-ProcessName] ] [[-AppDomainName] ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-SecureRandom.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-SecureRandom.md index 00454b14ce2..c76052dde96 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-SecureRandom.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-SecureRandom.md @@ -18,7 +18,8 @@ Gets a random number, or selects objects randomly from a collection. ### RandomNumberParameterSet (Default) ``` -Get-SecureRandom [[-Maximum] ] [-Minimum ] [-Count ] [] +Get-SecureRandom [[-Maximum] ] [-Minimum ] [-Count ] + [] ``` ### RandomListItemParameterSet @@ -205,8 +206,8 @@ In this example, the **InputObject** parameter specifies an array that contains Get-SecureRandom -InputObject @('a','',$null) ``` -`Get-SecureRandom` returns either `a`, empty string, or `$null`. The empty string displays as a blank -line and `$null` returns to a PowerShell prompt. +`Get-SecureRandom` returns either `a`, empty string, or `$null`. The empty string displays as a +blank line and `$null` returns to a PowerShell prompt. ## PARAMETERS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-TraceSource.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-TraceSource.md index 695c4d7109e..5243a23eb80 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-TraceSource.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-TraceSource.md @@ -69,7 +69,8 @@ Accept wildcard characters: True This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-TypeData.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-TypeData.md index b1b00b1b516..ab8575501e8 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-TypeData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-TypeData.md @@ -99,9 +99,9 @@ else { The command uses the `Get-TypeData` cmdlet to get the extended type data for the **System.DataTime** type. The command gets the **Members** property of the **TypeData** object. -The **Members** property contains a hash table of properties and methods that are defined by extended -type data. Each key in the Members hash table is a property or method name and each value is the -definition of the property or method value. +The **Members** property contains a hash table of properties and methods that are defined by +extended type data. Each key in the Members hash table is a property or method name and each value +is the definition of the property or method value. The command gets the **DateTime** key in **Members** and its **GetScriptBlock** property value. diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Get-Variable.md b/reference/7.7/Microsoft.PowerShell.Utility/Get-Variable.md index fc9c2978744..c412e2f60b1 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Get-Variable.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Get-Variable.md @@ -18,8 +18,8 @@ Gets the variables in the current console. ## SYNTAX ``` -Get-Variable [[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] [-Scope ] - [] +Get-Variable [[-Name] ] [-ValueOnly] [-Include ] [-Exclude ] + [-Scope ] [] ``` ## DESCRIPTION @@ -168,7 +168,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Import-Alias.md b/reference/7.7/Microsoft.PowerShell.Utility/Import-Alias.md index b28fa65a37a..6cf838e1ad4 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Import-Alias.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Import-Alias.md @@ -20,22 +20,25 @@ Imports an alias list from a file. ### ByPath (Default) ``` -Import-Alias [-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] +Import-Alias [-Path] [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] + [] ``` ### ByLiteralPath ``` -Import-Alias -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] [-Confirm] - [] +Import-Alias -LiteralPath [-Scope ] [-PassThru] [-Force] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION The `Import-Alias` cmdlet imports an alias list from a file. -Beginning in Windows PowerShell 3.0, as a security feature, `Import-Alias` does not overwrite existing aliases by default. -To overwrite an existing alias, after assuring that the contents of the alias file is safe, use the **Force** parameter. +Beginning in Windows PowerShell 3.0, as a security feature, `Import-Alias` does not overwrite +existing aliases by default. +To overwrite an existing alias, after assuring that the contents of the alias file is safe, use the +**Force** parameter. ## EXAMPLES @@ -54,9 +57,12 @@ This command imports alias information from a file named test.txt. Allows the cmdlet to import an alias that is already defined or is read only. You can use the following command to display information about the currently-defined aliases: -`Get-Alias | Select-Object Name, Options` +```powershell +Get-Alias | Select-Object Name, Options +``` -If the corresponding alias is read-only, it will be displayed in the value of the **Options** property. +If the corresponding alias is read-only, it will be displayed in the value of the **Options** +property. ```yaml Type: System.Management.Automation.SwitchParameter @@ -73,8 +79,8 @@ Accept wildcard characters: False ### -LiteralPath Specifies the path to a file that includes exported alias information. -Unlike the **Path** parameter, the value of the **LiteralPath** parameter is used exactly as it is typed. -No characters are interpreted as wildcards. +Unlike the **Path** parameter, the value of the **LiteralPath** parameter is used exactly as it is +typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences. @@ -132,7 +138,8 @@ The acceptable values for this parameter are: - Global - Local - Script -- A number relative to the current scope (0 through the number of scopes, where 0 is the current scope and 1 is its parent) +- A number relative to the current scope (0 through the number of scopes, where 0 is the current + scope and 1 is its parent) The default is Local. For more information, see [about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). @@ -184,7 +191,10 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Import-Clixml.md b/reference/7.7/Microsoft.PowerShell.Utility/Import-Clixml.md index ad98bb9a591..3ce8e6d17d6 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Import-Clixml.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Import-Clixml.md @@ -25,8 +25,8 @@ Import-Clixml [-Path] [-IncludeTotalCount] [-Skip ] [-First < ### ByLiteralPath ``` -Import-Clixml -LiteralPath [-IncludeTotalCount] [-Skip ] [-First ] - [] +Import-Clixml -LiteralPath [-IncludeTotalCount] [-Skip ] + [-First ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Import-Csv.md b/reference/7.7/Microsoft.PowerShell.Utility/Import-Csv.md index fb54254ee84..6c3d09316f0 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Import-Csv.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Import-Csv.md @@ -13,7 +13,6 @@ title: Import-Csv # Import-Csv ## SYNOPSIS - Creates table-like custom objects from the items in a character-separated value (CSV) file. ## SYNTAX @@ -21,15 +20,15 @@ Creates table-like custom objects from the items in a character-separated value ### DelimiterPath (Default) ``` -Import-Csv [[-Delimiter] ] [-Path] [-Header ] [-Encoding ] - [] +Import-Csv [[-Delimiter] ] [-Path] [-Header ] + [-Encoding ] [] ``` ### DelimiterLiteralPath ``` -Import-Csv [[-Delimiter] ] -LiteralPath [-Header ] [-Encoding ] - [] +Import-Csv [[-Delimiter] ] -LiteralPath [-Header ] + [-Encoding ] [] ``` ### CulturePath diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Import-LocalizedData.md b/reference/7.7/Microsoft.PowerShell.Utility/Import-LocalizedData.md index f6362d59706..ba1be52bb2d 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Import-LocalizedData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Import-LocalizedData.md @@ -17,8 +17,9 @@ for the operating system. ## SYNTAX ``` -Import-LocalizedData [[-BindingVariable] ] [[-UICulture] ] [-BaseDirectory ] - [-FileName ] [-SupportedCommand ] [] +Import-LocalizedData [[-BindingVariable] ] [[-UICulture] ] + [-BaseDirectory ] [-FileName ] [-SupportedCommand ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Import-PSSession.md b/reference/7.7/Microsoft.PowerShell.Utility/Import-PSSession.md index 8d44c028725..2f7931ca4f5 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Import-PSSession.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Import-PSSession.md @@ -17,10 +17,11 @@ Imports commands from another session into the current session. ## SYNTAX ``` -Import-PSSession [-Prefix ] [-DisableNameChecking] [[-CommandName] ] [-AllowClobber] - [-ArgumentList ] [-CommandType ] [-Module ] - [-FullyQualifiedModule ] [[-FormatTypeName] ] - [-Certificate ] [-Session] [] +Import-PSSession [-Prefix ] [-DisableNameChecking] [[-CommandName] ] + [-AllowClobber] [-ArgumentList ] [-CommandType ] + [-Module ] [-FullyQualifiedModule ] + [[-FormatTypeName] ] [-Certificate ] [-Session] + [] ``` ## DESCRIPTION @@ -281,8 +282,8 @@ Function Start-BitsTransfer Function Suspend-BitsTransfer ``` -This command shows how to use the **Module** parameter of `Get-Command` to find out which commands were -imported into the session by an `Import-PSSession` command. +This command shows how to use the **Module** parameter of `Get-Command` to find out which commands +were imported into the session by an `Import-PSSession` command. The first command uses the `Import-PSSession` cmdlet to import commands whose names include "bits" from the PSSession in the `$S` variable. The `Import-PSSession` command returns a temporary module, @@ -528,7 +529,8 @@ and module names. Wildcards are not permitted. `Import-PSSession` cannot import providers from a snap-in. -For more information, see [about_PSSnapins](/powershell/module/Microsoft.PowerShell.Core/About/about_PSSnapins) +For more information, see +[about_PSSnapins](/powershell/module/Microsoft.PowerShell.Core/About/about_PSSnapins) and [about_Modules](../Microsoft.PowerShell.Core/About/about_Modules.md). ```yaml diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Invoke-RestMethod.md b/reference/7.7/Microsoft.PowerShell.Utility/Invoke-RestMethod.md index f95d3552f41..ed9b7898293 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Invoke-RestMethod.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Invoke-RestMethod.md @@ -21,57 +21,65 @@ Sends an HTTP or HTTPS request to a RESTful web service. ``` Invoke-RestMethod [-FollowRelLink] [-MaximumFollowRelLink ] - [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] [-Uri] - [-HttpVersion ] [-WebSession ] [-SessionVariable ] - [-AllowUnencryptedAuthentication] [-Authentication ] - [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] + [-Uri] [-HttpVersion ] [-WebSession ] + [-SessionVariable ] [-AllowUnencryptedAuthentication] + [-Authentication ] [-Credential ] + [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] [-Method ] [-PreserveHttpMethodOnRedirect] [-UnixSocket ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-Body ] [-Form ] [-ContentType ] - [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-Resume] - [-SkipHttpErrorCheck] [] + [-ProxyUseDefaultCredentials] [-Body ] [-Form ] + [-ContentType ] [-TransferEncoding ] [-InFile ] + [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] ``` ### StandardMethodNoProxy ``` Invoke-RestMethod [-FollowRelLink] [-MaximumFollowRelLink ] - [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] [-Uri] - [-HttpVersion ] [-WebSession ] [-SessionVariable ] - [-AllowUnencryptedAuthentication] [-Authentication ] - [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] + [-Uri] [-HttpVersion ] [-WebSession ] + [-SessionVariable ] [-AllowUnencryptedAuthentication] + [-Authentication ] [-Credential ] + [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] [-Method ] [-PreserveHttpMethodOnRedirect] - [-UnixSocket ] [-NoProxy] [-Body ] [-Form ] - [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] - [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] + [-UnixSocket ] [-NoProxy] [-Body ] + [-Form ] [-ContentType ] [-TransferEncoding ] + [-InFile ] [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] + [] ``` ### CustomMethod ``` Invoke-RestMethod [-FollowRelLink] [-MaximumFollowRelLink ] - [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] [-Uri] - [-HttpVersion ] [-WebSession ] [-SessionVariable ] - [-AllowUnencryptedAuthentication] [-Authentication ] - [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] + [-Uri] [-HttpVersion ] [-WebSession ] + [-SessionVariable ] [-AllowUnencryptedAuthentication] + [-Authentication ] [-Credential ] + [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] - -CustomMethod [-PreserveHttpMethodOnRedirect] [-UnixSocket ] - [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] - [-Form ] [-ContentType ] [-TransferEncoding ] [-InFile ] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] + -CustomMethod [-PreserveHttpMethodOnRedirect] + [-UnixSocket ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-Body ] [-Form ] + [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] ``` @@ -79,17 +87,19 @@ Invoke-RestMethod [-FollowRelLink] [-MaximumFollowRelLink ] ``` Invoke-RestMethod [-FollowRelLink] [-MaximumFollowRelLink ] - [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] [-Uri] - [-HttpVersion ] [-WebSession ] [-SessionVariable ] - [-AllowUnencryptedAuthentication] [-Authentication ] - [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-ResponseHeadersVariable ] [-StatusCodeVariable ] [-UseBasicParsing] + [-Uri] [-HttpVersion ] [-WebSession ] + [-SessionVariable ] [-AllowUnencryptedAuthentication] + [-Authentication ] [-Credential ] + [-UseDefaultCredentials] [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] - -CustomMethod [-PreserveHttpMethodOnRedirect] [-UnixSocket ] - [-NoProxy] [-Body ] [-Form ] [-ContentType ] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] -CustomMethod + [-PreserveHttpMethodOnRedirect] [-UnixSocket ] [-NoProxy] + [-Body ] [-Form ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] ``` diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Invoke-WebRequest.md b/reference/7.7/Microsoft.PowerShell.Utility/Invoke-WebRequest.md index 4f0164fd53c..2df9a97fbf6 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Invoke-WebRequest.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Invoke-WebRequest.md @@ -21,66 +21,76 @@ Gets content from a web page on the internet. ``` Invoke-WebRequest [-UseBasicParsing] [-Uri] [-HttpVersion ] - [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] - [-Authentication ] [-Credential ] [-UseDefaultCredentials] - [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] - [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] + [-WebSession ] [-SessionVariable ] + [-AllowUnencryptedAuthentication] [-Authentication ] + [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] + [-Token ] [-UserAgent ] [-DisableKeepAlive] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] [-Method ] [-PreserveHttpMethodOnRedirect] [-UnixSocket ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-Body ] [-Form ] [-ContentType ] - [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-Resume] - [-SkipHttpErrorCheck] [] + [-ProxyUseDefaultCredentials] [-Body ] [-Form ] + [-ContentType ] [-TransferEncoding ] [-InFile ] + [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] ``` ### StandardMethodNoProxy ``` Invoke-WebRequest [-UseBasicParsing] [-Uri] [-HttpVersion ] - [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] - [-Authentication ] [-Credential ] [-UseDefaultCredentials] - [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] - [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] + [-WebSession ] [-SessionVariable ] + [-AllowUnencryptedAuthentication] [-Authentication ] + [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] + [-Token ] [-UserAgent ] [-DisableKeepAlive] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] [-Method ] [-PreserveHttpMethodOnRedirect] - [-UnixSocket ] [-NoProxy] [-Body ] [-Form ] - [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] - [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] + [-UnixSocket ] [-NoProxy] [-Body ] + [-Form ] [-ContentType ] [-TransferEncoding ] + [-InFile ] [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] + [] ``` ### CustomMethod ``` Invoke-WebRequest [-UseBasicParsing] [-Uri] [-HttpVersion ] - [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] - [-Authentication ] [-Credential ] [-UseDefaultCredentials] - [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] - [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] - -CustomMethod [-PreserveHttpMethodOnRedirect] [-UnixSocket ] - [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-Body ] - [-Form ] [-ContentType ] [-TransferEncoding ] [-InFile ] - [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] + [-WebSession ] [-SessionVariable ] + [-AllowUnencryptedAuthentication] [-Authentication ] + [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] + [-Token ] [-UserAgent ] [-DisableKeepAlive] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] -CustomMethod + [-PreserveHttpMethodOnRedirect] [-UnixSocket ] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] + [-Body ] [-Form ] [-ContentType ] + [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-Resume] + [-SkipHttpErrorCheck] [] ``` ### CustomMethodNoProxy ``` Invoke-WebRequest [-UseBasicParsing] [-Uri] [-HttpVersion ] - [-WebSession ] [-SessionVariable ] [-AllowUnencryptedAuthentication] - [-Authentication ] [-Credential ] [-UseDefaultCredentials] - [-CertificateThumbprint ] [-Certificate ] [-SkipCertificateCheck] - [-SslProtocol ] [-Token ] [-UserAgent ] [-DisableKeepAlive] - [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] [-Headers ] - [-SkipHeaderValidation] [-AllowInsecureRedirect] [-MaximumRedirection ] - [-MaximumRetryCount ] [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] - -CustomMethod [-PreserveHttpMethodOnRedirect] [-UnixSocket ] + [-WebSession ] [-SessionVariable ] + [-AllowUnencryptedAuthentication] [-Authentication ] + [-Credential ] [-UseDefaultCredentials] [-CertificateThumbprint ] + [-Certificate ] [-SkipCertificateCheck] [-SslProtocol ] + [-Token ] [-UserAgent ] [-DisableKeepAlive] + [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ] + [-Headers ] [-SkipHeaderValidation] [-AllowInsecureRedirect] + [-MaximumRedirection ] [-MaximumRetryCount ] + [-PreserveAuthorizationOnRedirect] [-RetryIntervalSec ] -CustomMethod + [-PreserveHttpMethodOnRedirect] [-UnixSocket ] [-NoProxy] [-Body ] [-Form ] [-ContentType ] [-TransferEncoding ] [-InFile ] [-OutFile ] [-PassThru] [-Resume] [-SkipHttpErrorCheck] [] @@ -1416,7 +1426,10 @@ properties of the [PSUserAgent](/dotnet/api/microsoft.powershell.commands.psuser as Chrome, Firefox, InternetExplorer, Opera, and Safari. For example, the following command uses the user agent string for Internet Explorer: -`Invoke-WebRequest -Uri https://website.com/ -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::InternetExplorer)` + +```powershell +Invoke-WebRequest -Uri https://website.com/ -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::InternetExplorer) +``` ```yaml Type: System.String diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Join-String.md b/reference/7.7/Microsoft.PowerShell.Utility/Join-String.md index 92c46892a4d..7f6c71fbc53 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Join-String.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Join-String.md @@ -17,32 +17,33 @@ Combines objects from the pipeline into a single string. ### Default (Default) ``` -Join-String [[-Property] ] [[-Separator] ] [-OutputPrefix ] - [-OutputSuffix ] [-UseCulture] [-InputObject ] [] +Join-String [[-Property] ] [[-Separator] ] + [-OutputPrefix ] [-OutputSuffix ] [-UseCulture] + [-InputObject ] [] ``` ### SingleQuote ``` -Join-String [[-Property] ] [[-Separator] ] [-OutputPrefix ] - [-OutputSuffix ] [-SingleQuote] [-UseCulture] [-InputObject ] - [] +Join-String [[-Property] ] [[-Separator] ] + [-OutputPrefix ] [-OutputSuffix ] [-SingleQuote] [-UseCulture] + [-InputObject ] [] ``` ### DoubleQuote ``` -Join-String [[-Property] ] [[-Separator] ] [-OutputPrefix ] - [-OutputSuffix ] [-DoubleQuote] [-UseCulture] [-InputObject ] - [] +Join-String [[-Property] ] [[-Separator] ] + [-OutputPrefix ] [-OutputSuffix ] [-DoubleQuote] [-UseCulture] + [-InputObject ] [] ``` ### Format ``` -Join-String [[-Property] ] [[-Separator] ] [-OutputPrefix ] - [-OutputSuffix ] [-FormatString ] [-UseCulture] [-InputObject ] - [] +Join-String [[-Property] ] [[-Separator] ] + [-OutputPrefix ] [-OutputSuffix ] [-FormatString ] [-UseCulture] + [-InputObject ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Measure-Object.md b/reference/7.7/Microsoft.PowerShell.Utility/Measure-Object.md index 1f6715f37ce..3a39d7c0ecd 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Measure-Object.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Measure-Object.md @@ -20,15 +20,16 @@ objects, such as files of text. ### GenericMeasure (Default) ``` -Measure-Object [[-Property] ] [-InputObject ] [-StandardDeviation] - [-Sum] [-AllStats] [-Average] [-Maximum] [-Minimum] [] +Measure-Object [[-Property] ] [-InputObject ] + [-StandardDeviation] [-Sum] [-AllStats] [-Average] [-Maximum] [-Minimum] + [] ``` ### TextMeasure ``` -Measure-Object [[-Property] ] [-InputObject ] [-Line] [-Word] - [-Character] [-IgnoreWhiteSpace] [] +Measure-Object [[-Property] ] [-InputObject ] [-Line] + [-Word] [-Character] [-IgnoreWhiteSpace] [] ``` ## DESCRIPTION @@ -529,7 +530,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/New-Alias.md b/reference/7.7/Microsoft.PowerShell.Utility/New-Alias.md index db3bef0fed3..169bfe09898 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/New-Alias.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/New-Alias.md @@ -18,8 +18,9 @@ Creates a new alias. ## SYNTAX ``` -New-Alias [-Name] [-Value] [-Description ] [-Option ] - [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] +New-Alias [-Name] [-Value] [-Description ] + [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/New-Event.md b/reference/7.7/Microsoft.PowerShell.Utility/New-Event.md index 7b15ce1f3da..6c8dc6dd3f3 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/New-Event.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/New-Event.md @@ -16,8 +16,8 @@ Creates a new event. ## SYNTAX ``` -New-Event [-SourceIdentifier] [[-Sender] ] [[-EventArguments] ] - [[-MessageData] ] [] +New-Event [-SourceIdentifier] [[-Sender] ] + [[-EventArguments] ] [[-MessageData] ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/New-Object.md b/reference/7.7/Microsoft.PowerShell.Utility/New-Object.md index e2fc974ba21..5353978b90a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/New-Object.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/New-Object.md @@ -18,7 +18,8 @@ Creates an instance of a Microsoft .NET Framework or COM object. ### Net (Default) ``` -New-Object [-TypeName] [[-ArgumentList] ] [-Property ] [] +New-Object [-TypeName] [[-ArgumentList] ] [-Property ] + [] ``` ### Com @@ -92,11 +93,11 @@ At line:1 char:14 This example shows how to create and use a COM object to manage your Windows desktop. The first command uses the **ComObject** parameter of the `New-Object` cmdlet to create a COM object -with the **Shell.Application** ProgID. It stores the resulting object in the `$objShell` variable. The -second command pipes the `$objShell` variable to the `Get-Member` cmdlet, which displays the -properties and methods of the COM object. Among the methods is the **ToggleDesktop** method. The -third command calls the **ToggleDesktop** method of the object to minimize the open windows on your -desktop. +with the **Shell.Application** ProgID. It stores the resulting object in the `$objShell` variable. +The second command pipes the `$objShell` variable to the `Get-Member` cmdlet, which displays the +properties and methods of the COM object. Among the methods is the **ToggleDesktop** method. +The third command calls the **ToggleDesktop** method of the object to minimize the open windows on +your desktop. ```powershell $objShell = New-Object -ComObject "Shell.Application" @@ -209,9 +210,12 @@ Specifies an array of arguments to pass to the constructor of the .NET Framework constructor takes a single parameter that is an array, you must wrap that parameter inside another array. For example: -`$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate -ArgumentList (,$bytes)` +```powershell +$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate -ArgumentList (,$bytes) +``` -For more information about the behavior of **ArgumentList**, see [about_Splatting](../Microsoft.PowerShell.Core/About/about_Splatting.md#splatting-with-arrays). +For more information about the behavior of **ArgumentList**, see +[about_Splatting](../Microsoft.PowerShell.Core/About/about_Splatting.md#splatting-with-arrays). The alias for **ArgumentList** is **Args**. @@ -306,7 +310,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/New-TemporaryFile.md b/reference/7.7/Microsoft.PowerShell.Utility/New-TemporaryFile.md index 04ec9b869c2..fdfa8aba728 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/New-TemporaryFile.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/New-TemporaryFile.md @@ -47,8 +47,8 @@ order and uses the first path found: $TempFile = New-TemporaryFile ``` -This command generates a `.tmp` file in your temporary folder, and then stores a reference to the file -in the `$TempFile` variable. You can use this file later in your script. +This command generates a `.tmp` file in your temporary folder, and then stores a reference to the +file in the `$TempFile` variable. You can use this file later in your script. ## PARAMETERS @@ -89,7 +89,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/New-Variable.md b/reference/7.7/Microsoft.PowerShell.Utility/New-Variable.md index 0e8df713eec..db7155673e5 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/New-Variable.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/New-Variable.md @@ -18,9 +18,9 @@ Creates a new variable. ## SYNTAX ``` -New-Variable [-Name] [[-Value] ] [-Description ] [-Option ] - [-Visibility ] [-Force] [-PassThru] [-Scope ] [-WhatIf] [-Confirm] - [] +New-Variable [-Name] [[-Value] ] [-Description ] + [-Option ] [-Visibility ] [-Force] + [-PassThru] [-Scope ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -359,7 +359,10 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Out-File.md b/reference/7.7/Microsoft.PowerShell.Utility/Out-File.md index aa01a9a8ae3..6033dad6720 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Out-File.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Out-File.md @@ -19,14 +19,16 @@ Sends output to a file. ``` Out-File [-FilePath] [[-Encoding] ] [-Append] [-Force] [-NoClobber] - [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] + [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] + [] ``` ### ByLiteralPath ``` Out-File [[-Encoding] ] -LiteralPath [-Append] [-Force] [-NoClobber] - [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] [] + [-Width ] [-NoNewline] [-InputObject ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Out-GridView.md b/reference/7.7/Microsoft.PowerShell.Utility/Out-GridView.md index 5730b18881d..1eb08587680 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Out-GridView.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Out-GridView.md @@ -332,7 +332,7 @@ Deserialized output from remote commands might not be formatted correctly in the **To hide or show a column:** 1. Right-click any column header and click **Select Columns**. -2. In the **Select Columns** dialog box, use the arrow keys to move the columns between the Selected +1. In the **Select Columns** dialog box, use the arrow keys to move the columns between the Selected columns to the Available columns boxes. Only columns in the **Select Columns** box appear in the grid view window. @@ -341,7 +341,7 @@ Deserialized output from remote commands might not be formatted correctly in the You can drag and drop columns into the desired location. Or use the following steps: 1. Right-click any column header and click **Select Columns**. -2. In the **Select Columns** dialog box, use the **Move up** and **Move down** buttons to reorder +1. In the **Select Columns** dialog box, use the **Move up** and **Move down** buttons to reorder the columns. Columns at the top of the list appear to the left of columns at the bottom of the list in the grid view window. @@ -356,9 +356,10 @@ You can drag and drop columns into the desired location. Or use the following st - To select a row, select the row or use the up or down arrow to navigate to the row. - To select all rows (except for the header row), press CTRL+A. -- To select consecutive rows, press and hold the SHIFT key while clicking the rows or using the - arrow keys. -- To select nonconsecutive rows, press the CTRL key and click to add a row to the selection. +- To select consecutive rows, press and hold the SHIFT key while clicking the rows or + using the arrow keys. +- To select nonconsecutive rows, press the CTRL key and click to add a row to the + selection. - You cannot select columns, and you cannot select the entire column header row. **How to Copy Rows** @@ -414,11 +415,11 @@ The criteria only affects the display. It does not delete items from the table. 1. To display the **Add criteria** menu button, in the upper right corner of the window, click the Expand arrow. -2. Click the **Add Criteria** menu button. -3. Click to select columns (properties). You can select one or many properties. -4. When you are finished selecting properties, click the **Add** button. -5. To cancel the additions, click **Cancel**. -6. To add more criteria, click the **Add Criteria** button again. +1. Click the **Add Criteria** menu button. +1. Click to select columns (properties). You can select one or many properties. +1. When you are finished selecting properties, click the **Add** button. +1. To cancel the additions, click **Cancel**. +1. To add more criteria, click the **Add Criteria** button again. **How to Edit a Criterion** diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Register-ObjectEvent.md b/reference/7.7/Microsoft.PowerShell.Utility/Register-ObjectEvent.md index f566b3a0fa7..97428743e1a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Register-ObjectEvent.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Register-ObjectEvent.md @@ -15,9 +15,9 @@ Subscribes to the events that are generated by a Microsoft .NET Framework object ## SYNTAX ``` -Register-ObjectEvent [-InputObject] [-EventName] [[-SourceIdentifier] ] - [[-Action] ] [-MessageData ] [-SupportEvent] [-Forward] [-MaxTriggerCount ] - [] +Register-ObjectEvent [-InputObject] [-EventName] + [[-SourceIdentifier] ] [[-Action] ] [-MessageData ] + [-SupportEvent] [-Forward] [-MaxTriggerCount ] [] ``` ## DESCRIPTION @@ -29,13 +29,13 @@ When the subscribed event is raised, it is added to the event queue in your sess in the event queue, use the `Get-Event` cmdlet. You can use the parameters of `Register-ObjectEvent` to specify property values of the events that -can help you to identify the event in the queue. You can also use the **Action** parameter to specify -actions to take when a subscribed event is raised and the **Forward** parameter to send remote events -to the event queue in the local session. +can help you to identify the event in the queue. You can also use the **Action** parameter to +specify actions to take when a subscribed event is raised and the **Forward** parameter to send +remote events to the event queue in the local session. When you subscribe to an event, an event subscriber is added to your session. To get the event -subscribers in the session, use the `Get-EventSubscriber` cmdlet. To cancel the subscription, use the -`Unregister-Event` cmdlet, which deletes the event subscriber from the session. +subscribers in the session, use the `Get-EventSubscriber` cmdlet. To cancel the subscription, use +the `Unregister-Event` cmdlet, which deletes the event subscriber from the session. ## EXAMPLES @@ -80,12 +80,13 @@ Id Name PSJobTypeName State HasMoreData Location Com 5 3db2d67a-efff-... NotStarted False New-Event @newEventArgs ``` -The action uses the `$Sender` and `$EventArgs` automatic variables which are populated only for event -actions. +The action uses the `$Sender` and `$EventArgs` automatic variables which are populated only for +event actions. The `Register-ObjectEvent` command returns a job object that represents the action, which runs as a background job. You can use the Job cmdlets, such as `Get-Job` and `Receive-Job`, to manage the -background job. For more information, see [about_Jobs](../Microsoft.PowerShell.Core/About/about_Jobs.md). +background job. For more information, see +[about_Jobs](../Microsoft.PowerShell.Core/About/about_Jobs.md). ### Example 3: Subscribe to object events on remote computers @@ -180,11 +181,12 @@ Information : {} 47 ``` -The **PSEventJob** has a **Module** property that contains a dynamic script module that implements the -action. Using the call operator (`&`), we invoke the command in the module to display the +The **PSEventJob** has a **Module** property that contains a dynamic script module that implements +the action. Using the call operator (`&`), we invoke the command in the module to display the value of the `$Random` variable. -For more information about modules, see [about_Modules](../Microsoft.PowerShell.Core/About/about_Modules.md). +For more information about modules, see +[about_Modules](../Microsoft.PowerShell.Core/About/about_Modules.md). ## PARAMETERS @@ -346,7 +348,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Remove-PSBreakpoint.md b/reference/7.7/Microsoft.PowerShell.Utility/Remove-PSBreakpoint.md index 7bc403c2a48..3ceac2d6834 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Remove-PSBreakpoint.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Remove-PSBreakpoint.md @@ -26,7 +26,8 @@ Remove-PSBreakpoint [-Breakpoint] [-WhatIf] [-Confirm] [ [-Runspace ] [-WhatIf] [-Confirm] [] +Remove-PSBreakpoint [-Id] [-Runspace ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Remove-TypeData.md b/reference/7.7/Microsoft.PowerShell.Utility/Remove-TypeData.md index e1d2d554836..b396f9664ba 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Remove-TypeData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Remove-TypeData.md @@ -108,7 +108,8 @@ current session. Remove-TypeData -Path "$PSHOME\Modules\PSScheduledJob", "$PSHOME\Modules\PSWorkflow\PSWorkflow.types.ps1xml" ``` -For more information about modules, see [about_Modules](../Microsoft.PowerShell.Core/About/about_Modules.md). +For more information about modules, see +[about_Modules](../Microsoft.PowerShell.Core/About/about_Modules.md). ### Example 5: Remove extended types from a remote session diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Remove-Variable.md b/reference/7.7/Microsoft.PowerShell.Utility/Remove-Variable.md index 665227381c0..579f908162c 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Remove-Variable.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Remove-Variable.md @@ -18,8 +18,8 @@ Deletes a variable and its value. ## SYNTAX ``` -Remove-Variable [-Name] [-Include ] [-Exclude ] [-Force] [-Scope ] - [-WhatIf] [-Confirm] [] +Remove-Variable [-Name] [-Include ] [-Exclude ] [-Force] + [-Scope ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -120,7 +120,8 @@ Gets only the variables in the specified scope. The acceptable values for this p - A number relative to the current scope (0 through the number of scopes, where 0 is the current scope and 1 is its parent) -Local is the default. For more information, see [about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). +Local is the default. For more information, see +[about_Scopes](../Microsoft.PowerShell.Core/About/about_Scopes.md). ```yaml Type: System.String @@ -170,7 +171,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md b/reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md index a02af86cbc5..d88b4ff006f 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Select-Object.md @@ -19,31 +19,31 @@ Selects objects or object properties. ### DefaultParameter (Default) ``` -Select-Object [-InputObject ] [[-Property] ] [-ExcludeProperty ] - [-ExpandProperty ] [-Unique] [-CaseInsensitive] [-Last ] [-First ] - [-Skip ] [-Wait] [] +Select-Object [-InputObject ] [[-Property] ] + [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-CaseInsensitive] + [-Last ] [-First ] [-Skip ] [-Wait] [] ``` ### SkipLastParameter ``` -Select-Object [-InputObject ] [[-Property] ] [-ExcludeProperty ] - [-ExpandProperty ] [-Unique] [-CaseInsensitive] [-Skip ] [-SkipLast ] - [] +Select-Object [-InputObject ] [[-Property] ] + [-ExcludeProperty ] [-ExpandProperty ] [-Unique] [-CaseInsensitive] + [-Skip ] [-SkipLast ] [] ``` ### IndexParameter ``` -Select-Object [-InputObject ] [-Unique] [-CaseInsensitive] [-Wait] [-Index ] - [] +Select-Object [-InputObject ] [-Unique] [-CaseInsensitive] [-Wait] + [-Index ] [] ``` ### SkipIndexParameter ``` -Select-Object [-InputObject ] [-Unique] [-CaseInsensitive] [-SkipIndex ] - [] +Select-Object [-InputObject ] [-Unique] [-CaseInsensitive] + [-SkipIndex ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Select-String.md b/reference/7.7/Microsoft.PowerShell.Utility/Select-String.md index 55aa60ce5e9..ff22c71252e 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Select-String.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Select-String.md @@ -21,48 +21,54 @@ Finds text in strings and files. ``` Select-String [-Culture ] [-Pattern] [-Path] [-SimpleMatch] - [-CaseSensitive] [-Quiet] [-List] [-NoEmphasis] [-Include ] [-Exclude ] - [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] + [-CaseSensitive] [-Quiet] [-List] [-NoEmphasis] [-Include ] + [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] + [-Context ] [] ``` ### ObjectRaw ``` -Select-String [-Culture ] -InputObject [-Pattern] -Raw [-SimpleMatch] - [-CaseSensitive] [-List] [-NoEmphasis] [-Include ] [-Exclude ] [-NotMatch] - [-AllMatches] [-Encoding ] [-Context ] [] +Select-String [-Culture ] -InputObject [-Pattern] + -Raw [-SimpleMatch] [-CaseSensitive] [-List] [-NoEmphasis] [-Include ] + [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] + [-Context ] [] ``` ### Object ``` -Select-String [-Culture ] -InputObject [-Pattern] [-SimpleMatch] - [-CaseSensitive] [-Quiet] [-List] [-NoEmphasis] [-Include ] [-Exclude ] - [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] +Select-String [-Culture ] -InputObject [-Pattern] + [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-NoEmphasis] [-Include ] + [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] + [-Context ] [] ``` ### FileRaw ``` -Select-String [-Culture ] [-Pattern] [-Path] -Raw [-SimpleMatch] - [-CaseSensitive] [-List] [-NoEmphasis] [-Include ] [-Exclude ] [-NotMatch] - [-AllMatches] [-Encoding ] [-Context ] [] +Select-String [-Culture ] [-Pattern] [-Path] -Raw + [-SimpleMatch] [-CaseSensitive] [-List] [-NoEmphasis] [-Include ] + [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] + [-Context ] [] ``` ### LiteralFileRaw ``` -Select-String [-Culture ] [-Pattern] -LiteralPath -Raw [-SimpleMatch] - [-CaseSensitive] [-List] [-NoEmphasis] [-Include ] [-Exclude ] [-NotMatch] - [-AllMatches] [-Encoding ] [-Context ] [] +Select-String [-Culture ] [-Pattern] -LiteralPath -Raw + [-SimpleMatch] [-CaseSensitive] [-List] [-NoEmphasis] [-Include ] + [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] + [-Context ] [] ``` ### LiteralFile ``` -Select-String [-Culture ] [-Pattern] -LiteralPath [-SimpleMatch] - [-CaseSensitive] [-Quiet] [-List] [-NoEmphasis] [-Include ] [-Exclude ] - [-NotMatch] [-AllMatches] [-Encoding ] [-Context ] [] +Select-String [-Culture ] [-Pattern] -LiteralPath + [-SimpleMatch] [-CaseSensitive] [-Quiet] [-List] [-NoEmphasis] [-Include ] + [-Exclude ] [-NotMatch] [-AllMatches] [-Encoding ] + [-Context ] [] ``` ## DESCRIPTION @@ -630,8 +636,8 @@ Accept wildcard characters: False Specifies the path to the files to be searched. The value of the **LiteralPath** parameter is used exactly as it's typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to -interpret any characters as escape sequences. Paths containing spaces must be enclosed in quotes. For -more information, see +interpret any characters as escape sequences. Paths containing spaces must be enclosed in quotes. +For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md). ```yaml diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Select-Xml.md b/reference/7.7/Microsoft.PowerShell.Utility/Select-Xml.md index 67dc47be42e..f687e288e2b 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Select-Xml.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Select-Xml.md @@ -17,25 +17,29 @@ Finds text in an XML string or document. ### Xml (Default) ``` -Select-Xml [-XPath] [-Xml] [-Namespace ] [] +Select-Xml [-XPath] [-Xml] [-Namespace ] + [] ``` ### Path ``` -Select-Xml [-XPath] [-Path] [-Namespace ] [] +Select-Xml [-XPath] [-Path] [-Namespace ] + [] ``` ### LiteralPath ``` -Select-Xml [-XPath] -LiteralPath [-Namespace ] [] +Select-Xml [-XPath] -LiteralPath [-Namespace ] + [] ``` ### Content ``` -Select-Xml [-XPath] -Content [-Namespace ] [] +Select-Xml [-XPath] -Content [-Namespace ] + [] ``` ## DESCRIPTION @@ -56,9 +60,9 @@ The first command saves the path to the `Types.ps1xml` file in the `$Path` varia The second command saves the XML path to the **AliasProperty** node in the `$XPath` variable. The `Select-Xml` cmdlet gets the **AliasProperty** nodes that are identified by -the XPath statement from the `Types.ps1xml` file. The command uses a pipeline operator (`|`) to send the -**AliasProperty** nodes to the `Select-Object` cmdlet. The **ExpandProperty** parameter expands the -**Node** object and returns its **Name** and **ReferencedMemberName** properties. +the XPath statement from the `Types.ps1xml` file. The command uses a pipeline operator (`|`) to send +the **AliasProperty** nodes to the `Select-Object` cmdlet. The **ExpandProperty** parameter expands +the **Node** object and returns its **Name** and **ReferencedMemberName** properties. ```powershell $Path = "$PSHOME\Types.ps1xml" diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Send-MailMessage.md b/reference/7.7/Microsoft.PowerShell.Utility/Send-MailMessage.md index bb75e98f943..24d57dec53b 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Send-MailMessage.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Send-MailMessage.md @@ -18,11 +18,12 @@ Sends an email message. ### All ``` -Send-MailMessage [-Attachments ] [-Bcc ] [[-Body] ] [-BodyAsHtml] - [-Encoding ] [-Cc ] [-DeliveryNotificationOption ] - -From [[-SmtpServer] ] [-Priority ] [-ReplyTo ] - [[-Subject] ] [-To] [-Credential ] [-UseSsl] [-Port ] - [] +Send-MailMessage [-Attachments ] [-Bcc ] [[-Body] ] + [-BodyAsHtml] [-Encoding ] [-Cc ] + [-DeliveryNotificationOption ] -From + [[-SmtpServer] ] [-Priority ] [-ReplyTo ] + [[-Subject] ] [-To] [-Credential ] [-UseSsl] + [-Port ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Set-Alias.md b/reference/7.7/Microsoft.PowerShell.Utility/Set-Alias.md index 43bfd423b42..765e261d7ed 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Set-Alias.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Set-Alias.md @@ -20,8 +20,9 @@ Creates or changes an alias for a cmdlet or other command in the current PowerSh ### Default (Default) ``` -Set-Alias [-Name] [-Value] [-Description ] [-Option ] - [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] [] +Set-Alias [-Name] [-Value] [-Description ] + [-Option ] [-PassThru] [-Scope ] [-Force] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Set-Date.md b/reference/7.7/Microsoft.PowerShell.Utility/Set-Date.md index f0ee4848472..c6b47284c5a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Set-Date.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Set-Date.md @@ -18,13 +18,15 @@ Changes the system time on the computer to a time that you specify. ### Date (Default) ``` -Set-Date [-Date] [-DisplayHint ] [-WhatIf] [-Confirm] [] +Set-Date [-Date] [-DisplayHint ] [-WhatIf] [-Confirm] + [] ``` ### Adjust ``` -Set-Date [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] [] +Set-Date [-Adjust] [-DisplayHint ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Set-MarkdownOption.md b/reference/7.7/Microsoft.PowerShell.Utility/Set-MarkdownOption.md index d383cfa20fe..4d45eff7ffb 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Set-MarkdownOption.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Set-MarkdownOption.md @@ -17,11 +17,11 @@ Sets the colors and styles used for rendering Markdown content in the console. ### IndividualSetting (Default) ``` -Set-MarkdownOption [-Header1Color ] [-Header2Color ] [-Header3Color ] - [-Header4Color ] [-Header5Color ] [-Header6Color ] [-Code ] - [-ImageAltTextForegroundColor ] [-LinkForegroundColor ] - [-ItalicsForegroundColor ] [-BoldForegroundColor ] [-PassThru] - [] +Set-MarkdownOption [-Header1Color ] [-Header2Color ] + [-Header3Color ] [-Header4Color ] [-Header5Color ] + [-Header6Color ] [-Code ] [-ImageAltTextForegroundColor ] + [-LinkForegroundColor ] [-ItalicsForegroundColor ] + [-BoldForegroundColor ] [-PassThru] [] ``` ### Theme diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md b/reference/7.7/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md index aeeebafec99..7897a424a6a 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md @@ -19,15 +19,15 @@ Sets a breakpoint on a line, command, or variable. ### Line (Default) ``` -Set-PSBreakpoint [-Action ] [[-Column] ] [-Line] [-Script] - [-Runspace ] [] +Set-PSBreakpoint [-Action ] [[-Column] ] [-Line] + [-Script] [-Runspace ] [] ``` ### Command ``` -Set-PSBreakpoint [-Action ] -Command [[-Script] ] [-Runspace ] - [] +Set-PSBreakpoint [-Action ] -Command [[-Script] ] + [-Runspace ] [] ``` ### Variable @@ -241,7 +241,8 @@ When the **Action** parameter is used, the Action scriptblock runs at each break does not stop unless the scriptblock includes the `break` keyword. If you use the `continue` keyword in the scriptblock, execution resumes until the next breakpoint. -For more information, see [about_Script_Blocks](../Microsoft.PowerShell.Core/About/about_Script_Blocks.md), +For more information, see +[about_Script_Blocks](../Microsoft.PowerShell.Core/About/about_Script_Blocks.md), [about_Break](../Microsoft.PowerShell.Core/About/about_Break.md), and [about_Continue](../Microsoft.PowerShell.Core/About/about_Continue.md). @@ -351,6 +352,7 @@ Accept wildcard characters: False ``` ### -Runspace + Specifies the Id of a **Runspace** object so you can interact with breakpoints in the specified runspace. diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Set-TraceSource.md b/reference/7.7/Microsoft.PowerShell.Utility/Set-TraceSource.md index 9b22d2824ff..214400ba57b 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Set-TraceSource.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Set-TraceSource.md @@ -18,8 +18,9 @@ Configures, starts, and stops a trace of PowerShell components. ### optionsSet (Default) ``` -Set-TraceSource [-Name] [[-Option] ] [-ListenerOption ] - [-FilePath ] [-Force] [-Debugger] [-PSHost] [-PassThru] [] +Set-TraceSource [-Name] [[-Option] ] + [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] + [-PassThru] [] ``` ### removeAllListenersSet @@ -43,7 +44,7 @@ can use it to specify which components will be traced and where the tracing outp ### Example 1: Trace the ParameterBinding component -``` +```powershell Set-TraceSource -Name "ParameterBinding" -Option ExecutionFlow -PSHost -ListenerOption "ProcessId,TimeStamp" ``` @@ -297,7 +298,10 @@ Accept wildcard characters: False ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Set-Variable.md b/reference/7.7/Microsoft.PowerShell.Utility/Set-Variable.md index ee5cc58053a..f4594906092 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Set-Variable.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Set-Variable.md @@ -19,9 +19,10 @@ Sets the value of a variable. Creates the variable if one with the requested nam ## SYNTAX ``` -Set-Variable [-Name] [[-Value] ] [-Include ] [-Exclude ] - [-Description ] [-Option ] [-Force] [-Visibility ] - [-PassThru] [-Scope ] [-WhatIf] [-Confirm] [] +Set-Variable [-Name] [[-Value] ] [-Include ] + [-Exclude ] [-Description ] [-Option ] [-Force] + [-Visibility ] [-PassThru] [-Scope ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Show-Command.md b/reference/7.7/Microsoft.PowerShell.Utility/Show-Command.md index b04ea9d208d..d0627860885 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Show-Command.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Show-Command.md @@ -105,8 +105,10 @@ $PSDefaultParameterValues = @{ Now when you run a `Show-Command` command, the new defaults are applied automatically. To use these default values in every PowerShell session, add the `$PSDefaultParameterValues` variable to your -PowerShell profile. For more information, see [about_Profiles](../Microsoft.PowerShell.Core/About/about_Profiles.md) -and [about_Parameters_Default_Values](../Microsoft.PowerShell.Core/About/about_Parameters_Default_Values.md). +PowerShell profile. For more information, see +[about_Profiles](../Microsoft.PowerShell.Core/About/about_Profiles.md) +and +[about_Parameters_Default_Values](../Microsoft.PowerShell.Core/About/about_Parameters_Default_Values.md). ### Example 5: Send output to a grid view @@ -305,7 +307,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Show-Markdown.md b/reference/7.7/Microsoft.PowerShell.Utility/Show-Markdown.md index 0268c1c7780..62305b8deaf 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Show-Markdown.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Show-Markdown.md @@ -155,7 +155,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Tee-Object.md b/reference/7.7/Microsoft.PowerShell.Utility/Tee-Object.md index 0c1543cb9e0..381f7786c28 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Tee-Object.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Tee-Object.md @@ -20,13 +20,15 @@ Saves command output in a file or variable and also sends it down the pipeline. ### File (Default) ``` -Tee-Object [-InputObject ] [-FilePath] [-Append] [[-Encoding] ] [] +Tee-Object [-InputObject ] [-FilePath] [-Append] + [[-Encoding] ] [] ``` ### LiteralFile ``` -Tee-Object [-InputObject ] -LiteralPath [[-Encoding] ] [] +Tee-Object [-InputObject ] -LiteralPath [[-Encoding] ] + [] ``` ### Variable @@ -329,7 +331,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Trace-Command.md b/reference/7.7/Microsoft.PowerShell.Utility/Trace-Command.md index abb93da3f38..db04b1e671d 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Trace-Command.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Trace-Command.md @@ -20,17 +20,19 @@ Configures and starts a trace of the specified expression or command. ### expressionSet (Default) ``` -Trace-Command [-InputObject ] [-Name] [[-Option] ] - [-Expression] [-ListenerOption ] [-FilePath ] [-Force] - [-Debugger] [-PSHost] [] +Trace-Command [-InputObject ] [-Name] + [[-Option] ] [-Expression] + [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] + [] ``` ### commandSet ``` -Trace-Command [-InputObject ] [-Name] [[-Option] ] - [-Command] [-ArgumentList ] [-ListenerOption ] - [-FilePath ] [-Force] [-Debugger] [-PSHost] [] +Trace-Command [-InputObject ] [-Name] + [[-Option] ] [-Command] [-ArgumentList ] + [-ListenerOption ] [-FilePath ] [-Force] [-Debugger] [-PSHost] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Unblock-File.md b/reference/7.7/Microsoft.PowerShell.Utility/Unblock-File.md index e34d9471395..751e61aba7b 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Unblock-File.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Unblock-File.md @@ -70,7 +70,7 @@ PS C:\> dir C:\Downloads\*PowerShell* | Unblock-File This command shows how to find and unblock PowerShell scripts. -The first command uses the **Stream** parameter of the *Get-Item* cmdlet get files with the +The first command uses the **Stream** parameter of the `Get-Item` cmdlet get files with the **Zone.Identifier** stream. The second command shows what happens when you run a blocked script in a PowerShell session in which diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Unregister-Event.md b/reference/7.7/Microsoft.PowerShell.Utility/Unregister-Event.md index 71a39df1b2a..f3adb2b3c99 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Unregister-Event.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Unregister-Event.md @@ -18,13 +18,15 @@ Cancels an event subscription. ### BySource (Default) ``` -Unregister-Event [-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] [] +Unregister-Event [-SourceIdentifier] [-Force] [-WhatIf] [-Confirm] + [] ``` ### ById ``` -Unregister-Event [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] [] +Unregister-Event [-SubscriptionId] [-Force] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Update-FormatData.md b/reference/7.7/Microsoft.PowerShell.Utility/Update-FormatData.md index 4282fe1ea09..9bc76c02ec9 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Update-FormatData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Update-FormatData.md @@ -16,8 +16,8 @@ Updates the formatting data in the current session. ## SYNTAX ``` -Update-FormatData [[-AppendPath] ] [-PrependPath ] [-WhatIf] [-Confirm] - [] +Update-FormatData [[-AppendPath] ] [-PrependPath ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION @@ -37,7 +37,8 @@ create custom format.ps1xml files to update formatting in the current session. Y PowerShell. This is useful when you have added or changed a formatting file, but do not want to interrupt the session. -For more information about formatting files in PowerShell, see [about_Format.ps1xml](../Microsoft.PowerShell.Core/About/about_Format.ps1xml.md). +For more information about formatting files in PowerShell, see +[about_Format.ps1xml](../Microsoft.PowerShell.Core/About/about_Format.ps1xml.md). ## EXAMPLES @@ -58,8 +59,8 @@ Update-FormatData -AppendPath Trace.format.ps1xml, Log.format.ps1xml This command reloads the formatting files into the session, including two new files, `Trace.format.ps1xml` and `Log.format.ps1xml`. -Because the command uses the **AppendPath** parameter, the formatting data in the new files is loaded -after the formatting data from the built-in files. +Because the command uses the **AppendPath** parameter, the formatting data in the new files is +loaded after the formatting data from the built-in files. The **AppendPath** parameter is used because the new files contain formatting data for objects that are not referenced in the built-in files. @@ -119,8 +120,8 @@ Specifies formatting files that this cmdlet adds to the session. The files are l PowerShell loads the built-in formatting files. When formatting .NET objects, PowerShell uses the first formatting definition that it finds for each -.NET type. If you use the **PrependPath** parameter, PowerShell searches the data from the files that -you are adding before it encounters the formatting data from the built-in files. +.NET type. If you use the **PrependPath** parameter, PowerShell searches the data from the files +that you are adding before it encounters the formatting data from the built-in files. Use this parameter to add a file that formats a .NET object that is also referenced in the built-in formatting files. @@ -174,7 +175,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Update-List.md b/reference/7.7/Microsoft.PowerShell.Utility/Update-List.md index 97a0b2dd7e1..7e1be4db9b8 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Update-List.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Update-List.md @@ -18,8 +18,8 @@ Adds items to and removes items from a property value that contains a collection ### AddRemoveSet (Default) ``` -Update-List [-Add ] [-Remove ] [-InputObject ] [[-Property] ] - [] +Update-List [-Add ] [-Remove ] [-InputObject ] + [[-Property] ] [] ``` ### ReplaceSet diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Update-TypeData.md b/reference/7.7/Microsoft.PowerShell.Utility/Update-TypeData.md index 519cb347492..9e4ed6f888c 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Update-TypeData.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Update-TypeData.md @@ -37,7 +37,8 @@ Update-TypeData [-MemberType ] [-MemberName ] [-Value [-WhatIf] [-Confirm] [] +Update-TypeData [-Force] [-TypeData] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -615,8 +616,8 @@ Accept wildcard characters: False Specifies additional values for **AliasProperty**, **ScriptProperty**, **CodeProperty**, or **CodeMethod** members. -Use this parameter with the **TypeName**, **MemberType**, **Value**, and **SecondValue** parameters to add -or change a property or method of a type. +Use this parameter with the **TypeName**, **MemberType**, **Value**, and **SecondValue** parameters +to add or change a property or method of a type. When the value of the **MemberType** parameter is `AliasProperty`, the value of the **SecondValue** parameter must be a data type. PowerShell converts (that is, casts) the value of the alias property @@ -626,8 +627,8 @@ string value to an integer. When the value of the **MemberType** parameter is `ScriptProperty`, you can use the **SecondValue** parameter to specify an additional scriptblock. The scriptblock in the value of the **Value** -parameter gets the value of a variable. The scriptblock in the value of the **SecondValue** parameter -set the value of the variable. +parameter gets the value of a variable. The scriptblock in the value of the **SecondValue** +parameter sets the value of the variable. This parameter was introduced in Windows PowerShell 3.0. diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Wait-Event.md b/reference/7.7/Microsoft.PowerShell.Utility/Wait-Event.md index 86ad783da9c..2926e120109 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Wait-Event.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Wait-Event.md @@ -43,7 +43,8 @@ Wait-Event ### Example 2: Wait for an event with a specified source identifier -This example waits for the next event that is raised and that has a source identifier of ProcessStarted. +This example waits for the next event that is raised and that has a source identifier of +ProcessStarted. ```powershell Wait-Event -SourceIdentifier "ProcessStarted" @@ -51,7 +52,8 @@ Wait-Event -SourceIdentifier "ProcessStarted" ### Example 3: Wait for a timer elapsed event -This example uses the `Wait-Event` cmdlet to wait for a timer event on a timer that is set for 2000 milliseconds. +This example uses the `Wait-Event` cmdlet to wait for a timer event on a timer that is set for 2000 +milliseconds. ```powershell $Timer = New-Object Timers.Timer diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Write-Error.md b/reference/7.7/Microsoft.PowerShell.Utility/Write-Error.md index 89600e23c7b..284c2c9e491 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Write-Error.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Write-Error.md @@ -150,7 +150,8 @@ for this parameter are: - QuotaExceeded - NotEnabled -For information about the error categories, see [ErrorCategory Enumeration](https://go.microsoft.com/fwlink/?LinkId=143600). +For information about the error categories, see +[ErrorCategory Enumeration](https://go.microsoft.com/fwlink/?LinkId=143600). ```yaml Type: System.Management.Automation.ErrorCategory diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Write-Host.md b/reference/7.7/Microsoft.PowerShell.Utility/Write-Host.md index f8e0dec0ba9..29416a2c585 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Write-Host.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Write-Host.md @@ -11,14 +11,13 @@ title: Write-Host # Write-Host ## SYNOPSIS - Writes customized output to a host. ## SYNTAX ``` -Write-Host [[-Object] ] [-NoNewline] [-Separator ] [-ForegroundColor ] - [-BackgroundColor ] [] +Write-Host [[-Object] ] [-NoNewline] [-Separator ] + [-ForegroundColor ] [-BackgroundColor ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.PowerShell.Utility/Write-Information.md b/reference/7.7/Microsoft.PowerShell.Utility/Write-Information.md index 689006d1516..c241ad79522 100644 --- a/reference/7.7/Microsoft.PowerShell.Utility/Write-Information.md +++ b/reference/7.7/Microsoft.PowerShell.Utility/Write-Information.md @@ -11,7 +11,6 @@ title: Write-Information # Write-Information ## SYNOPSIS - Specifies how PowerShell handles information stream data for a command. ## SYNTAX diff --git a/reference/7.7/Microsoft.WSMan.Management/About/about_WSMan_Provider.md b/reference/7.7/Microsoft.WSMan.Management/About/about_WSMan_Provider.md index d530300f0b8..d1b89066d13 100644 --- a/reference/7.7/Microsoft.WSMan.Management/About/about_WSMan_Provider.md +++ b/reference/7.7/Microsoft.WSMan.Management/About/about_WSMan_Provider.md @@ -57,8 +57,8 @@ in this article. ### Organization of the WSMan: Drive -- **Client**: You can configure various aspects of the WS-Management client. The - configuration information is stored in the registry. +- **Client**: You can configure various aspects of the WS-Management client. + The configuration information is stored in the registry. - **Service**: You can configure various aspects of the WS-Management service. The configuration information is stored in the registry. @@ -115,8 +115,9 @@ WSMan:\localhost The directory hierarchy of the WSMan provider for a remote computer is the same as a local computer. However, in order to access the configuration settings of a remote computer, you need to make a connection to the remote computer using -[Connect-WSMan](xref:Microsoft.WSMan.Management.Connect-WSMan). Once a connection is made to a remote -computer, the name of the remote computer shows up in the provider. +[Connect-WSMan](xref:Microsoft.WSMan.Management.Connect-WSMan). Once a +connection is made to a remote computer, the name of the remote computer shows +up in the provider. ``` WSMan:\ @@ -153,8 +154,8 @@ Set-Location -Path WSMan:\SERVER01 ## Displaying the contents of the WSMan: drive -This command uses the `Get-ChildItem` cmdlet to display the WS-Management stores -in the Localhost store location. +This command uses the `Get-ChildItem` cmdlet to display the WS-Management +stores in the Localhost store location. ```powershell Get-ChildItem -Path WSMan:\Localhost @@ -199,8 +200,8 @@ Set-Item WSMan:\localhost\Client\TrustedHosts *.domain2.com -Concatenate The `New-Item` cmdlet creates items within a provider drive. Each provider has different item types that you can create. In the `WSMan:` drive, you can create *Listeners* which you configure to receive and respond to remote -requests. The following command creates a new HTTP listener using the `New-Item` -cmdlet. +requests. The following command creates a new HTTP listener using the +`New-Item` cmdlet. ```powershell New-Item -Path WSMan:\localhost\Listener -Address * -Transport http -Force @@ -358,8 +359,8 @@ These attributes include **SupportsFiltering** and **SupportsFragment**. - **Subscribe**: Subscribe operations are supported on the URI. - The **SupportFragment** attribute is not supported for Subscribe operations and should be set to False. - - The **SupportFiltering** attribute is not valid for Subscribe operations and - should be set to "False". + - The **SupportFiltering** attribute is not valid for Subscribe operations + and should be set to "False". > [!NOTE] > This operation is not valid for a URI if Shell operations are also > supported. @@ -390,8 +391,8 @@ Thumbprint field of the certificate. It specifies the digital public key certificate (X509) of a user account that has permission to perform this action. Certificates are used in client certificate-based authentication. They can be mapped only to local user accounts, and they do not work with domain -accounts. To get a certificate thumbprint, use the `Get-Item` or `Get-ChildItem` -cmdlets in the PowerShell `Cert:` drive. +accounts. To get a certificate thumbprint, use the `Get-Item` or +`Get-ChildItem` cmdlets in the PowerShell `Cert:` drive. #### Cmdlets supported diff --git a/reference/7.7/Microsoft.WSMan.Management/Connect-WSMan.md b/reference/7.7/Microsoft.WSMan.Management/Connect-WSMan.md index 65455731615..d19b1c81f26 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Connect-WSMan.md +++ b/reference/7.7/Microsoft.WSMan.Management/Connect-WSMan.md @@ -18,16 +18,18 @@ Connects to the WinRM service on a remote computer. ### ComputerName (Default) ``` -Connect-WSMan [-ApplicationName ] [[-ComputerName] ] [-OptionSet ] [-Port ] - [-SessionOption ] [-UseSSL] [-Credential ] - [-Authentication ] [-CertificateThumbprint ] [] +Connect-WSMan [-ApplicationName ] [[-ComputerName] ] + [-OptionSet ] [-Port ] [-SessionOption ] [-UseSSL] + [-Credential ] [-Authentication ] + [-CertificateThumbprint ] [] ``` ### URI ``` -Connect-WSMan [-ConnectionURI ] [-OptionSet ] [-Port ] [-SessionOption ] - [-Credential ] [-Authentication ] [-CertificateThumbprint ] +Connect-WSMan [-ConnectionURI ] [-OptionSet ] [-Port ] + [-SessionOption ] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] [] ``` diff --git a/reference/7.7/Microsoft.WSMan.Management/Disconnect-WSMan.md b/reference/7.7/Microsoft.WSMan.Management/Disconnect-WSMan.md index cf0df4e37ee..dd056ebb4aa 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Disconnect-WSMan.md +++ b/reference/7.7/Microsoft.WSMan.Management/Disconnect-WSMan.md @@ -87,7 +87,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.WSMan.Management/Enable-WSManCredSSP.md b/reference/7.7/Microsoft.WSMan.Management/Enable-WSManCredSSP.md index e88af966e7d..a7c77a14f9a 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Enable-WSManCredSSP.md +++ b/reference/7.7/Microsoft.WSMan.Management/Enable-WSManCredSSP.md @@ -18,7 +18,8 @@ Enables Credential Security Support Provider (CredSSP) authentication on a compu ### All ``` -Enable-WSManCredSSP [[-DelegateComputer] ] [-Force] [-Role] [] +Enable-WSManCredSSP [[-DelegateComputer] ] [-Force] [-Role] + [] ``` ## DESCRIPTION @@ -217,7 +218,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.WSMan.Management/Get-WSManInstance.md b/reference/7.7/Microsoft.WSMan.Management/Get-WSManInstance.md index 5d13847e524..008f82e8ae1 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Get-WSManInstance.md +++ b/reference/7.7/Microsoft.WSMan.Management/Get-WSManInstance.md @@ -18,20 +18,24 @@ Displays management information for a resource instance specified by a Resource ### GetInstance (Default) ``` -Get-WSManInstance [-ApplicationName ] [-ComputerName ] [-ConnectionURI ] [-Dialect ] - [-Fragment ] [-OptionSet ] [-Port ] [-ResourceURI] [-SelectorSet ] +Get-WSManInstance [-ApplicationName ] [-ComputerName ] + [-ConnectionURI ] [-Dialect ] [-Fragment ] [-OptionSet ] + [-Port ] [-ResourceURI] [-SelectorSet ] [-SessionOption ] [-UseSSL] [-Credential ] - [-Authentication ] [-CertificateThumbprint ] [] + [-Authentication ] [-CertificateThumbprint ] + [] ``` ### Enumerate ``` -Get-WSManInstance [-ApplicationName ] [-BasePropertiesOnly] [-ComputerName ] - [-ConnectionURI ] [-Dialect ] [-Enumerate] [-Filter ] [-OptionSet ] - [-Port ] [-Associations] [-ResourceURI] [-ReturnType ] [-SessionOption ] - [-Shallow] [-UseSSL] [-Credential ] [-Authentication ] - [-CertificateThumbprint ] [] +Get-WSManInstance [-ApplicationName ] [-BasePropertiesOnly] + [-ComputerName ] [-ConnectionURI ] [-Dialect ] [-Enumerate] + [-Filter ] [-OptionSet ] [-Port ] [-Associations] + [-ResourceURI] [-ReturnType ] [-SessionOption ] + [-Shallow] [-UseSSL] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] + [] ``` ## DESCRIPTION @@ -575,7 +579,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md). ## INPUTS diff --git a/reference/7.7/Microsoft.WSMan.Management/Invoke-WSManAction.md b/reference/7.7/Microsoft.WSMan.Management/Invoke-WSManAction.md index 3306b199d56..f4bf75ac884 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Invoke-WSManAction.md +++ b/reference/7.7/Microsoft.WSMan.Management/Invoke-WSManAction.md @@ -18,19 +18,22 @@ Invokes an action on the object that is specified by the Resource URI and by the ### URI (Default) ``` -Invoke-WSManAction [-Action] [-ConnectionURI ] [-FilePath ] [-OptionSet ] - [[-SelectorSet] ] [-SessionOption ] [-ValueSet ] [-ResourceURI] - [-Credential ] [-Authentication ] [-CertificateThumbprint ] +Invoke-WSManAction [-Action] [-ConnectionURI ] [-FilePath ] + [-OptionSet ] [[-SelectorSet] ] [-SessionOption ] + [-ValueSet ] [-ResourceURI] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] [] ``` ### ComputerName ``` -Invoke-WSManAction [-Action] [-ApplicationName ] [-ComputerName ] [-FilePath ] - [-OptionSet ] [-Port ] [[-SelectorSet] ] [-SessionOption ] - [-UseSSL] [-ValueSet ] [-ResourceURI] [-Credential ] - [-Authentication ] [-CertificateThumbprint ] [] +Invoke-WSManAction [-Action] [-ApplicationName ] [-ComputerName ] + [-FilePath ] [-OptionSet ] [-Port ] + [[-SelectorSet] ] [-SessionOption ] [-UseSSL] + [-ValueSet ] [-ResourceURI] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] + [] ``` ## DESCRIPTION @@ -216,7 +219,8 @@ this action. Enter the certificate thumbprint of the certificate. Certificates are used in client certificate-based authentication. They can be mapped only to local user accounts; they do not work with domain accounts. -To get a certificate thumbprint, use the `Get-Item` or `Get-ChildItem` command in the Windows PowerShell Cert: drive. +To get a certificate thumbprint, use the `Get-Item` or `Get-ChildItem` command in the Windows +PowerShell Cert: drive. ```yaml Type: System.String @@ -299,7 +303,9 @@ Specifies the path of a file that is used to update a management resource. You s management resource by using the ResourceURI parameter and the SelectorSet parameter. For example, the following command uses the FilePath parameter: -`Invoke-WSManAction -Action StopService -ResourceUri wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath C:\input.xml -Authentication Default` +```powershell +Invoke-WSManAction -Action StopService -ResourceUri wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath C:\input.xml -Authentication Default +``` This command calls the **StopService** method on the Spooler service by using input from a file. The file, `Input.xml`, contains the following content: @@ -470,7 +476,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.WSMan.Management/New-WSManInstance.md b/reference/7.7/Microsoft.WSMan.Management/New-WSManInstance.md index 9c6d651d121..624f81e614b 100644 --- a/reference/7.7/Microsoft.WSMan.Management/New-WSManInstance.md +++ b/reference/7.7/Microsoft.WSMan.Management/New-WSManInstance.md @@ -18,18 +18,21 @@ Creates a new instance of a management resource. ### ComputerName (Default) ``` -New-WSManInstance [-ApplicationName ] [-ComputerName ] [-FilePath ] - [-OptionSet ] [-Port ] [-ResourceURI] [-SelectorSet] - [-SessionOption ] [-UseSSL] [-ValueSet ] [-Credential ] - [-Authentication ] [-CertificateThumbprint ] [] +New-WSManInstance [-ApplicationName ] [-ComputerName ] + [-FilePath ] [-OptionSet ] [-Port ] [-ResourceURI] + [-SelectorSet] [-SessionOption ] [-UseSSL] + [-ValueSet ] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] + [] ``` ### URI ``` -New-WSManInstance [-ConnectionURI ] [-FilePath ] [-OptionSet ] [-ResourceURI] - [-SelectorSet] [-SessionOption ] [-ValueSet ] - [-Credential ] [-Authentication ] [-CertificateThumbprint ] +New-WSManInstance [-ConnectionURI ] [-FilePath ] [-OptionSet ] + [-ResourceURI] [-SelectorSet] [-SessionOption ] + [-ValueSet ] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] [] ``` @@ -128,8 +131,8 @@ this action. Enter the certificate thumbprint of the certificate. Certificates are used in client certificate-based authentication. They can be mapped only to local user accounts; they do not work with domain accounts. -To get a certificate thumbprint, use the `Get-Item` or `Get-ChildItem` command in the PowerShell Cert: -drive. +To get a certificate thumbprint, use the `Get-Item` or `Get-ChildItem` command in the PowerShell +Cert: drive. ```yaml Type: System.String @@ -213,7 +216,9 @@ Specifies the path of a file that is used to create a management resource. You s management resource using the **ResourceURI** parameter and the **SelectorSet** parameter . For example, the following command uses the **File** parameter: -`Invoke-WSManAction -Action StopService -ResourceUri wmi/cimv2/Win32_Service -SelectorSet @{Name="spooler"} -File C:\input.xml -Authentication Default` +```powershell +Invoke-WSManAction -Action StopService -ResourceUri wmi/cimv2/Win32_Service -SelectorSet @{Name="spooler"} -File C:\input.xml -Authentication Default +``` This command calls the **StopService** method on the Spooler service using input from a file. The file, `Input.xml`, contains the following content: @@ -347,9 +352,9 @@ Specifies that the Secure Sockets Layer (SSL) protocol should be used to establi the remote computer. By default, SSL is not used. WS-Management encrypts all the Windows PowerShell content that is transmitted over the network. The -**UseSSL** parameter lets you specify the additional protection of HTTPS instead of HTTP. If SSL is not -available on the port that is used for the connection and you specify this parameter, the command -fails. +**UseSSL** parameter lets you specify the additional protection of HTTPS instead of HTTP. If SSL is +not available on the port that is used for the connection and you specify this parameter, the +command fails. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.7/Microsoft.WSMan.Management/New-WSManSessionOption.md b/reference/7.7/Microsoft.WSMan.Management/New-WSManSessionOption.md index 03365dfded5..5c8e0aead65 100644 --- a/reference/7.7/Microsoft.WSMan.Management/New-WSManSessionOption.md +++ b/reference/7.7/Microsoft.WSMan.Management/New-WSManSessionOption.md @@ -16,8 +16,9 @@ Creates session option hash table to use as input parameters for WS-Management c ## SYNTAX ``` -New-WSManSessionOption [-ProxyAccessType ] [-ProxyAuthentication ] - [-ProxyCredential ] [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-SPNPort ] +New-WSManSessionOption [-ProxyAccessType ] + [-ProxyAuthentication ] [-ProxyCredential ] + [-SkipCACheck] [-SkipCNCheck] [-SkipRevocationCheck] [-SPNPort ] [-OperationTimeout ] [-NoEncryption] [-UseUTF16] [] ``` @@ -265,7 +266,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.WSMan.Management/Remove-WSManInstance.md b/reference/7.7/Microsoft.WSMan.Management/Remove-WSManInstance.md index 166dcb5c75c..d659d958beb 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Remove-WSManInstance.md +++ b/reference/7.7/Microsoft.WSMan.Management/Remove-WSManInstance.md @@ -18,10 +18,11 @@ Deletes a management resource instance. ### ComputerName (Default) ``` -Remove-WSManInstance [-ApplicationName ] [-ComputerName ] [-OptionSet ] - [-Port ] [-ResourceURI] [-SelectorSet] [-SessionOption ] - [-UseSSL] [-Credential ] [-Authentication ] - [-CertificateThumbprint ] [] +Remove-WSManInstance [-ApplicationName ] [-ComputerName ] + [-OptionSet ] [-Port ] [-ResourceURI] [-SelectorSet] + [-SessionOption ] [-UseSSL] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] + [] ``` ### URI @@ -29,7 +30,8 @@ Remove-WSManInstance [-ApplicationName ] [-ComputerName ] [-Opti ``` Remove-WSManInstance [-ConnectionURI ] [-OptionSet ] [-ResourceURI] [-SelectorSet] [-SessionOption ] [-Credential ] - [-Authentication ] [-CertificateThumbprint ] [] + [-Authentication ] [-CertificateThumbprint ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/Microsoft.WSMan.Management/Set-WSManInstance.md b/reference/7.7/Microsoft.WSMan.Management/Set-WSManInstance.md index e232a656ada..7b617c9392a 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Set-WSManInstance.md +++ b/reference/7.7/Microsoft.WSMan.Management/Set-WSManInstance.md @@ -18,19 +18,21 @@ Modifies the management information that is related to a resource. ### ComputerName (Default) ``` -Set-WSManInstance [-ApplicationName ] [-ComputerName ] [-Dialect ] [-FilePath ] - [-Fragment ] [-OptionSet ] [-Port ] [-ResourceURI] - [[-SelectorSet] ] [-SessionOption ] [-UseSSL] [-ValueSet ] - [-Credential ] [-Authentication ] [-CertificateThumbprint ] +Set-WSManInstance [-ApplicationName ] [-ComputerName ] [-Dialect ] + [-FilePath ] [-Fragment ] [-OptionSet ] [-Port ] + [-ResourceURI] [[-SelectorSet] ] [-SessionOption ] + [-UseSSL] [-ValueSet ] [-Credential ] + [-Authentication ] [-CertificateThumbprint ] [] ``` ### URI ``` -Set-WSManInstance [-ConnectionURI ] [-Dialect ] [-FilePath ] [-Fragment ] - [-OptionSet ] [-ResourceURI] [[-SelectorSet] ] [-SessionOption ] - [-ValueSet ] [-Credential ] [-Authentication ] +Set-WSManInstance [-ConnectionURI ] [-Dialect ] [-FilePath ] + [-Fragment ] [-OptionSet ] [-ResourceURI] + [[-SelectorSet] ] [-SessionOption ] [-ValueSet ] + [-Credential ] [-Authentication ] [-CertificateThumbprint ] [] ``` @@ -316,7 +318,9 @@ Specifies the path of a file that is used to update a management resource. You s management resource by using the **ResourceURI** parameter and the **SelectorSet** parameter. For example, the following command uses the **FilePath** parameter: -`Invoke-WSManAction -Action StopService -ResourceUri wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath:C:\input.xml -Authentication Default` +```powershell +Invoke-WSManAction -Action StopService -ResourceUri wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath:C:\input.xml -Authentication Default +``` This command calls the **StopService** method on the Spooler service by using input from a file. The file, `Input.xml`, contains the following content: diff --git a/reference/7.7/Microsoft.WSMan.Management/Set-WSManQuickConfig.md b/reference/7.7/Microsoft.WSMan.Management/Set-WSManQuickConfig.md index 269b8f2095b..eecbb45790a 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Set-WSManQuickConfig.md +++ b/reference/7.7/Microsoft.WSMan.Management/Set-WSManQuickConfig.md @@ -136,7 +136,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/Microsoft.WSMan.Management/Test-WSMan.md b/reference/7.7/Microsoft.WSMan.Management/Test-WSMan.md index 6c1b9736a3a..654166e3d38 100644 --- a/reference/7.7/Microsoft.WSMan.Management/Test-WSMan.md +++ b/reference/7.7/Microsoft.WSMan.Management/Test-WSMan.md @@ -15,9 +15,9 @@ Tests whether the WinRM service is running on a local or remote computer. ## SYNTAX ``` -Test-WSMan [[-ComputerName] ] [-Authentication ] [-Port ] [-UseSSL] - [-ApplicationName ] [-Credential ] [-CertificateThumbprint ] - [] +Test-WSMan [[-ComputerName] ] [-Authentication ] + [-Port ] [-UseSSL] [-ApplicationName ] [-Credential ] + [-CertificateThumbprint ] [] ``` ## DESCRIPTION diff --git a/reference/7.7/PSDiagnostics/Start-Trace.md b/reference/7.7/PSDiagnostics/Start-Trace.md index 15a61cf9d64..a053ff3d507 100644 --- a/reference/7.7/PSDiagnostics/Start-Trace.md +++ b/reference/7.7/PSDiagnostics/Start-Trace.md @@ -16,9 +16,10 @@ Start an Event Trace logging session. ## SYNTAX ``` -Start-Trace [-SessionName] [[-OutputFilePath] ] [[-ProviderFilePath] ] - [-ETS] [-Format ] [-MinBuffers ] [-MaxBuffers ] - [-BufferSizeInKB ] [-MaxLogFileSizeInMB ] [] +Start-Trace [-SessionName] [[-OutputFilePath] ] + [[-ProviderFilePath] ] [-ETS] [-Format ] [-MinBuffers ] + [-MaxBuffers ] [-BufferSizeInKB ] [-MaxLogFileSizeInMB ] + [] ``` ## DESCRIPTION diff --git a/reference/7.7/PSReadLine/About/about_PSReadLine.md b/reference/7.7/PSReadLine/About/about_PSReadLine.md index 95919125760..59cc75888b1 100644 --- a/reference/7.7/PSReadLine/About/about_PSReadLine.md +++ b/reference/7.7/PSReadLine/About/about_PSReadLine.md @@ -65,8 +65,8 @@ Install-Module -Name PSReadLine -AllowClobber -Force Predictive IntelliSense is an addition to the concept of tab completion that assists the user in successfully completing commands. It enables users to -discover, edit, and execute full commands based on matching predictions from the -user's history and additional domain specific plugins. +discover, edit, and execute full commands based on matching predictions from +the user's history and additional domain specific plugins. ### Enable Predictive IntelliSense diff --git a/reference/7.7/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.7/PSReadLine/About/about_PSReadLine_Functions.md index 66ef4dff9a9..cb93593b3fb 100644 --- a/reference/7.7/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.7/PSReadLine/About/about_PSReadLine_Functions.md @@ -1170,8 +1170,8 @@ pressing the `#` key sends 10 `#` characters (`##########`) to the input line. Similarly, you can use this with other operations, like `` or `Left-Arrow`. -- Windows mode: `Alt+0`, `Alt+1`, `Alt+2`, `Alt+3`, `Alt+4`, `Alt+5`, `Alt+6`, `Alt+7`, - `Alt+8`, `Alt+9`, `Alt+-` +- Windows mode: `Alt+0`, `Alt+1`, `Alt+2`, `Alt+3`, `Alt+4`, `Alt+5`, `Alt+6`, + `Alt+7`, `Alt+8`, `Alt+9`, `Alt+-` - Emacs mode: `Alt+0`, `Alt+1`, `Alt+2`, `Alt+3`, `Alt+4`, `Alt+5`, `Alt+6`, `Alt+7`, `Alt+8`, `Alt+9`, `Alt+-` - Vi command mode: `<0>`, `<1>`, `<2>`, `<3>`, `<4>`, `<5>`, `<6>`, `<7>`, diff --git a/reference/7.7/PSReadLine/Get-PSReadLineKeyHandler.md b/reference/7.7/PSReadLine/Get-PSReadLineKeyHandler.md index 2c0c4c3308a..df17dfd75f2 100644 --- a/reference/7.7/PSReadLine/Get-PSReadLineKeyHandler.md +++ b/reference/7.7/PSReadLine/Get-PSReadLineKeyHandler.md @@ -181,7 +181,8 @@ Accept wildcard characters: False This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, --WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS diff --git a/reference/7.7/PSReadLine/Set-PSReadLineOption.md b/reference/7.7/PSReadLine/Set-PSReadLineOption.md index ac2b21903dc..d769d1a6651 100644 --- a/reference/7.7/PSReadLine/Set-PSReadLineOption.md +++ b/reference/7.7/PSReadLine/Set-PSReadLineOption.md @@ -16,16 +16,17 @@ Customizes the behavior of command line editing in **PSReadLine**. ## SYNTAX ``` -Set-PSReadLineOption [-EditMode ] [-ContinuationPrompt ] [-HistoryNoDuplicates] - [-AddToHistoryHandler ] [-CommandValidationHandler ] - [-HistorySearchCursorMovesToEnd] [-MaximumHistoryCount ] [-MaximumKillRingCount ] - [-ShowToolTips] [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] +Set-PSReadLineOption [-EditMode ] [-ContinuationPrompt ] + [-HistoryNoDuplicates] [-AddToHistoryHandler ] + [-CommandValidationHandler ] [-HistorySearchCursorMovesToEnd] + [-MaximumHistoryCount ] [-MaximumKillRingCount ] [-ShowToolTips] + [-ExtraPromptLineCount ] [-DingTone ] [-DingDuration ] [-BellStyle ] [-CompletionQueryItems ] [-WordDelimiters ] - [-HistorySearchCaseSensitive] [-HistorySaveStyle ] [-HistorySavePath ] - [-AnsiEscapeTimeout ] [-PromptText ] [-ViModeIndicator ] - [-ViModeChangeHandler ] [-PredictionSource ] - [-PredictionViewStyle ] [-Colors ] - [-TerminateOrphanedConsoleApps] [] + [-HistorySearchCaseSensitive] [-HistorySaveStyle ] + [-HistorySavePath ] [-AnsiEscapeTimeout ] [-PromptText ] + [-ViModeIndicator ] [-ViModeChangeHandler ] + [-PredictionSource ] [-PredictionViewStyle ] + [-Colors ] [-TerminateOrphanedConsoleApps] [] ``` ## DESCRIPTION