diff --git a/reference/3.0/Microsoft.PowerShell.Utility/New-Alias.md b/reference/3.0/Microsoft.PowerShell.Utility/New-Alias.md index 80344bd879db..29c311560aef 100644 --- a/reference/3.0/Microsoft.PowerShell.Utility/New-Alias.md +++ b/reference/3.0/Microsoft.PowerShell.Utility/New-Alias.md @@ -91,26 +91,27 @@ Accept wildcard characters: False ``` ### -Option -Sets the value of the Options property of the alias. - +Specifies the value of the **Options** property of the alias. Valid values are: -- None: Sets no options. ("None" is the default.) -- ReadOnly: Can be deleted. Cannot be not changed, except by using the Force parameter. -- Constant: Cannot be deleted or changed. -- Private: The alias is available only in the current scope. -- AllScope: The alias is copied to any new scopes that are created. +- None: The alias has no constraints (default value) +- ReadOnly: The alias can be deleted but cannot be changed except by using the **Force** parameter +- Constant: The alias cannot be deleted or changed +- Private: The alias is available only in the current scope +- AllScope: The alias is copied to any new scopes that are created +- Unspecified: The option is not specified -To see the Options property of all aliases in the session, type "get-alias | format-table -property name, options -autosize". +To see the **Options** property of all aliases in the session, type `Get-Alias | Format-Table -Property Name, Options -AutoSize`. ```yaml Type: ScopedItemOptions Parameter Sets: (All) -Aliases: +Aliases: +Accepted values: None, ReadOnly, Constant, Private, AllScope, Unspecified Required: False Position: Named -Default value: "None" +Default value: [System.Management.Automation.ScopedItemOptions]::None Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/4.0/Microsoft.PowerShell.Utility/New-Alias.md b/reference/4.0/Microsoft.PowerShell.Utility/New-Alias.md index 650f386771af..bcbcd7f35a49 100644 --- a/reference/4.0/Microsoft.PowerShell.Utility/New-Alias.md +++ b/reference/4.0/Microsoft.PowerShell.Utility/New-Alias.md @@ -96,26 +96,27 @@ Accept wildcard characters: False ``` ### -Option -Sets the value of the Options property of the alias. - +Specifies the value of the **Options** property of the alias. Valid values are: -- None: Sets no options. ("None" is the default.) -- ReadOnly: Can be deleted. Cannot be not changed, except by using the Force parameter. -- Constant: Cannot be deleted or changed. -- Private: The alias is available only in the current scope. -- AllScope: The alias is copied to any new scopes that are created. +- None: The alias has no constraints (default value) +- ReadOnly: The alias can be deleted but cannot be changed except by using the **Force** parameter +- Constant: The alias cannot be deleted or changed +- Private: The alias is available only in the current scope +- AllScope: The alias is copied to any new scopes that are created +- Unspecified: The option is not specified -To see the Options property of all aliases in the session, type "get-alias | format-table -property name, options -autosize". +To see the **Options** property of all aliases in the session, type `Get-Alias | Format-Table -Property Name, Options -AutoSize`. ```yaml Type: ScopedItemOptions Parameter Sets: (All) -Aliases: +Aliases: +Accepted values: None, ReadOnly, Constant, Private, AllScope, Unspecified Required: False Position: Named -Default value: "None" +Default value: [System.Management.Automation.ScopedItemOptions]::None Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/5.0/Microsoft.PowerShell.Utility/New-Alias.md b/reference/5.0/Microsoft.PowerShell.Utility/New-Alias.md index c96916bc965e..3d93812e7e0c 100644 --- a/reference/5.0/Microsoft.PowerShell.Utility/New-Alias.md +++ b/reference/5.0/Microsoft.PowerShell.Utility/New-Alias.md @@ -111,33 +111,27 @@ Accept wildcard characters: False ``` ### -Option -Specifies that the cmdlet sets the value of the **Options** property of the alias. -The acceptable values for this parameter are: +Specifies the value of the **Options** property of the alias. +Valid values are: + +- None: The alias has no constraints (default value) +- ReadOnly: The alias can be deleted but cannot be changed except by using the **Force** parameter +- Constant: The alias cannot be deleted or changed +- Private: The alias is available only in the current scope +- AllScope: The alias is copied to any new scopes that are created +- Unspecified: The option is not specified -- None. -Sets no options. -(None is the default.) -- ReadOnly. -Can be deleted. -Cannot be not changed, except by using the *Force* parameter. -- Constant. -Cannot be deleted or changed. -- Private. -The alias is available only in the current scope. -- AllScope. -The alias is copied to any new scopes that are created. - -To see the Options property of all aliases in the session, type `Get-Alias | Format-Table -Property name, options -autosize`. +To see the **Options** property of all aliases in the session, type `Get-Alias | Format-Table -Property Name, Options -AutoSize`. ```yaml Type: ScopedItemOptions Parameter Sets: (All) -Aliases: +Aliases: Accepted values: None, ReadOnly, Constant, Private, AllScope, Unspecified Required: False Position: Named -Default value: None +Default value: [System.Management.Automation.ScopedItemOptions]::None Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/5.1/Microsoft.PowerShell.Utility/New-Alias.md b/reference/5.1/Microsoft.PowerShell.Utility/New-Alias.md index c19ea8f02d86..3d93812e7e0c 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/New-Alias.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/New-Alias.md @@ -111,33 +111,27 @@ Accept wildcard characters: False ``` ### -Option -Specifies that the cmdlet sets the value of the **Options** property of the alias. -The acceptable values for this parameter are: +Specifies the value of the **Options** property of the alias. +Valid values are: + +- None: The alias has no constraints (default value) +- ReadOnly: The alias can be deleted but cannot be changed except by using the **Force** parameter +- Constant: The alias cannot be deleted or changed +- Private: The alias is available only in the current scope +- AllScope: The alias is copied to any new scopes that are created +- Unspecified: The option is not specified -- None. -Sets no options. -(None is the default.) -- ReadOnly. -Can be deleted. -Cannot be not changed, except by using the *Force* parameter. -- Constant. -Cannot be deleted or changed. -- Private. -The alias is available only in the current scope. -- AllScope. -The alias is copied to any new scopes that are created. - -To see the **Options****** property of all aliases in the session, type `Get-Alias | Format-Table -Property name, options -autosize`. +To see the **Options** property of all aliases in the session, type `Get-Alias | Format-Table -Property Name, Options -AutoSize`. ```yaml Type: ScopedItemOptions Parameter Sets: (All) -Aliases: +Aliases: Accepted values: None, ReadOnly, Constant, Private, AllScope, Unspecified Required: False Position: Named -Default value: None +Default value: [System.Management.Automation.ScopedItemOptions]::None Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/reference/6/Microsoft.PowerShell.Utility/New-Alias.md b/reference/6/Microsoft.PowerShell.Utility/New-Alias.md index cd08bd0cceb4..9709a59d774a 100644 --- a/reference/6/Microsoft.PowerShell.Utility/New-Alias.md +++ b/reference/6/Microsoft.PowerShell.Utility/New-Alias.md @@ -96,23 +96,17 @@ Accept wildcard characters: False ``` ### -Option -Specifies that the cmdlet sets the value of the **Options** property of the alias. -The acceptable values for this parameter are: +Specifies the value of the **Options** property of the alias. +Valid values are: + +- None: The alias has no constraints (default value) +- ReadOnly: The alias can be deleted but cannot be changed except by using the **Force** parameter +- Constant: The alias cannot be deleted or changed +- Private: The alias is available only in the current scope +- AllScope: The alias is copied to any new scopes that are created +- Unspecified: The option is not specified -- None. -Sets no options. -(None is the default.) -- ReadOnly. -Can be deleted. -Cannot be not changed, except by using the *Force* parameter. -- Constant. -Cannot be deleted or changed. -- Private. -The alias is available only in the current scope. -- AllScope. -The alias is copied to any new scopes that are created. - -To see the **Options****** property of all aliases in the session, type `Get-Alias | Format-Table -Property name, options -autosize`. +To see the **Options** property of all aliases in the session, type `Get-Alias | Format-Table -Property Name, Options -AutoSize`. ```yaml Type: ScopedItemOptions @@ -122,7 +116,7 @@ Accepted values: None, ReadOnly, Constant, Private, AllScope, Unspecified Required: False Position: Named -Default value: None +Default value: [System.Management.Automation.ScopedItemOptions]::None Accept pipeline input: False Accept wildcard characters: False ```