From 9049e463adf99dc6e455351eee005401bc171f90 Mon Sep 17 00:00:00 2001 From: davidsmatlak Date: Fri, 1 Nov 2019 13:36:38 -0700 Subject: [PATCH] parameter updates 6.2 --- .../About/about_pwsh.md | 2 ++ .../Enter-PSHostProcess.md | 2 ++ .../ConvertFrom-Json.md | 2 ++ .../ConvertTo-Json.md | 36 ++++++++++--------- .../Send-MailMessage.md | 36 ++++++++++--------- .../About/about_pwsh.md | 2 ++ .../Enter-PSHostProcess.md | 2 ++ .../ConvertFrom-Json.md | 2 ++ .../ConvertTo-Json.md | 36 ++++++++++--------- .../Send-MailMessage.md | 36 ++++++++++--------- 10 files changed, 88 insertions(+), 68 deletions(-) diff --git a/reference/6/Microsoft.PowerShell.Core/About/about_pwsh.md b/reference/6/Microsoft.PowerShell.Core/About/about_pwsh.md index 4b330d17c0e3..0402837b9cf9 100644 --- a/reference/6/Microsoft.PowerShell.Core/About/about_pwsh.md +++ b/reference/6/Microsoft.PowerShell.Core/About/about_pwsh.md @@ -159,6 +159,8 @@ debugging and other cross-process communication. This offers a predictable mechanism for connecting to other PowerShell instances. Typically used with the **CustomPipeName** parameter on `Enter-PSHostProcess`. +This parameter was introduced in PowerShell 6.2. + For example: ```powershell diff --git a/reference/6/Microsoft.PowerShell.Core/Enter-PSHostProcess.md b/reference/6/Microsoft.PowerShell.Core/Enter-PSHostProcess.md index 474b325175ba..8862568c09a4 100644 --- a/reference/6/Microsoft.PowerShell.Core/Enter-PSHostProcess.md +++ b/reference/6/Microsoft.PowerShell.Core/Enter-PSHostProcess.md @@ -200,6 +200,8 @@ Gets or sets the custom named pipe name to connect to. This is usually used in conjunction with `pwsh -CustomPipeName`. +This parameter was introduced in PowerShell 6.2. + ```yaml Type: String Parameter Sets: PipeNameParameterSet diff --git a/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md b/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md index d579cf979274..76f47bc4dcd7 100644 --- a/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md +++ b/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md @@ -138,6 +138,8 @@ Accept wildcard characters: False Gets or sets the maximum depth the JSON input is allowed to have. By default, it is 1024. +This parameter was introduced in PowerShell 6.2. + ```yaml Type: Int32 Parameter Sets: (All) diff --git a/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Json.md b/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Json.md index 212b490c5cbc..da2935426394 100644 --- a/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Json.md +++ b/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Json.md @@ -236,6 +236,25 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EscapeHandling + +Controls how certain characters are escaped in the resulting JSON output. By default, only control +characters (e.g. newline) are escaped. + +This parameter was introduced in PowerShell 6.2. + +```yaml +Type: NewtonSoft.Json.StringEscapeHandling +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: Default +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Specifies the objects to convert to JSON format. Enter a variable that contains the objects, or type @@ -257,23 +276,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -EscapeHandling - -Controls how certain characters are escaped in the resulting JSON output. By default, only control -characters (e.g. newline) are escaped. - -```yaml -Type: NewtonSoft.Json.StringEscapeHandling -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: Default -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, diff --git a/reference/6/Microsoft.PowerShell.Utility/Send-MailMessage.md b/reference/6/Microsoft.PowerShell.Utility/Send-MailMessage.md index 03d0e7aab086..581739741472 100644 --- a/reference/6/Microsoft.PowerShell.Utility/Send-MailMessage.md +++ b/reference/6/Microsoft.PowerShell.Utility/Send-MailMessage.md @@ -173,23 +173,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ReplyTo - -Specifies additional email addresses (other than the From address) to use to reply to this message. -Enter names (optional) and the email address, such as `Name `. - -```yaml -Type: String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Credential Specifies a user account that has permission to perform this action. The default is the current @@ -331,6 +314,25 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ReplyTo + +Specifies additional email addresses (other than the From address) to use to reply to this message. +Enter names (optional) and the email address, such as `Name `. + +This parameter was introduced in PowerShell 6.2. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SmtpServer Specifies the name of the SMTP server that sends the email message. diff --git a/reference/7/Microsoft.PowerShell.Core/About/about_pwsh.md b/reference/7/Microsoft.PowerShell.Core/About/about_pwsh.md index a61f68238daa..75fe3be1885d 100644 --- a/reference/7/Microsoft.PowerShell.Core/About/about_pwsh.md +++ b/reference/7/Microsoft.PowerShell.Core/About/about_pwsh.md @@ -162,6 +162,8 @@ debugging and other cross-process communication. This offers a predictable mechanism for connecting to other PowerShell instances. Typically used with the **CustomPipeName** parameter on `Enter-PSHostProcess`. +This parameter was introduced in PowerShell 6.2. + For example: ```powershell diff --git a/reference/7/Microsoft.PowerShell.Core/Enter-PSHostProcess.md b/reference/7/Microsoft.PowerShell.Core/Enter-PSHostProcess.md index 27e46f6da5fb..ab612649aa3b 100644 --- a/reference/7/Microsoft.PowerShell.Core/Enter-PSHostProcess.md +++ b/reference/7/Microsoft.PowerShell.Core/Enter-PSHostProcess.md @@ -200,6 +200,8 @@ Gets or sets the custom named pipe name to connect to. This is usually used in conjunction with `pwsh -CustomPipeName`. +This parameter was introduced in PowerShell 6.2. + ```yaml Type: String Parameter Sets: PipeNameParameterSet diff --git a/reference/7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md b/reference/7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md index aa68aa052318..e384a7693d80 100644 --- a/reference/7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md +++ b/reference/7/Microsoft.PowerShell.Utility/ConvertFrom-Json.md @@ -138,6 +138,8 @@ Accept wildcard characters: False Gets or sets the maximum depth the JSON input is allowed to have. By default, it is 1024. +This parameter was introduced in PowerShell 6.2. + ```yaml Type: Int32 Parameter Sets: (All) diff --git a/reference/7/Microsoft.PowerShell.Utility/ConvertTo-Json.md b/reference/7/Microsoft.PowerShell.Utility/ConvertTo-Json.md index 3a48220641da..5be81b74cf31 100644 --- a/reference/7/Microsoft.PowerShell.Utility/ConvertTo-Json.md +++ b/reference/7/Microsoft.PowerShell.Utility/ConvertTo-Json.md @@ -236,6 +236,25 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EscapeHandling + +Controls how certain characters are escaped in the resulting JSON output. By default, only control +characters (e.g. newline) are escaped. + +This parameter was introduced in PowerShell 6.2. + +```yaml +Type: NewtonSoft.Json.StringEscapeHandling +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: Default +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Specifies the objects to convert to JSON format. Enter a variable that contains the objects, or type @@ -257,23 +276,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -EscapeHandling - -Controls how certain characters are escaped in the resulting JSON output. By default, only control -characters (e.g. newline) are escaped. - -```yaml -Type: NewtonSoft.Json.StringEscapeHandling -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: Default -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, diff --git a/reference/7/Microsoft.PowerShell.Utility/Send-MailMessage.md b/reference/7/Microsoft.PowerShell.Utility/Send-MailMessage.md index ffaf580d77ee..5c1db2567e0c 100644 --- a/reference/7/Microsoft.PowerShell.Utility/Send-MailMessage.md +++ b/reference/7/Microsoft.PowerShell.Utility/Send-MailMessage.md @@ -172,23 +172,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ReplyTo - -Specifies additional email addresses (other than the From address) to use to reply to this message. -Enter names (optional) and the email address, such as `Name `. - -```yaml -Type: String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Credential Specifies a user account that has permission to perform this action. The default is the current @@ -330,6 +313,25 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ReplyTo + +Specifies additional email addresses (other than the From address) to use to reply to this message. +Enter names (optional) and the email address, such as `Name `. + +This parameter was introduced in PowerShell 6.2. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SmtpServer Specifies the name of the SMTP server that sends the email message.