Updates from: 09/11/2021 03:40:37
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Archive Compress Archive (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Archive/Compress-Archive.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -DestinationPath This parameter is required and specifies the path to the archive output file. The
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Core About Functions Advanced Parameters (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Parameters.md
value is required.
- Switch parameters should not be given default values. They should always default to false.
+- Switch parameters are excluded from positional parameters by default.
+ Even when other parameters are implicitly positional, switch parameters are not.
+ You _can_ override that in the Parameter attribute, but it will confuse users.
- Switch parameters should be designed so that setting them moves a command from its default functionality to a less common or more complicated mode. The simplest behavior of a command should be the default behavior that does not require the use of switch parameters.-- Switch parameters should not be mandatory since a switch, when used, can only
- be `$true`. The only case where it is necessary to make a switch parameter
+- Switch parameters should not be mandatory.
+ The only case where it is necessary to make a switch parameter
mandatory is when it is needed to differentiate a parameter set. - Explicitly setting a switch from a boolean can be done with `-MySwitch:$boolValue` and in splatting with `$params = @{ MySwitch = $boolValue }`.-- Switch parameters are of type `SwitchParameter` but implicitly convert to
+- Switch parameters are of type `SwitchParameter`, which implicitly converts to
Boolean. The parameter variable can be used directly in a conditional expression. For example:
Microsoft.PowerShell.Core Disable Psremoting (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/Disable-PSRemoting.md
WithProfile NT AUTHORITY\NETWORK AccessDenied, BUILTIN\Adminis
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
+### -Force
+Forces the command to run without asking for user confirmation.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -Force
-Forces the command to run without asking for user confirmation.
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases:
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Core Disconnect Pssession (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/Disconnect-PSSession.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -OutputBufferingMode
+
+Determines how command output is managed in the disconnected session when the output buffer is
+full. The default value is **Block**.
+
+If the command in the disconnected session is returning output and the output buffer fills, the
+value of this parameter effectively determines whether the command continues to run while the
+session is disconnected. A value of **Block** suspends the command until the session is
+reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
+using the **Drop** value, redirect the command output to a file on disk.
+
+Valid values are:
+
+- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.
+- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
+ output is discarded.
+- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
+ of the session configuration is used for the disconnected session.
+
+```yaml
+Type: System.Management.Automation.Runspaces.OutputBufferingMode
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Block
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Session Disconnects from the specified PSSessions. Enter PSSession objects, such as those that the
Accept pipeline input: False
Accept wildcard characters: False ```
-### -OutputBufferingMode
-
-Determines how command output is managed in the disconnected session when the output buffer is
-full. The default value is **Block**.
-
-If the command in the disconnected session is returning output and the output buffer fills, the
-value of this parameter effectively determines whether the command continues to run while the
-session is disconnected. A value of **Block** suspends the command until the session is
-reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
-using the **Drop** value, redirect the command output to a file on disk.
-
-Valid values are:
--- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.-- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
- output is discarded.
-- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
- of the session configuration is used for the disconnected session.
-
-```yaml
-Type: System.Management.Automation.Runspaces.OutputBufferingMode
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Block
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Enable Psremoting (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/Enable-PSRemoting.md
subnets.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces the command to run without asking for user confirmation.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core New Modulemanifest (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/New-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -CompatiblePSEditions Specifies the module's compatible PSEditions. For information about PSEdition, see
Accept pipeline input: False
Accept wildcard characters: False ```
+### -DefaultCommandPrefix
+
+Specifies a prefix that is prepended to the nouns of all commands in the module when they're
+imported into a session. Enter a prefix string. Prefixes prevent command name conflicts in a user's
+session.
+
+Module users can override this prefix by specifying the **Prefix** parameter of the `Import-Module`
+cmdlet.
+
+This parameter was introduced in PowerShell 3.0.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Description Describes the contents of the module.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -RootModule
+
+Specifies the primary or root file of the module. Enter the file name of a script (`.ps1`), a script
+module (`.psm1`), a module manifest(`.psd1`), an assembly (`.dll`), a cmdlet definition XML file
+(`.cdxml`), or a workflow (`.xaml`). When the module is imported, the members that are exported from
+the root module file are imported into the caller's session state.
+
+If a module has a manifest file and no root file was designated in the **RootModule** key, the
+manifest becomes the primary file for the module, and the module becomes a manifest module
+(ModuleType = Manifest).
+
+To export members from `.psm1` or `.dll` files in a module that has a manifest, the names of those
+files must be specified in the values of the **RootModule** or **NestedModules** keys in the
+manifest. Otherwise, their members aren't exported.
+
+> [!NOTE]
+> In PowerShell 2.0, this key was called **ModuleToProcess**. You can use the **RootModule**
+> parameter name or its **ModuleToProcess** alias.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: ModuleToProcess
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ScriptsToProcess Specifies script (`.ps1`) files that run in the caller's session state when the module is imported.
Accept pipeline input: False
Accept wildcard characters: True ```
-### -DefaultCommandPrefix
-
-Specifies a prefix that is prepended to the nouns of all commands in the module when they're
-imported into a session. Enter a prefix string. Prefixes prevent command name conflicts in a user's
-session.
-
-Module users can override this prefix by specifying the **Prefix** parameter of the `Import-Module`
-cmdlet.
-
-This parameter was introduced in PowerShell 3.0.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -RootModule
-
-Specifies the primary or root file of the module. Enter the file name of a script (`.ps1`), a script
-module (`.psm1`), a module manifest(`.psd1`), an assembly (`.dll`), a cmdlet definition XML file
-(`.cdxml`), or a workflow (`.xaml`). When the module is imported, the members that are exported from
-the root module file are imported into the caller's session state.
-
-If a module has a manifest file and no root file was designated in the **RootModule** key, the
-manifest becomes the primary file for the module, and the module becomes a manifest module
-(ModuleType = Manifest).
-
-To export members from `.psm1` or `.dll` files in a module that has a manifest, the names of those
-files must be specified in the values of the **RootModule** or **NestedModules** keys in the
-manifest. Otherwise, their members aren't exported.
+### -Confirm
-> [!NOTE]
-> In PowerShell 2.0, this key was called **ModuleToProcess**. You can use the **RootModule**
-> parameter name or its **ModuleToProcess** alias.
+Prompts you for confirmation before running the cmdlet.
```yaml
-Type: System.String
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: ModuleToProcess
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Core Remove Job (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/Remove-Job.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before `Remove-Job` is run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Filter Deletes jobs that satisfy all the conditions established in the associated hash table. Enter a hash
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before `Remove-Job` is run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Remove-Job` runs. The cmdlet isn't run.
Microsoft.PowerShell.Diagnostics Get Winevent (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -FilterXPath
-
-Specifies an XPath query that this cmdlet select events from one or more logs.
-
-For more information about the XPath language, see [XPath Reference](/previous-versions/dotnet/netframework-4.0/ms256115(v=vs.100))
-and the Selection Filters section of [Event Selection](/previous-versions/aa385231(v=vs.85)).
-
-```yaml
-Type: System.String
-Parameter Sets: GetLogSet, GetProviderSet, FileSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -FilterXml Specifies a structured XML query that this cmdlet selects events from one or more event logs.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -FilterXPath
+
+Specifies an XPath query that this cmdlet select events from one or more logs.
+
+For more information about the XPath language, see [XPath Reference](/previous-versions/dotnet/netframework-4.0/ms256115(v=vs.100))
+and the Selection Filters section of [Event Selection](/previous-versions/aa385231(v=vs.85)).
+
+```yaml
+Type: System.String
+Parameter Sets: GetLogSet, GetProviderSet, FileSet
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Force Gets debug and analytic logs, in addition to other event logs. The **Force** parameter is required
Microsoft.PowerShell.Management Add Content (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/Add-Content.md
set to `False`.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-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
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Management Copy Item (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/Copy-Item.md
the same name are overwritten in the destination folder.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Container Indicates that this cmdlet preserves container objects during the copy operation. By default, the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Get Content (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/Get-Content.md
PowerShell as `[System.Object[]]`.
## PARAMETERS
-### -Path
+### -Credential
-Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
-permitted. The paths must be paths to items, not to containers. For example, you must specify a path
-to one or more files, not a path to a directory.
+> [!NOTE]
+> This parameter is not supported by any providers installed with PowerShell.
+> To impersonate another user, or elevate your credentials when running this cmdlet,
+> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
```yaml
-Type: System.String[]
-Parameter Sets: Path
+Type: System.Management.Automation.PSCredential
+Parameter Sets: (All)
Aliases:
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: True
-```
-
-### -LiteralPath
-
-Specifies a path to one or more locations. The value of **LiteralPath** 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.
-
-For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
-
-```yaml
-Type: System.String[]
-Parameter Sets: LiteralPath
-Aliases: PSPath
-
-Required: True
+Required: False
Position: Named
-Default value: None
+Default value: Current user
Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```
-### -ReadCount
+### -Delimiter
-Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
-A value of 0 (zero) sends all of the content at one time.
+Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
+default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
+collection of string objects, each of which ends with an end-of-line character. When you enter a
+delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
+undelimited object.
-This parameter does not change the content displayed, but it does affect the time it takes to
-display the content. As the value of **ReadCount** increases, the time it takes to return the first
-line increases, but the total time for the operation decreases. This can make a perceptible
-difference in large items.
+You can use this parameter to split a large file into smaller files by specifying a file separator,
+as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
+section.
+
+**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
+cmdlet. This parameter works only in file system drives.
+
+> [!NOTE]
+> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
+> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
+> a single, undelimited string. Enter a value that does not exist in the file.
```yaml
-Type: System.Int64
+Type: System.String
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: 1
-Accept pipeline input: True (ByPropertyName)
+Default value: End-of-line character
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -TotalCount
+### -Encoding
-Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
-lines).
+Specifies the type of encoding for the target file. The default value is `Default`.
-You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+The acceptable values for this parameter are as follows:
+
+- `Ascii` Uses ASCII (7-bit) character set.
+- `BigEndianUnicode` Uses UTF-16 with the big-endian byte order.
+- `BigEndianUTF32` Uses UTF-32 with the big-endian byte order.
+- `Byte` Encodes a set of characters into a sequence of bytes.
+- `Default` Uses the encoding that corresponds to the system's active code page (usually ANSI).
+- `Oem` Uses the encoding that corresponds to the system's current OEM code page.
+- `String` Same as `Unicode`.
+- `Unicode` Uses UTF-16 with the little-endian byte order.
+- `Unknown` Same as `Unicode`.
+- `UTF7` Uses UTF-7.
+- `UTF8` Uses UTF-8.
+- `UTF32` Uses UTF-32 with the little-endian byte order.
+
+Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
+This parameter works only in file system drives.
+
+When reading from and writing to binary files, use a value of **Byte** for the **Encoding** dynamic
+parameter and a value of 0 for the **ReadCount** parameter. A **ReadCount** value of 0 reads the
+entire file in a single read operation and converts it into a single object (PSObject). The default
+**ReadCount** value, 1, reads one byte in each read operation and converts each byte into a separate
+object, which causes errors when you use the `Set-Content` cmdlet to write the bytes to a file.
```yaml
-Type: System.Int64
+Type: Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding
Parameter Sets: (All)
-Aliases: First, Head
+Aliases:
+Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, String, Unicode, Unknown, UTF7, UTF8, UTF32
Required: False Position: Named
-Default value: -1
-Accept pipeline input: True (ByPropertyName)
+Default value: Default
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -Tail
+### -Exclude
-Specifies the number of lines from the end of a file or other item. You can use the **Tail**
-parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
+Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
+The value of this parameter qualifies the **Path** parameter.
+
+Enter a path element or pattern, such as `*.txt`.
+Wildcard characters are permitted.
+
+The **Exclude** parameter is effective only when the command includes the contents of an item,
+such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
+directory.
```yaml
-Type: System.Int32
+Type: System.String[]
Parameter Sets: (All)
-Aliases: Last
+Aliases:
Required: False Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
+Accept pipeline input: False
+Accept wildcard characters: True
``` ### -Filter
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Force
+
+**Force** will override a read-only attribute or create directories to complete a file path. The
+**Force** parameter does not attempt to change file permissions or override security restrictions.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Include Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Exclude
-
-Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
-The value of this parameter qualifies the **Path** parameter.
+### -LiteralPath
-Enter a path element or pattern, such as `*.txt`.
-Wildcard characters are permitted.
+Specifies a path to one or more locations. The value of **LiteralPath** 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.
-The **Exclude** parameter is effective only when the command includes the contents of an item,
-such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
-directory.
+For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
```yaml Type: System.String[]
-Parameter Sets: (All)
-Aliases:
+Parameter Sets: LiteralPath
+Aliases: PSPath
-Required: False
+Required: True
Position: Named Default value: None
-Accept pipeline input: False
-Accept wildcard characters: True
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
```
-### -Force
+### -Path
-**Force** will override a read-only attribute or create directories to complete a file path. The
-**Force** parameter does not attempt to change file permissions or override security restrictions.
+Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
+permitted. The paths must be paths to items, not to containers. For example, you must specify a path
+to one or more files, not a path to a directory.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: Path
Aliases:
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
+Required: True
+Position: 0
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: True
```
-### -Credential
+### -Raw
-> [!NOTE]
-> This parameter is not supported by any providers installed with PowerShell.
-> To impersonate another user, or elevate your credentials when running this cmdlet,
-> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
+Ignores newline characters and returns the entire contents of a file in one string with the newlines
+preserved. By default, newline characters in a file are used as delimiters to separate the input
+into an array of strings. This parameter was introduced in PowerShell 3.0.
+
+**Raw** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet
+This parameter works only in file system drives.
```yaml
-Type: System.Management.Automation.PSCredential
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: Current user
-Accept pipeline input: True (ByPropertyName)
+Default value: None
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -Delimiter
-
-Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
-default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
-collection of string objects, each of which ends with an end-of-line character. When you enter a
-delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
-undelimited object.
-
-You can use this parameter to split a large file into smaller files by specifying a file separator,
-as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
-section.
+### -ReadCount
-**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
-cmdlet. This parameter works only in file system drives.
+Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
+A value of 0 (zero) sends all of the content at one time.
-> [!NOTE]
-> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
-> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
-> a single, undelimited string. Enter a value that does not exist in the file.
+This parameter does not change the content displayed, but it does affect the time it takes to
+display the content. As the value of **ReadCount** increases, the time it takes to return the first
+line increases, but the total time for the operation decreases. This can make a perceptible
+difference in large items.
```yaml
-Type: System.String
+Type: System.Int64
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: End-of-line character
-Accept pipeline input: False
+Default value: 1
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Wait
+### -Stream
-Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
-the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
-**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
-reported.
+Gets the contents of the specified alternate NTFS file stream from the file. Enter the stream name.
+Wildcards are not supported.
-**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
-parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
+**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
+This parameter works only in file system drives on Windows systems. This parameter was introduced in
+Windows PowerShell 3.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: System.String
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -Raw
-
-Ignores newline characters and returns the entire contents of a file in one string with the newlines
-preserved. By default, newline characters in a file are used as delimiters to separate the input
-into an array of strings. This parameter was introduced in PowerShell 3.0.
+### -Tail
-**Raw** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet
-This parameter works only in file system drives.
+Specifies the number of lines from the end of a file or other item. You can use the **Tail**
+parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: System.Int32
Parameter Sets: (All)
-Aliases:
+Aliases: Last
Required: False Position: Named Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Encoding
-
-Specifies the type of encoding for the target file. The default value is `Default`.
-
-The acceptable values for this parameter are as follows:
--- `Ascii` Uses ASCII (7-bit) character set.-- `BigEndianUnicode` Uses UTF-16 with the big-endian byte order.-- `BigEndianUTF32` Uses UTF-32 with the big-endian byte order.-- `Byte` Encodes a set of characters into a sequence of bytes.-- `Default` Uses the encoding that corresponds to the system's active code page (usually ANSI).-- `Oem` Uses the encoding that corresponds to the system's current OEM code page.-- `String` Same as `Unicode`.-- `Unicode` Uses UTF-16 with the little-endian byte order.-- `Unknown` Same as `Unicode`.-- `UTF7` Uses UTF-7.-- `UTF8` Uses UTF-8.-- `UTF32` Uses UTF-32 with the little-endian byte order.
+### -TotalCount
-Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
-This parameter works only in file system drives.
+Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
+lines).
-When reading from and writing to binary files, use a value of **Byte** for the **Encoding** dynamic
-parameter and a value of 0 for the **ReadCount** parameter. A **ReadCount** value of 0 reads the
-entire file in a single read operation and converts it into a single object (PSObject). The default
-**ReadCount** value, 1, reads one byte in each read operation and converts each byte into a separate
-object, which causes errors when you use the `Set-Content` cmdlet to write the bytes to a file.
+You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
```yaml
-Type: Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding
+Type: System.Int64
Parameter Sets: (All)
-Aliases:
-Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, Byte, Default, OEM, String, Unicode, Unknown, UTF7, UTF8, UTF32
+Aliases: First, Head
Required: False Position: Named
-Default value: Default
-Accept pipeline input: False
+Default value: -1
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Stream
-
-Gets the contents of the specified alternate NTFS file stream from the file. Enter the stream name.
-Wildcards are not supported.
+### -UseTransaction
-**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
-This parameter works only in file system drives on Windows systems. This parameter was introduced in
-Windows PowerShell 3.0.
+Includes the command in the active transaction. This parameter is valid only when a transaction is
+in progress. For more information, see [about_Transactions](../Microsoft.PowerShell.Core/About/about_Transactions.md).
```yaml
-Type: System.String
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases:
+Aliases: usetx
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
-### -UseTransaction
+### -Wait
-Includes the command in the active transaction. This parameter is valid only when a transaction is
-in progress. For more information, see [about_Transactions](../Microsoft.PowerShell.Core/About/about_Transactions.md).
+Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
+the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
+**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
+reported.
+
+**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
+parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: usetx
+Aliases:
Required: False Position: Named
Microsoft.PowerShell.Management Get Item (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/Get-Item.md
Get-Item C:\Windows\*.* -Exclude "w*"
## PARAMETERS
-### -Stream
-
-Gets the specified alternate NTFS file stream from the file. Enter the stream name. Wildcards are
-supported. To get all streams, use an asterisk (`*`). This parameter isn't valid on folders.
-
-**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Item` cmdlet.
-This parameter works only in file system drives.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: No alternate file streams
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Stream
+
+Gets the specified alternate NTFS file stream from the file. Enter the stream name. Wildcards are
+supported. To get all streams, use an asterisk (`*`). This parameter isn't valid on folders.
+
+**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Item` cmdlet.
+This parameter works only in file system drives.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: No alternate file streams
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### -UseTransaction Includes the command in the active transaction. This parameter is valid only when a transaction is
Microsoft.PowerShell.Management New Psdrive (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/New-PSDrive.md
X: \\products\public Disconnected Unavailable
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Set Service (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/Set-Service.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Set-Service`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Description Specifies a new description for the service.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Set-Service`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Set-Service` runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Stop Computer (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Management/Stop-Computer.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Security Get Acl (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Security/Get-Acl.md
Get-Acl -InputObject (Get-StorageSubSystem -Name S087)
## PARAMETERS
+### -AllCentralAccessPolicies
+
+Gets information about all central access policies that are enabled on the computer.
+
+Beginning in Windows Server 2012, administrators can use Active Directory and Group Policy to set
+central access policies for users and groups. For more information, see
+[Dynamic Access Control: Scenario Overview](/windows-server/identity/solution-guides/dynamic-access-control--scenario-overview).
+
+This parameter is introduced in Windows PowerShell 3.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Audit Gets the audit data for the security descriptor from the system access control list (SACL).
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Path
-
-Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
-by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
-security descriptor of the current directory.
-
-The parameter name ("Path") is optional.
-
-```yaml
-Type: System.String[]
-Parameter Sets: ByPath
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
-```
-
-### -AllCentralAccessPolicies
-
-Gets information about all central access policies that are enabled on the computer.
-
-Beginning in Windows Server 2012, administrators can use Active Directory and Group Policy to set
-central access policies for users and groups. For more information, see
-[Dynamic Access Control: Scenario Overview](/windows-server/identity/solution-guides/dynamic-access-control--scenario-overview).
-
-This parameter is introduced in Windows PowerShell 3.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -InputObject Gets the security descriptor for the specified object. Enter a variable that contains the object or
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Path
+
+Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
+by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
+security descriptor of the current directory.
+
+The parameter name ("Path") is optional.
+
+```yaml
+Type: System.String[]
+Parameter Sets: ByPath
+Aliases:
+
+Required: False
+Position: 1
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
+Accept wildcard characters: True
+```
+ ### -UseTransaction Includes the command in the active transaction.
Microsoft.PowerShell.Security Set Acl (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Security/Set-Acl.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
-### -Confirm
+### -UseTransaction
-Prompts you for confirmation before running the cmdlet.
+Includes the command in the active transaction.
+This parameter is valid only when a transaction is in progress.
+For more information, see [about_Transactions](../Microsoft.PowerShell.Core/About/about_Transactions.md).
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases: usetx
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseTransaction
+### -Confirm
-Includes the command in the active transaction.
-This parameter is valid only when a transaction is in progress.
-For more information, see [about_Transactions](../Microsoft.PowerShell.Core/About/about_Transactions.md).
+Prompts you for confirmation before running the cmdlet.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: usetx
+Aliases: cf
Required: False Position: Named
Microsoft.PowerShell.Security Set Authenticodesignature (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Security/Set-AuthenticodeSignature.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Content
+
+This parameter appears in the syntax listing because it is defined in the base class that
+`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
+in `Set-AuthenticodeSignature`.
+
+```yaml
+Type: System.Byte[]
+Parameter Sets: ByContent
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -FilePath Specifies the path to a file that is being signed.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -TimestampServer
-
-Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
-stamp server as a string.
-
-The time stamp represents the exact time that the certificate was added to the file. A time stamp
-prevents the script from failing if the certificate expires because users and programs can verify
-that the certificate was valid at the time of signing.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies the path to a file that is being signed. Unlike **FilePath**, the value of the
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Content
+### -TimestampServer
-This parameter appears in the syntax listing because it is defined in the base class that
-`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
-in `Set-AuthenticodeSignature`.
+Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
+stamp server as a string.
+
+The time stamp represents the exact time that the certificate was added to the file. A time stamp
+prevents the script from failing if the certificate expires because users and programs can verify
+that the certificate was valid at the time of signing.
```yaml
-Type: System.Byte[]
-Parameter Sets: ByContent
+Type: System.String
+Parameter Sets: (All)
Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Security Test Filecatalog (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Security/Test-FileCatalog.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Detailed Returns more information a more detailed `CatalogInformation` object that contains the files tested,
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Utility Add Member (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Utility/Add-Member.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
-
-Specifies the initial value of the added member.
-If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
-can supply optional, additional information by using the **SecondValue** parameter.
-
-```yaml
-Type: System.Object
-Parameter Sets: MemberSet
-Aliases:
-
-Required: False
-Position: 2
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -TypeName Specifies a name for the type.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Value
+
+Specifies the initial value of the added member.
+If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
+can supply optional, additional information by using the **SecondValue** parameter.
+
+```yaml
+Type: System.Object
+Parameter Sets: MemberSet
+Aliases:
+
+Required: False
+Position: 2
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Export Clixml (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Utility/Export-Clixml.md
risk of exposing plain-text passwords in your script.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Depth Specifies how many levels of contained objects are included in the XML representation. The default
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Utility Write Progress (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 04/29/2021 Last updated : 09/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress
Accept wildcard characters: False
Specifies an ID that distinguishes each progress bar from the others. Use this parameter when you are creating more than one progress bar in a single command. If the progress bars do not have
-different IDs, they are superimposed instead of being displayed in a series.
+different IDs, they are superimposed instead of being displayed in a series. Negative values are
+not allowed.
```yaml Type: System.Int32
Microsoft.WSMan.Management New Wsmansessionoption (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.WSMan.Management/New-WSManSessionOption.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SPNPort
-Specifies a port number to append to the connection Service Principal Name (SPN) of the remote server.
-An SPN is used when the authentication mechanism is Kerberos or Negotiate.
+### -SkipCACheck
+Specifies that, when it connects over HTTPS, the client does not validate that the server certificate is signed by a trusted certification authority (CA).
+Use this option only when the remote computer is trusted by another method, for example, if the remote computer is part of a network that is physically secure and isolated or the remote computer is listed as a trusted host in the WS-Management configuration.
```yaml
-Type: System.Int32
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All) Aliases:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SkipCACheck
-Specifies that, when it connects over HTTPS, the client does not validate that the server certificate is signed by a trusted certification authority (CA).
-Use this option only when the remote computer is trusted by another method, for example, if the remote computer is part of a network that is physically secure and isolated or the remote computer is listed as a trusted host in the WS-Management configuration.
+### -SkipCNCheck
+Specifies that the certificate common name (CN) of the server does not have to match the host name of the server.
+This is used only in remote operations using HTTPS.
+This option should only be used for trusted computers.
```yaml Type: System.Management.Automation.SwitchParameter
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SkipCNCheck
-Specifies that the certificate common name (CN) of the server does not have to match the host name of the server.
-This is used only in remote operations using HTTPS.
-This option should only be used for trusted computers.
+### -SkipRevocationCheck
+Indicates that the connection does not validate the revocation status on the server certificate.
```yaml Type: System.Management.Automation.SwitchParameter
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SkipRevocationCheck
-Indicates that the connection does not validate the revocation status on the server certificate.
+### -SPNPort
+Specifies a port number to append to the connection Service Principal Name (SPN) of the remote server.
+An SPN is used when the authentication mechanism is Kerberos or Negotiate.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: System.Int32
Parameter Sets: (All) Aliases:
PSDesiredStateConfiguration Stop Dscconfiguration (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PSDesiredStateConfiguration/Stop-DscConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-`Stop-DscConfiguration` doesn't support the **Confirm** parameter. If the **Confirm** parameter is
-used, an error is displayed.
+### -Force
-For PowerShell cmdlets that support **Confirm**, using the parameter prompts you for verification
-before a command is run.
+Forces the command to run without asking for user confirmation.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases:
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Force
+### -ThrottleLimit
-Forces the command to run without asking for user confirmation.
+Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
+
+If this parameter is omitted or a value of `0` is entered, PowerShell calculates an optimum throttle
+limit based on the number of CIM cmdlets that are running on the computer. The throttle limit
+applies only to the current cmdlet, not to the session or to the computer.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: System.Int32
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -ThrottleLimit
+### -Confirm
-Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
+`Stop-DscConfiguration` doesn't support the **Confirm** parameter. If the **Confirm** parameter is
+used, an error is displayed.
-If this parameter is omitted or a value of `0` is entered, PowerShell calculates an optimum throttle
-limit based on the number of CIM cmdlets that are running on the computer. The throttle limit
-applies only to the current cmdlet, not to the session or to the computer.
+For PowerShell cmdlets that support **Confirm**, using the parameter prompts you for verification
+before a command is run.
```yaml
-Type: System.Int32
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases:
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
PSScheduledJob Register Scheduledjob (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PSScheduledJob/Register-ScheduledJob.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to run the scheduled job. The default is the current
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
PSWorkflow About Foreach Parallel (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PSWorkflow/About/about_Foreach-Parallel.md
---
-description: Describes the `ForEach -Parallel` language construct in Windows PowerShell Workflow.
+description: Describes the `ForEach -Parallel` language construct in Windows PowerShell Workflow.
keywords: powershell,cmdlet Locale: en-US Previously updated : 07/10/2019 Last updated : 09/10/2021 online version: https://docs.microsoft.com/powershell/module/psworkflow/about/about_foreach-parallel?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: about Foreach-Parallel
workflow Test-Workflow
Set-Disk -Path $DiskPath } }
+```
+
+In this version of the workflow, the `Get-Process` and `Get-Service` commands
+are run in parallel. The workflow function continues to the `ForEach -Parallel`
+loop where the commands are run sequentially, but they run on the disks in
+parallel. The parallel commands and the `ForEach -Parallel` loop run
+concurrently.
+```powershell
workflow Test-Workflow { #Run commands in parallel.
PSWorkflowUtility Invoke Asworkflow (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PSWorkflowUtility/Invoke-AsWorkflow.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Parameter
-
-Specifies the parameters and parameter values of the command that is specified in the `CommandName` parameter.
-Enter a hash table in which each key is a parameter name and its value is the parameter value, such as `@{ExecutionPolicy="AllSigned"}`.
+### -InputObject
-For information about hash tables, see [about_Hash_Tables](../Microsoft.PowerShell.Core/About/about_Hash_Tables.md).
+Used to allows pipeline input.
```yaml
-Type: System.Collections.Hashtable
-Parameter Sets: Command
+Type: System.Object
+Parameter Sets: (All)
Aliases: Required: False Position: Named Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -InputObject
+### -Parameter
-Used to allows pipeline input.
+Specifies the parameters and parameter values of the command that is specified in the `CommandName` parameter.
+Enter a hash table in which each key is a parameter name and its value is the parameter value, such as `@{ExecutionPolicy="AllSigned"}`.
+
+For information about hash tables, see [about_Hash_Tables](../Microsoft.PowerShell.Core/About/about_Hash_Tables.md).
```yaml
-Type: System.Object
-Parameter Sets: (All)
+Type: System.Collections.Hashtable
+Parameter Sets: Command
Aliases: Required: False Position: Named Default value: None
-Accept pipeline input: True (ByValue)
+Accept pipeline input: False
Accept wildcard characters: False ```
PackageManagement Get Package (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PackageManagement/Get-Package.md
pipeline to the `Uninstall-Package` cmdlet. `Uninstall-Package` removes the pack
## PARAMETERS
+### -AdditionalArguments
+
+Specifies additional arguments.
+
+```yaml
+Type: System.String[]
+Parameter Sets: msi
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -AllowClobber Overrides warning messages about conflicts with existing commands. Overwrites existing commands that
Accept pipeline input: False
Accept wildcard characters: False ```
+### -IncludeSystemComponent
+
+Indicates that this cmdlet includes system components in the results.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Programs
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -IncludeWindowsInstaller
+
+Indicates that this cmdlet includes the Windows Installer in the results.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Programs
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -InstallUpdate Indicates that this cmdlet installs updates.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AdditionalArguments
-
-Specifies additional arguments.
-
-```yaml
-Type: System.String[]
-Parameter Sets: msi
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -IncludeSystemComponent
-
-Indicates that this cmdlet includes system components in the results.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Programs
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -IncludeWindowsInstaller
-
-Indicates that this cmdlet includes the Windows Installer in the results.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Programs
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
PackageManagement Install Package (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PackageManagement/Install-Package.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -AdditionalArguments
+
+Specifies one or more additional arguments for installation.
+
+```yaml
+Type: System.String[]
+Parameter Sets: msi:PackageBySearch, msi:PackageByInputObject
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -AllowClobber Overrides warning messages about conflicts with existing commands. Overwrites existing commands that
Accept pipeline input: False
Accept wildcard characters: False ```
+### -IncludeSystemComponent
+
+Indicates that this cmdlet includes system components in the results.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Programs:PackageBySearch, Programs:PackageByInputObject
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -IncludeWindowsInstaller
+
+Indicates that this cmdlet includes the Windows installer in the results.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Programs:PackageBySearch, Programs:PackageByInputObject
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -InputObject Accepts pipeline input. Specifies a package by using the package's **SoftwareIdentity** type.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AdditionalArguments
-
-Specifies one or more additional arguments for installation.
-
-```yaml
-Type: System.String[]
-Parameter Sets: msi:PackageBySearch, msi:PackageByInputObject
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -IncludeSystemComponent
-
-Indicates that this cmdlet includes system components in the results.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Programs:PackageBySearch, Programs:PackageByInputObject
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -IncludeWindowsInstaller
-
-Indicates that this cmdlet includes the Windows installer in the results.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Programs:PackageBySearch, Programs:PackageByInputObject
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
PackageManagement Uninstall Package (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PackageManagement/Uninstall-Package.md
parameter:
## Parameters
+### -AdditionalArguments
+
+Specifies additional arguments.
+
+```yaml
+Type: System.String[]
+Parameter Sets: msi:PackageByInputObject, msi:PackageBySearch
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -AllowClobber Overrides warning messages about conflicts with existing commands. Overwrites existing commands that
Accept pipeline input: False
Accept wildcard characters: False ```
+### -IncludeSystemComponent
+
+Specifies that this cmdlet uninstalls system components.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Programs:PackageByInputObject, Programs:PackageBySearch
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -IncludeWindowsInstaller
+
+Indicates that this cmdlet uninstalls the package through Windows Installer.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Programs:PackageByInputObject, Programs:PackageBySearch
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -InputObject Accepts pipeline input that specifies the package's **SoftwareIdentity** object from the
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AdditionalArguments
-
-Specifies additional arguments.
-
-```yaml
-Type: System.String[]
-Parameter Sets: msi:PackageByInputObject, msi:PackageBySearch
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -IncludeSystemComponent
-
-Specifies that this cmdlet uninstalls system components.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Programs:PackageByInputObject, Programs:PackageBySearch
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -IncludeWindowsInstaller
-
-Indicates that this cmdlet uninstalls the package through Windows Installer.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Programs:PackageByInputObject, Programs:PackageBySearch
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
PowershellGet Install Module (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Install-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Install-Module` cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Install-Module` cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if an `Install-Module` command was run. The cmdlet is not run.
PowershellGet Install Script (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Install-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a script for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowershellGet New Scriptfileinfo (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/New-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `New-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `New-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `New-ScriptFileInfo` runs. The cmdlet isn't run.
PowershellGet Publish Module (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Publish-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Publish-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to publish a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Publish-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Publish-Module` runs. The cmdlet is not run.
PowershellGet Save Module (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Save-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Save-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to save a module.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Save-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Save-Module` runs. The cmdlet isn't run.
PowershellGet Save Script (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Save-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Save-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to save a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Save-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Save-Script` runs. The cmdlet isn't run.
PowershellGet Uninstall Module (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Uninstall-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Uninstall-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Module` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Uninstall-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Module` runs. The cmdlet isn't run.
PowershellGet Uninstall Script (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Uninstall-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Uninstall-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Script` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Uninstall-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Script` runs. The cmdlet isn't run.
PowershellGet Update Module (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Update-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a module.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Module` runs. The cmdlet isn't run.
PowershellGet Update Modulemanifest (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Update-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ModuleManifest`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the module.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ModuleManifest`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ModuleManifest` runs. The cmdlet isn't run.
PowershellGet Update Script (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Update-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Script` runs. The cmdlet isn't run.
PowershellGet Update Scriptfileinfo (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/PowershellGet/Update-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ScriptFileInfo` runs. The cmdlet isn't run.
Microsoft.PowerShell.Archive Compress Archive (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Archive/Compress-Archive.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -DestinationPath This parameter is required and specifies the path to the archive output file. The
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Core About Functions Advanced Parameters (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Parameters.md
value is required.
- Switch parameters should not be given default values. They should always default to false.
+- Switch parameters are excluded from positional parameters by default.
+ Even when other parameters are implicitly positional, switch parameters are not.
+ You _can_ override that in the Parameter attribute, but it will confuse users.
- Switch parameters should be designed so that setting them moves a command from its default functionality to a less common or more complicated mode. The simplest behavior of a command should be the default behavior that does not require the use of switch parameters.-- Switch parameters should not be mandatory since a switch, when used, can only
- be `$true`. The only case where it is necessary to make a switch parameter
+- Switch parameters should not be mandatory.
+ The only case where it is necessary to make a switch parameter
mandatory is when it is needed to differentiate a parameter set. - Explicitly setting a switch from a boolean can be done with `-MySwitch:$boolValue` and in splatting with `$params = @{ MySwitch = $boolValue }`.-- Switch parameters are of type `SwitchParameter` but implicitly convert to
+- Switch parameters are of type `SwitchParameter`, which implicitly converts to
Boolean. The parameter variable can be used directly in a conditional expression. For example:
Microsoft.PowerShell.Core Disable Experimentalfeature (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Disable-ExperimentalFeature.md
WARNING: Enabling and disabling experimental features do not take effect until n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Name The name or names of the experimental features to disable.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Disable Psremoting (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Disable-PSRemoting.md
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE
## PARAMETERS
-### -Confirm
+### -Force
-Prompts you for confirmation before running the cmdlet.
+Forces the command to run without asking for user confirmation.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -Force
+### -Confirm
-Forces the command to run without asking for user confirmation.
+Prompts you for confirmation before running the cmdlet.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases:
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Core Disconnect Pssession (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Disconnect-PSSession.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -OutputBufferingMode
+
+Determines how command output is managed in the disconnected session when the output buffer is
+full. The default value is **Block**.
+
+If the command in the disconnected session is returning output and the output buffer fills, the
+value of this parameter effectively determines whether the command continues to run while the
+session is disconnected. A value of **Block** suspends the command until the session is
+reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
+using the **Drop** value, redirect the command output to a file on disk.
+
+Valid values are:
+
+- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.
+- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
+ output is discarded.
+- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
+ of the session configuration is used for the disconnected session.
+
+```yaml
+Type: System.Management.Automation.Runspaces.OutputBufferingMode
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Block
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Session Disconnects from the specified PSSessions. Enter PSSession objects, such as those that the
Accept pipeline input: False
Accept wildcard characters: False ```
-### -OutputBufferingMode
-
-Determines how command output is managed in the disconnected session when the output buffer is
-full. The default value is **Block**.
-
-If the command in the disconnected session is returning output and the output buffer fills, the
-value of this parameter effectively determines whether the command continues to run while the
-session is disconnected. A value of **Block** suspends the command until the session is
-reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
-using the **Drop** value, redirect the command output to a file on disk.
-
-Valid values are:
--- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.-- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
- output is discarded.
-- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
- of the session configuration is used for the disconnected session.
-
-```yaml
-Type: System.Management.Automation.Runspaces.OutputBufferingMode
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Block
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Enable Experimentalfeature (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Enable-ExperimentalFeature.md
WARNING: Enabling and disabling experimental features do not take effect until n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Name The name or names of the experimental features to enable.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Enable Psremoting (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Enable-PSRemoting.md
OS Microsoft Windows 10.0.18363
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces the command to run without asking for user confirmation.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Enter Pshostprocess (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Enter-PSHostProcess.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -CustomPipeName
+
+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: System.String
+Parameter Sets: PipeNameParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -HostProcessInfo Specifies a **PSHostProcessInfo** object that can be connected to with PowerShell. Use
Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -CustomPipeName
-
-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: System.String
-Parameter Sets: PipeNameParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Foreach Object (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/ForEach-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -AsJob
+
+Causes the parallel invocation to run as a PowerShell job. A single job object is returned instead
+of output from the running script blocks. The job object contains child jobs for each parallel
+script block that runs. The job object can be used by all PowerShell job cmdlets, to monitor running
+state and retrieve data.
+
+This parameter was introduced in PowerShell 7.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: ParallelParameterSet
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Begin Specifies a script block that runs before this cmdlet processes any input objects. This script block
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Parallel
+
+Specifies the script block to be used for parallel processing of input objects. Enter a script block
+that describes the operation.
+
+This parameter was introduced in PowerShell 7.0.
+
+```yaml
+Type: System.Management.Automation.ScriptBlock
+Parameter Sets: ParallelParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Process Specifies the operation that is performed on each input object. This script block is run for every
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Parallel
-
-Specifies the script block to be used for parallel processing of input objects. Enter a script block
-that describes the operation.
-
-This parameter was introduced in PowerShell 7.0.
-
-```yaml
-Type: System.Management.Automation.ScriptBlock
-Parameter Sets: ParallelParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -ThrottleLimit Specifies the number of script blocks that in parallel. Input objects are blocked until
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AsJob
-
-Causes the parallel invocation to run as a PowerShell job. A single job object is returned instead
-of output from the running script blocks. The job object contains child jobs for each parallel
-script block that runs. The job object can be used by all PowerShell job cmdlets, to monitor running
-state and retrieve data.
-
-This parameter was introduced in PowerShell 7.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: ParallelParameterSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Import Module (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Import-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Variable
-
-Specifies an array of variables that this cmdlet imports from the module into the current session.
-Enter a list of variables. Wildcard characters are permitted.
-
-Some modules automatically export selected variables into your session when you import the module.
-This parameter lets you select from among the exported variables.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -SkipEditionCheck Skips the check on the `CompatiblePSEditions` field.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Variable
+
+Specifies an array of variables that this cmdlet imports from the module into the current session.
+Enter a list of variables. Wildcard characters are permitted.
+
+Some modules automatically export selected variables into your session when you import the module.
+This parameter lets you select from among the exported variables.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Invoke Command (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Invoke-Command.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Subsystem
+
+Specifies the SSH subsystem used for the new **PSSession**.
+
+This specifies the subsystem to use on the target as defined in sshd_config.
+The subsystem starts a specific version of PowerShell with predefined parameters.
+If the specified subsystem does not exist on the remote computer, the command fails.
+
+If this parameter is not used, the default is the 'powershell' subsystem.
+
+```yaml
+Type: System.String
+Parameter Sets: SSHHost
+Aliases:
+
+Required: False
+Position: Named
+Default value: powershell
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -ThrottleLimit Specifies the maximum number of concurrent connections that can be established to run this command.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Subsystem
-
-Specifies the SSH subsystem used for the new **PSSession**.
-
-This specifies the subsystem to use on the target as defined in sshd_config.
-The subsystem starts a specific version of PowerShell with predefined parameters.
-If the specified subsystem does not exist on the remote computer, the command fails.
-
-If this parameter is not used, the default is the 'powershell' subsystem.
-
-```yaml
-Type: System.String
-Parameter Sets: SSHHost
-Aliases:
-
-Required: False
-Position: Named
-Default value: powershell
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core New Pssession (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/New-PSSession.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -HostName
+
+Specifies an array of computer names for a Secure Shell (SSH) based connection. This is similar to
+the ComputerName parameter except that the connection to the remote computer is made using SSH
+rather than Windows WinRM.
+This parameter supports specifying the user name and/or port as part of the host name parameter
+value using the form `user@hostname:port`.
+The user name and/or port specified as part of the host name takes precedence over the `-UserName`
+and `-Port` parameters, if specified.
+This allows passing multiple computer names to this parameter where some have specific user names
+and/or ports, while others use the user name and/or port from the `-UserName` and `-Port`
+parameters.
+
+This parameter was introduced in PowerShell 6.0.
+
+```yaml
+Type: System.String[]
+Parameter Sets: HostName
+Aliases:
+
+Required: True
+Position: 0
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -KeyFilePath Specifies a key file path used by Secure Shell (SSH) to authenticate a user on a remote computer.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -KeyFilePath
+
+Specifies a key file path used by Secure Shell (SSH) to authenticate a user on a remote computer.
+
+SSH allows user authentication to be performed via private/public keys as an alternative to basic
+password authentication. If the remote computer is configured for key authentication then this
+parameter can be used to provide the key that identifies the user.
+
+This parameter was introduced in PowerShell 6.0.
+
+```yaml
+Type: System.String
+Parameter Sets: HostName
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Name Specifies a friendly name for the **PSSession**.
Accept wildcard characters: False
This parameter takes an array of hashtables where each hashtable contains one or more connection parameters needed to establish a Secure Shell (SSH) connection (HostName, Port, UserName,
-KeyFilePath).
+KeyFilePath, Subsystem).
The hashtable connection parameters are the same as defined for the **HostName** parameter set.
+Note that the order of the keys in the hashtable result in user name and port being used for the
+connection where the last one specified is used. For example, if you use
+`@{UserName="first";HostName="second@host"}`, then the user name `second` will be used. However, if
+you use `@{HostName="second@host:22";Port=23}`, then port 23 will be used.
+
+This parameter was introduced in PowerShell 6.0.
The **SSHConnection** parameter is useful for creating multiple sessions where each session requires different connection information.
-This parameter was introduced in PowerShell 6.0.
- ```yaml
-Type: System.Collections.Hashtable[]
-Parameter Sets: SSHHostHashParam
+Type: hashtable
+Parameter Sets: SSHConnection
Aliases: Required: True
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SSHTransport
-
-Indicates that the remote connection is established using Secure Shell (SSH).
-
-By default PowerShell uses Windows WinRM to connect to a remote computer. This switch forces
-PowerShell to use the HostName parameter set for establishing an SSH based remote connection.
-
-This parameter was introduced in PowerShell 6.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: SSHHost
-Aliases:
-Accepted values: true
+### -SSHConnection
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
+This parameter takes an array of hashtables where each hashtable contains one or more connection
+parameters needed to establish a Secure Shell (SSH) connection (HostName, Port, UserName,
+KeyFilePath).
-### -ThrottleLimit
+The hashtable connection parameters are the same as defined for the **HostName** parameter set.
-Specifies the maximum number of concurrent connections that can be established to run this command.
-If you omit this parameter or enter a value of 0 (zero), the default value, 32, is used.
+The **SSHConnection** parameter is useful for creating multiple sessions where each session requires
+different connection information.
-The throttle limit applies only to the current command, not to the session or to the computer.
+This parameter was introduced in PowerShell 6.0.
```yaml
-Type: System.Int32
-Parameter Sets: ComputerName, Uri, VMId, VMName, Session, ContainerId
+Type: System.Collections.Hashtable[]
+Parameter Sets: SSHHostHashParam
Aliases:
-Required: False
+Required: True
Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ```
-### -UserName
-
-Specifies the user name for the account used to create a session on the remote computer. User
-authentication method will depend on how Secure Shell (SSH) is configured on the remote computer.
-
-If SSH is configured for basic password authentication then you will be prompted for the user
-password.
+### -SSHTransport
-If SSH is configured for key based user authentication then a key file path can be provided via the
-KeyFilePath parameter and no password prompt will occur. Note that if the client user key file is
-located in an SSH known location then the KeyFilePath parameter is not needed for key based
-authentication, and user authentication will occur automatically based on the user name. See SSH
-documentation about key based user authentication for more information.
+Indicates that the remote connection is established using Secure Shell (SSH).
-This is not a required parameter. If no UserName parameter is specified then the current log on user
-name is used for the connection.
+By default PowerShell uses Windows WinRM to connect to a remote computer. This switch forces
+PowerShell to use the HostName parameter set for establishing an SSH based remote connection.
This parameter was introduced in PowerShell 6.0. ```yaml
-Type: System.String
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: SSHHost Aliases:
+Accepted values: true
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseSSL
+### -SSHTransport
-Indicates that this cmdlet uses the SSL protocol to establish a connection to the remote computer.
-By default, SSL is not used.
+Indicates that the remote connection is established using Secure Shell (SSH).
-WS-Management encrypts all PowerShell content transmitted over the network. The **UseSSL**
-parameter offers an additional protection that sends the data across an HTTPS connection instead of
-an HTTP connection.
+By default PowerShell uses Windows WinRM to connect to a remote computer. This switch forces
+PowerShell to use the HostName parameter set for establishing an SSH based remote connection.
-If you use this parameter, but SSL is not available on the port that is used for the command, the
-command fails.
+This parameter was introduced in PowerShell 6.0.
```yaml Type: System.Management.Automation.SwitchParameter
-Parameter Sets: ComputerName
+Parameter Sets: HostName
Aliases: Required: False
Accept pipeline input: False
Accept wildcard characters: False ```
-### -VMId
-
-Specifies an array of ID of virtual machines. This cmdlet starts an interactive session with each of
-the specified virtual machines. To see the virtual machines that are available to you, use the
-following command:
-
-`Get-VM | Select-Object -Property Name, ID`
-
-```yaml
-Type: System.Guid[]
-Parameter Sets: VMId
-Aliases: VMGuid
+### -Subsystem
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
+Specifies the SSH subsystem used for the new **PSSession**.
-### -VMName
+This specifies the subsystem to use on the target as defined in sshd_config.
+The subsystem starts a specific version of PowerShell with predefined parameters.
+If the specified subsystem does not exist on the remote computer, the command fails.
-Specifies an array of names of virtual machines. This cmdlet starts an interactive session with each
-of the specified virtual machines. To see the virtual machines that are available to you, use the
-`Get-VM` cmdlet.
+If this parameter is not used, the default is the 'powershell' subsystem.
```yaml
-Type: System.String[]
-Parameter Sets: VMName
+Type: System.String
+Parameter Sets: HostName
Aliases:
-Required: True
+Required: False
Position: Named
-Default value: None
+Default value: powershell
Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```
-### -HostName
-
-Specifies an array of computer names for a Secure Shell (SSH) based connection. This is similar to
-the ComputerName parameter except that the connection to the remote computer is made using SSH
-rather than Windows WinRM.
-This parameter supports specifying the user name and/or port as part of the host name parameter
-value using the form `user@hostname:port`.
-The user name and/or port specified as part of the host name takes precedence over the `-UserName`
-and `-Port` parameters, if specified.
-This allows passing multiple computer names to this parameter where some have specific user names
-and/or ports, while others use the user name and/or port from the `-UserName` and `-Port`
-parameters.
-
-This parameter was introduced in PowerShell 6.0.
-
-```yaml
-Type: System.String[]
-Parameter Sets: HostName
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -KeyFilePath
-
-Specifies a key file path used by Secure Shell (SSH) to authenticate a user on a remote computer.
+### -ThrottleLimit
-SSH allows user authentication to be performed via private/public keys as an alternative to basic
-password authentication. If the remote computer is configured for key authentication then this
-parameter can be used to provide the key that identifies the user.
+Specifies the maximum number of concurrent connections that can be established to run this command.
+If you omit this parameter or enter a value of 0 (zero), the default value, 32, is used.
-This parameter was introduced in PowerShell 6.0.
+The throttle limit applies only to the current command, not to the session or to the computer.
```yaml
-Type: System.String
-Parameter Sets: HostName
+Type: System.Int32
+Parameter Sets: ComputerName, Uri, VMId, VMName, Session, ContainerId
Aliases: Required: False
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SSHTransport
+### -UserName
-Indicates that the remote connection is established using Secure Shell (SSH).
+Specifies the user name for the account used to create a session on the remote computer. User
+authentication method will depend on how Secure Shell (SSH) is configured on the remote computer.
-By default PowerShell uses Windows WinRM to connect to a remote computer. This switch forces
-PowerShell to use the HostName parameter set for establishing an SSH based remote connection.
+If SSH is configured for basic password authentication then you will be prompted for the user
+password.
+
+If SSH is configured for key based user authentication then a key file path can be provided via the
+KeyFilePath parameter and no password prompt will occur. Note that if the client user key file is
+located in an SSH known location then the KeyFilePath parameter is not needed for key based
+authentication, and user authentication will occur automatically based on the user name. See SSH
+documentation about key based user authentication for more information.
+
+This is not a required parameter. If no UserName parameter is specified then the current log on user
+name is used for the connection.
This parameter was introduced in PowerShell 6.0. ```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: HostName
+Type: System.String
+Parameter Sets: SSHHost
Aliases: Required: False
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SSHConnection
+### -UseSSL
-This parameter takes an array of hashtables where each hashtable contains one or more connection
-parameters needed to establish a Secure Shell (SSH) connection (HostName, Port, UserName,
-KeyFilePath, Subsystem).
+Indicates that this cmdlet uses the SSL protocol to establish a connection to the remote computer.
+By default, SSL is not used.
-The hashtable connection parameters are the same as defined for the **HostName** parameter set.
-Note that the order of the keys in the hashtable result in user name and port being used for the
-connection where the last one specified is used. For example, if you use
-`@{UserName="first";HostName="second@host"}`, then the user name `second` will be used. However, if
-you use `@{HostName="second@host:22";Port=23}`, then port 23 will be used.
+WS-Management encrypts all PowerShell content transmitted over the network. The **UseSSL**
+parameter offers an additional protection that sends the data across an HTTPS connection instead of
+an HTTP connection.
-This parameter was introduced in PowerShell 6.0.
+If you use this parameter, but SSL is not available on the port that is used for the command, the
+command fails.
-The **SSHConnection** parameter is useful for creating multiple sessions where each session requires
-different connection information.
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: ComputerName
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -UseWindowsPowerShell
+
+Creates a remote connection to a new Windows PowerShell runspace on the local system.
```yaml
-Type: hashtable
-Parameter Sets: SSHConnection
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: UseWindowsPowerShellParameterSet
Aliases: Required: True
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Subsystem
-
-Specifies the SSH subsystem used for the new **PSSession**.
+### -VMId
-This specifies the subsystem to use on the target as defined in sshd_config.
-The subsystem starts a specific version of PowerShell with predefined parameters.
-If the specified subsystem does not exist on the remote computer, the command fails.
+Specifies an array of ID of virtual machines. This cmdlet starts an interactive session with each of
+the specified virtual machines. To see the virtual machines that are available to you, use the
+following command:
-If this parameter is not used, the default is the 'powershell' subsystem.
+`Get-VM | Select-Object -Property Name, ID`
```yaml
-Type: System.String
-Parameter Sets: HostName
-Aliases:
+Type: System.Guid[]
+Parameter Sets: VMId
+Aliases: VMGuid
-Required: False
-Position: Named
-Default value: powershell
+Required: True
+Position: 0
+Default value: None
Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```
-### -UseWindowsPowerShell
+### -VMName
-Creates a remote connection to a new Windows PowerShell runspace on the local system.
+Specifies an array of names of virtual machines. This cmdlet starts an interactive session with each
+of the specified virtual machines. To see the virtual machines that are available to you, use the
+`Get-VM` cmdlet.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseWindowsPowerShellParameterSet
+Type: System.String[]
+Parameter Sets: VMName
Aliases: Required: True Position: Named Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
Microsoft.PowerShell.Core Register Pssessionconfiguration (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ThreadApartmentState
+
+Specifies the apartment state of the threading module to be used. Acceptable values are:
+
+- Unknown
+- MTA
+- STA
+
+```yaml
+Type: System.Threading.ApartmentState
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ThreadOptions Specifies how threads are created and used when a command runs in the session. The acceptable values
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ThreadApartmentState
-
-Specifies the apartment state of the threading module to be used. Acceptable values are:
--- Unknown-- MTA-- STA-
-```yaml
-Type: System.Threading.ApartmentState
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Remove Job (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Remove-Job.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before `Remove-Job` is run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Filter Deletes jobs that satisfy all the conditions established in the associated hash table. Enter a hash
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before `Remove-Job` is run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Remove-Job` runs. The cmdlet isn't run.
Microsoft.PowerShell.Core Save Help (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Save-Help.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Scope
+
+This paramater does nothing in this cmdlet.
+
+```yaml
+Type: Microsoft.PowerShell.Commands.UpdateHelpScope
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -UICulture Specifies UI culture values for which this cmdlet gets updated help files. Enter one or more
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Scope
-
-This paramater does nothing in this cmdlet.
-
-```yaml
-Type: Microsoft.PowerShell.Commands.UpdateHelpScope
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Set Pssessionconfiguration (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Set-PSSessionConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ThreadApartmentState
+
+Specifies the apartment state of the threading module to be used. Acceptable values are:
+
+- Unknown
+- MTA
+- STA
+
+```yaml
+Type: System.Threading.ApartmentState
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ThreadOptions Specifies the thread options setting in the configuration. This setting defines how threads are
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ThreadApartmentState
-
-Specifies the apartment state of the threading module to be used. Acceptable values are:
--- Unknown-- MTA-- STA-
-```yaml
-Type: System.Threading.ApartmentState
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Host Start Transcript (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Host/Start-Transcript.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseMinimalHeader
-
-Prepend a short header to the transcript, instead of the detailed header included by default. This
-parameter was added in PowerShell 6.2.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies a location to the transcript file. Unlike the **Path** parameter, the value of the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -UseMinimalHeader
+
+Prepend a short header to the transcript, instead of the detailed header included by default. This
+parameter was added in PowerShell 6.2.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Clear Content (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Clear-Content.md
PS C:\>
## PARAMETERS
-### -Stream
-
-> [!NOTE]
-> This Parameter is only available on Windows.
-
-Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates
-it. Wildcard characters are not supported.
-
-Stream is a dynamic parameter that the FileSystem provider adds to `Clear-Content`.
-This parameter works only in file system drives.
-
-You can use the `Clear-Content` cmdlet to change the content of amy alternate data stream, such as
-`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that
-block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use
-the `Unblock-File` cmdlet.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -Stream
+
+> [!NOTE]
+> This Parameter is only available on Windows.
+
+Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates
+it. Wildcard characters are not supported.
+
+Stream is a dynamic parameter that the FileSystem provider adds to `Clear-Content`.
+This parameter works only in file system drives.
+
+You can use the `Clear-Content` cmdlet to change the content of amy alternate data stream, such as
+`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that
+block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use
+the `Unblock-File` cmdlet.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Copy Item (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Copy-Item.md
the same name are overwritten in the destination folder.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Container Indicates that this cmdlet preserves container objects during the copy operation. By default, the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Get Content (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Get-Content.md
PowerShell as `[System.Object[]]`.
## PARAMETERS
-### -Path
-
-Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
-permitted. The paths must be paths to items, not to containers. For example, you must specify a path
-to one or more files, not a path to a directory.
-
-```yaml
-Type: System.String[]
-Parameter Sets: Path
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: True
-```
-
-### -LiteralPath
+### -AsByteStream
-Specifies a path to one or more locations. The value of **LiteralPath** 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.
+Specifies that the content should be read as a stream of bytes. The **AsByteStream** parameter was
+introduced in Windows PowerShell 6.0.
-For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
+A warning occurs when you use the **AsByteStream** parameter with the **Encoding** parameter. The
+**AsByteStream** parameter ignores any encoding and the output is returned as a stream of bytes.
```yaml
-Type: System.String[]
-Parameter Sets: LiteralPath
-Aliases: PSPath, LP
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -ReadCount
-
-Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
-A value of 0 (zero) sends all of the content at one time.
+### -Credential
-This parameter does not change the content displayed, but it does affect the time it takes to
-display the content. As the value of **ReadCount** increases, the time it takes to return the first
-line increases, but the total time for the operation decreases. This can make a perceptible
-difference in large items.
+> [!NOTE]
+> This parameter is not supported by any providers installed with PowerShell.
+> To impersonate another user, or elevate your credentials when running this cmdlet,
+> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
```yaml
-Type: System.Int64
+Type: System.Management.Automation.PSCredential
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: 1
+Default value: Current user
Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```
-### -TotalCount
+### -Delimiter
-Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
-lines).
+Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
+default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
+collection of string objects, each of which ends with an end-of-line character. When you enter a
+delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
+undelimited object.
-You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+You can use this parameter to split a large file into smaller files by specifying a file separator,
+as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
+section.
+
+**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
+cmdlet. This parameter works only in file system drives.
+
+> [!NOTE]
+> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
+> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
+> a single, undelimited string. Enter a value that does not exist in the file.
```yaml
-Type: System.Int64
+Type: System.String
Parameter Sets: (All)
-Aliases: First, Head
+Aliases:
Required: False Position: Named
-Default value: -1
-Accept pipeline input: True (ByPropertyName)
+Default value: End-of-line character
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -Tail
+### -Encoding
-Specifies the number of lines from the end of a file or other item. You can use the **Tail**
-parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
+Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
-```yaml
-Type: System.Int32
-Parameter Sets: (All)
-Aliases: Last
+The acceptable values for this parameter are as follows:
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
+- `ascii`: Uses the encoding for the ASCII (7-bit) character set.
+- `bigendianunicode`: Encodes in UTF-16 format using the big-endian byte order.
+- `oem`: Uses the default encoding for MS-DOS and console programs.
+- `unicode`: Encodes in UTF-16 format using the little-endian byte order.
+- `utf7`: Encodes in UTF-7 format.
+- `utf8`: Encodes in UTF-8 format.
+- `utf8BOM`: Encodes in UTF-8 format with Byte Order Mark (BOM)
+- `utf8NoBOM`: Encodes in UTF-8 format without Byte Order Mark (BOM)
+- `utf32`: Encodes in UTF-32 format.
-### -Filter
+Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
+This parameter is available only in file system drives.
-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).
-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.
+When reading from and writing to binary files, use the **AsByteStream** parameter and a value of 0
+for the **ReadCount** parameter. A **ReadCount** value of 0 reads the entire file in a single read
+operation. The default **ReadCount** value, 1, reads one byte in each read operation and converts
+each byte into a separate object, which causes errors when you use the `Set-Content` cmdlet to write
+the bytes to a file unless you use **AsByteStream** parameter.
+
+Beginning with PowerShell 6.2, the **Encoding** parameter also allows numeric IDs of registered code
+pages (like `-Encoding 1251`) or string names of registered code pages (like
+`-Encoding "windows-1251"`). For more information, see the .NET documentation for
+[Encoding.CodePage](/dotnet/api/system.text.encoding.codepage?view=netcore-2.2).
```yaml
-Type: System.String
+Type: System.Text.Encoding
Parameter Sets: (All) Aliases:
+Accepted values: ASCII, BigEndianUnicode, OEM, Unicode, UTF7, UTF8, UTF8BOM, UTF8NoBOM, UTF32
Required: False Position: Named
-Default value: None
+Default value: UTF8NoBOM
Accept pipeline input: False
-Accept wildcard characters: True
+Accept wildcard characters: False
```
-### -Include
+### -Exclude
-Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
-of this parameter qualifies the **Path** parameter. Enter a path element or pattern, such as
-`"*.txt"`. Wildcard characters are permitted. The **Include** parameter is effective only when the
-command includes the contents of an item, such as `C:\Windows\*`, where the wildcard character
-specifies the contents of the `C:\Windows` directory.
+Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
+The value of this parameter qualifies the **Path** parameter.
+
+Enter a path element or pattern, such as `*.txt`.
+Wildcard characters are permitted.
+
+The **Exclude** parameter is effective only when the command includes the contents of an item,
+such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
+directory.
```yaml Type: System.String[]
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Exclude
-
-Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
-The value of this parameter qualifies the **Path** parameter.
-
-Enter a path element or pattern, such as `*.txt`.
-Wildcard characters are permitted.
+### -Filter
-The **Exclude** parameter is effective only when the command includes the contents of an item,
-such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
-directory.
+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).
+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.
```yaml
-Type: System.String[]
+Type: System.String
Parameter Sets: (All) Aliases:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Credential
+### -Include
-> [!NOTE]
-> This parameter is not supported by any providers installed with PowerShell.
-> To impersonate another user, or elevate your credentials when running this cmdlet,
-> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
+Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
+of this parameter qualifies the **Path** parameter. Enter a path element or pattern, such as
+`"*.txt"`. Wildcard characters are permitted. The **Include** parameter is effective only when the
+command includes the contents of an item, such as `C:\Windows\*`, where the wildcard character
+specifies the contents of the `C:\Windows` directory.
```yaml
-Type: System.Management.Automation.PSCredential
+Type: System.String[]
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: Current user
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
```
-### -Delimiter
-
-Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
-default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
-collection of string objects, each of which ends with an end-of-line character. When you enter a
-delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
-undelimited object.
-
-You can use this parameter to split a large file into smaller files by specifying a file separator,
-as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
-section.
+### -LiteralPath
-**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
-cmdlet. This parameter works only in file system drives.
+Specifies a path to one or more locations. The value of **LiteralPath** 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.
-> [!NOTE]
-> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
-> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
-> a single, undelimited string. Enter a value that does not exist in the file.
+For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
+Type: System.String[]
+Parameter Sets: LiteralPath
+Aliases: PSPath, LP
-Required: False
+Required: True
Position: Named
-Default value: End-of-line character
-Accept pipeline input: False
+Default value: None
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Wait
-
-Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
-the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
-**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
-reported.
+### -Path
-**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
-parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
+Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
+permitted. The paths must be paths to items, not to containers. For example, you must specify a path
+to one or more files, not a path to a directory.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: Path
Aliases:
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
+Required: True
+Position: 0
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: True
``` ### -Raw
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Encoding
-
-Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
-
-The acceptable values for this parameter are as follows:
--- `ascii`: Uses the encoding for the ASCII (7-bit) character set.-- `bigendianunicode`: Encodes in UTF-16 format using the big-endian byte order.-- `oem`: Uses the default encoding for MS-DOS and console programs.-- `unicode`: Encodes in UTF-16 format using the little-endian byte order.-- `utf7`: Encodes in UTF-7 format.-- `utf8`: Encodes in UTF-8 format.-- `utf8BOM`: Encodes in UTF-8 format with Byte Order Mark (BOM)-- `utf8NoBOM`: Encodes in UTF-8 format without Byte Order Mark (BOM)-- `utf32`: Encodes in UTF-32 format.-
-Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
-This parameter is available only in file system drives.
+### -ReadCount
-When reading from and writing to binary files, use the **AsByteStream** parameter and a value of 0
-for the **ReadCount** parameter. A **ReadCount** value of 0 reads the entire file in a single read
-operation. The default **ReadCount** value, 1, reads one byte in each read operation and converts
-each byte into a separate object, which causes errors when you use the `Set-Content` cmdlet to write
-the bytes to a file unless you use **AsByteStream** parameter.
+Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
+A value of 0 (zero) sends all of the content at one time.
-Beginning with PowerShell 6.2, the **Encoding** parameter also allows numeric IDs of registered code
-pages (like `-Encoding 1251`) or string names of registered code pages (like
-`-Encoding "windows-1251"`). For more information, see the .NET documentation for
-[Encoding.CodePage](/dotnet/api/system.text.encoding.codepage?view=netcore-2.2).
+This parameter does not change the content displayed, but it does affect the time it takes to
+display the content. As the value of **ReadCount** increases, the time it takes to return the first
+line increases, but the total time for the operation decreases. This can make a perceptible
+difference in large items.
```yaml
-Type: System.Text.Encoding
+Type: System.Int64
Parameter Sets: (All) Aliases:
-Accepted values: ASCII, BigEndianUnicode, OEM, Unicode, UTF7, UTF8, UTF8BOM, UTF8NoBOM, UTF32
Required: False Position: Named
-Default value: UTF8NoBOM
-Accept pipeline input: False
+Default value: 1
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AsByteStream
+### -Tail
-Specifies that the content should be read as a stream of bytes. The **AsByteStream** parameter was
-introduced in Windows PowerShell 6.0.
+Specifies the number of lines from the end of a file or other item. You can use the **Tail**
+parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
-A warning occurs when you use the **AsByteStream** parameter with the **Encoding** parameter. The
-**AsByteStream** parameter ignores any encoding and the output is returned as a stream of bytes.
+```yaml
+Type: System.Int32
+Parameter Sets: (All)
+Aliases: Last
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+
+### -TotalCount
+
+Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
+lines).
+
+You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases: First, Head
+
+Required: False
+Position: Named
+Default value: -1
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+
+### -Wait
+
+Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
+the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
+**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
+reported.
+
+**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
+parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
```yaml Type: System.Management.Automation.SwitchParameter
Aliases:
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Management Get Item (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Get-Item.md
The new properties that are now part of the output are:
## PARAMETERS
-### -Stream
-
-> [!NOTE]
-> This Parameter is only available on Windows.
-
-Gets the specified alternate NTFS file stream from the file. Enter the stream name. Wildcards are
-supported. To get all streams, use an asterisk (`*`). This parameter isn't valid on folders.
-
-**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Item` cmdlet.
-This parameter works only in file system drives.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: No alternate file streams
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Stream
+
+> [!NOTE]
+> This Parameter is only available on Windows.
+
+Gets the specified alternate NTFS file stream from the file. Enter the stream name. Wildcards are
+supported. To get all streams, use an asterisk (`*`). This parameter isn't valid on folders.
+
+**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Item` cmdlet.
+This parameter works only in file system drives.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: No alternate file streams
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Management New Psdrive (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/New-PSDrive.md
X: \\products\public Disconnected Unavailable
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management New Service (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/New-Service.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SecurityDescriptorSddl
+
+Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: sd
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StartupType Sets the startup type of the service. The acceptable values for this parameter are:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SecurityDescriptorSddl
-
-Specifies the **SecurityDescriptor** for the service in **Sddl** format.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases: sd
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Set Clipboard (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Set-Clipboard.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Value
+
+The string values to be added to the clipboard.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
-
-The string values to be added to the clipboard.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Management Set Service (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Set-Service.md
parameter to specify the **BITS** service. The **SecurityDescriptorSddl** parame
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running `Set-Service`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies the account used by the service as the [Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SecurityDescriptorSddl
+
+Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: sd
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StartupType Specifies the start mode of the service.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SecurityDescriptorSddl
+### -Confirm
-Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+Prompts you for confirmation before running `Set-Service`.
```yaml
-Type: System.String
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: sd
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Management Stop Computer (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Stop-Computer.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Test Connection (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Management/Test-Connection.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Repeat
-
-Causes the cmdlet to send ping requests continuously. This parameter can't be used with the
-**Count** parameter.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: RepeatPing
-Aliases: Continuous
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Count Specifies the number of echo requests to send. The default value is 4.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -MtuSize
+
+This parameter is used to discover the Path MTU size. The cmdlet returns a **PingReply#MTUSize**
+object that contains the Path MTU size to the target. For more information about Path MTU, see the
+[Path MTU Discovery](https://wikipedia.org/wiki/Path_MTU_Discovery) article in wikipedia.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: MtuSizeDetect
+Aliases: MtuSizeDetect
+
+Required: True
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Ping Causes the cmdlet to do a ping test. This is the default mode for the `Test-Connection` cmdlet.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Repeat
+
+Causes the cmdlet to send ping requests continuously. This parameter can't be used with the
+**Count** parameter.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: RepeatPing
+Aliases: Continuous
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ResolveDestination Causes the cmdlet to attempt to resolve the DNS name of the target. When used in conjunction
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -TcpPort
+
+Specifies the TCP port number on the target to be used in the TCP connection test. The cmdlet will
+attempt to make a TCP connection to the specified port on the target.
+
+If a connection can be made, `$True` will be returned.
+
+If a connection cannot be made, `$False` will be returned.
+
+```yaml
+Type: System.Int32
+Parameter Sets: TcpPort
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -TimeoutSeconds Sets the timeout value for the test. The test fails if a response isn't received before the timeout
Accept pipeline input: False
Accept wildcard characters: False ```
-### -MtuSize
-
-This parameter is used to discover the Path MTU size. The cmdlet returns a **PingReply#MTUSize**
-object that contains the Path MTU size to the target. For more information about Path MTU, see the
-[Path MTU Discovery](https://wikipedia.org/wiki/Path_MTU_Discovery) article in wikipedia.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: MtuSizeDetect
-Aliases: MtuSizeDetect
-
-Required: True
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -TcpPort
-
-Specifies the TCP port number on the target to be used in the TCP connection test. The cmdlet will
-attempt to make a TCP connection to the specified port on the target.
-
-If a connection can be made, `$True` will be returned.
-
-If a connection cannot be made, `$False` will be returned.
-
-```yaml
-Type: System.Int32
-Parameter Sets: TcpPort
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Security Get Acl (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Security/Get-Acl.md
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Path
-
-Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
-by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
-security descriptor of the current directory.
-
-The parameter name ("Path") is optional.
-
-```yaml
-Type: System.String[]
-Parameter Sets: ByPath
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
-```
- ### -InputObject Gets the security descriptor for the specified object. Enter a variable that contains the object or
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Path
+
+Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
+by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
+security descriptor of the current directory.
+
+The parameter name ("Path") is optional.
+
+```yaml
+Type: System.String[]
+Parameter Sets: ByPath
+Aliases:
+
+Required: False
+Position: 1
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Security Set Authenticodesignature (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Security/Set-AuthenticodeSignature.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Content
+
+This parameter appears in the syntax listing because it is defined in the base class that
+`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
+in `Set-AuthenticodeSignature`.
+
+```yaml
+Type: System.Byte[]
+Parameter Sets: ByContent
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -FilePath Specifies the path to a file that is being signed.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -TimestampServer
-
-Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
-stamp server as a string.
-
-The time stamp represents the exact time that the certificate was added to the file. A time stamp
-prevents the script from failing if the certificate expires because users and programs can verify
-that the certificate was valid at the time of signing.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies the path to a file that is being signed. Unlike **FilePath**, the value of the
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Content
+### -TimestampServer
-This parameter appears in the syntax listing because it is defined in the base class that
-`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
-in `Set-AuthenticodeSignature`.
+Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
+stamp server as a string.
+
+The time stamp represents the exact time that the certificate was added to the file. A time stamp
+prevents the script from failing if the certificate expires because users and programs can verify
+that the certificate was valid at the time of signing.
```yaml
-Type: System.Byte[]
-Parameter Sets: ByContent
+Type: System.String
+Parameter Sets: (All)
Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Security Set Executionpolicy (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md
to run because it was unblocked by the `Unblock-File` cmdlet.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -ExecutionPolicy Specifies the execution policy. If there are no Group Policies and each scope's execution policy is
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Security Test Filecatalog (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Security/Test-FileCatalog.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Detailed Returns more information a more detailed `CatalogInformation` object that contains the files tested,
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Utility Add Member (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Add-Member.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
-
-Specifies the initial value of the added member.
-If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
-can supply optional, additional information by using the **SecondValue** parameter.
-
-```yaml
-Type: System.Object
-Parameter Sets: MemberSet
-Aliases:
-
-Required: False
-Position: 2
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -TypeName Specifies a name for the type.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Value
+
+Specifies the initial value of the added member.
+If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
+can supply optional, additional information by using the **SecondValue** parameter.
+
+```yaml
+Type: System.Object
+Parameter Sets: MemberSet
+Aliases:
+
+Required: False
+Position: 2
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Convertfrom Stringdata (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/ConvertFrom-StringData.md
Message Look in c:\Windows\System32
## PARAMETERS
+### -Delimiter
+
+The character used to separate the **key** from the **value** data in the string being converted.
+The default delimiter is the equals sign (`=`) character. This parameter was added in PowerShell 7.
+
+```yaml
+Type: System.Char
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: 0
+Default value: '='
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StringData Specifies the string to be converted. You can use this parameter or pipe a string to
Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -Delimiter
-
-The character used to separate the **key** from the **value** data in the string being converted.
-The default delimiter is the equals sign (`=`) character. This parameter was added in PowerShell 7.
-
-```yaml
-Type: System.Char
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 0
-Default value: '='
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Convertto Csv (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/ConvertTo-Csv.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseCulture
+### -QuoteFields
-Uses the list separator for the current culture as the item delimiter. To find the list separator
-for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
+Specifies the names of the columns that should be quoted. When this parameter is used only the
+specified columns are quoted. This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseCulture
-Aliases:
+Type: System.String[]
+Parameter Sets: (All)
+Aliases: QF
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -QuoteFields
+### -UseCulture
-Specifies the names of the columns that should be quoted. When this parameter is used only the
-specified columns are quoted. This parameter was added in PowerShell 7.0.
+Uses the list separator for the current culture as the item delimiter. To find the list separator
+for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases: QF
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: UseCulture
+Aliases:
Required: False Position: Named
Microsoft.PowerShell.Utility Export Clixml (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Export-Clixml.md
Unicode character array as proven by `Format-Hex`. So the value is encoded but n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Depth Specifies how many levels of contained objects are included in the XML representation. The default
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Utility Export Csv (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Export-Csv.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseCulture
+### -QuoteFields
-Uses the list separator for the current culture as the item delimiter. To find the list separator
-for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
+Specifies the names of the columns that should be quoted. When this parameter is used, only the
+specified columns are quoted. This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseCulture
-Aliases:
+Type: System.String[]
+Parameter Sets: (All)
+Aliases: QF
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
+### -UseCulture
-Prompts you for confirmation before running the cmdlet.
+Uses the list separator for the current culture as the item delimiter. To find the list separator
+for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
```yaml Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
+Parameter Sets: UseCulture
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -WhatIf
+### -UseQuotes
-Prevents the cmdlet from being processed or making changes. The output shows what would happen if
-the cmdlet were run.
+Specifies when quotes are used in the CSV files. Possible values are:
+
+- Never - don't quote anything
+- Always - quote everything (default behavior)
+- AsNeeded - only quote fields that contain a delimiter character
+
+This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: Microsoft.PowerShell.Commands.BaseCsvWritingCommand+QuoteKind
Parameter Sets: (All)
-Aliases: wi
+Aliases: UQ
Required: False Position: Named
-Default value: False
+Default value: Always
Accept pipeline input: False Accept wildcard characters: False ```
-### -QuoteFields
+### -Confirm
-Specifies the names of the columns that should be quoted. When this parameter is used, only the
-specified columns are quoted. This parameter was added in PowerShell 7.0.
+Prompts you for confirmation before running the cmdlet.
```yaml
-Type: System.String[]
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: QF
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
-### -UseQuotes
-
-Specifies when quotes are used in the CSV files. Possible values are:
--- Never - don't quote anything-- Always - quote everything (default behavior)-- AsNeeded - only quote fields that contain a delimiter character
+### -WhatIf
-This parameter was added in PowerShell 7.0.
+Prevents the cmdlet from being processed or making changes. The output shows what would happen if
+the cmdlet were run.
```yaml
-Type: Microsoft.PowerShell.Commands.BaseCsvWritingCommand+QuoteKind
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: UQ
+Aliases: wi
Required: False Position: Named
-Default value: Always
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Utility Format Hex (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Format-Hex.md
data, and the adjacent object is also numeric, it will group them into a single
## PARAMETERS
+### -Count
+
+This represents the number of bytes to include in the hex output.
+
+This parameter was introduced in PowerShell 6.2.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Int64.MaxValue
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Encoding Specifies the encoding of the input strings. This only applies to `[string]` input. The parameter
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Offset
+
+This represents the number of bytes to skip from being part of the hex output.
+
+This parameter was introduced in PowerShell 6.2.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: 0
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Path Specifies the path to files. Use a dot (`.`) to specify the current location. The wildcard character
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Offset
-
-This represents the number of bytes to skip from being part of the hex output.
-
-This parameter was introduced in PowerShell 6.2.
-
-```yaml
-Type: System.Int64
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: 0
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Count
-
-This represents the number of bytes to include in the hex output.
-
-This parameter was introduced in PowerShell 6.2.
-
-```yaml
-Type: System.Int64
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Int64.MaxValue
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Get Error (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Get-Error.md
$Error | Get-Error
## PARAMETERS
-### -Newest
+### -InputObject
-Specifies the number of errors to display that have occurred in the current session.
+This parameter is used for pipeline input.
```yaml
-Type: System.Int32
-Parameter Sets: Newest
-Aliases: Last
+Type: System.Management.Automation.PSObject
+Parameter Sets: Error
+Aliases:
Required: False
-Position: 0
+Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -InputObject
+### -Newest
-This parameter is used for pipeline input.
+Specifies the number of errors to display that have occurred in the current session.
```yaml
-Type: System.Management.Automation.PSObject
-Parameter Sets: Error
-Aliases:
+Type: System.Int32
+Parameter Sets: Newest
+Aliases: Last
Required: False
-Position: Named
+Position: 0
Default value: None
-Accept pipeline input: True (ByValue)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Utility Get Verb (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Get-Verb.md
Cmdlet Tee-Object 3.1.0.0 Microsoft.PowerShell.Utility
## PARAMETERS
-### -Verb
+### -Group
-Gets only the specified verbs. Enter the name of a verb or a name pattern. Wildcards are allowed.
+Gets only the specified groups. Enter the name of a group. Wildcards are not allowed.
+
+This parameter was introduced in PowerShell 6.0.
```yaml Type: System.String[] Parameter Sets: (All) Aliases:
-Accepted values: Common, Communications, Data, Diagnostic, Lifecycle, Other, Security
Required: False
-Position: 1
-Default value: All groups
+Position: 0
+Default value: All verbs
Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
+Accept wildcard characters: False
```
-### -Group
-
-Gets only the specified groups. Enter the name of a group. Wildcards are not allowed.
+### -Verb
-This parameter was introduced in PowerShell 6.0.
+Gets only the specified verbs. Enter the name of a verb or a name pattern. Wildcards are allowed.
```yaml Type: System.String[] Parameter Sets: (All) Aliases:
+Accepted values: Common, Communications, Data, Diagnostic, Lifecycle, Other, Security
Required: False
-Position: 0
-Default value: All verbs
+Position: 1
+Default value: All groups
Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: False
+Accept wildcard characters: True
``` ### CommonParameters
Microsoft.PowerShell.Utility Measure Object (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Measure-Object.md
Property : PeakPagedMemorySize
## PARAMETERS
+### -AllStats
+
+Indicates that the cmdlet displays all the statistics of the specified properties.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: GenericMeasure
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Average Indicates that the cmdlet displays the average value of the specified properties.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AllStats
-
-Indicates that the cmdlet displays all the statistics of the specified properties.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: GenericMeasure
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Word Indicates that the cmdlet counts the number of words in the input objects.
Microsoft.PowerShell.Utility Select Object (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Select-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SkipIndex
+
+```yaml
+Type: System.Int32[]
+Parameter Sets: SkipIndexParameter
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -SkipLast Skips (does not select) the specified number of items from the end of the list or array. Works in
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SkipIndex
-
-```yaml
-Type: System.Int32[]
-Parameter Sets: SkipIndexParameter
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Sort Object (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Sort-Object.md
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Stable
+
+The sorted objects are delivered in the order they were received when the sort criteria are equal.
+
+This parameter was added in PowerShell v6.2.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Default
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Top Specifies the number of objects to get from the start of a sorted object array. This results in a
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Stable
-
-The sorted objects are delivered in the order they were received when the sort criteria are equal.
-
-This parameter was added in PowerShell v6.2.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Default
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Write Progress (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 08/23/2021 Last updated : 09/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress
Accept wildcard characters: False
Specifies an ID that distinguishes each progress bar from the others. Use this parameter when you are creating more than one progress bar in a single command. If the progress bars do not have
-different IDs, they are superimposed instead of being displayed in a series.
+different IDs, they are superimposed instead of being displayed in a series. Negative values are
+not allowed.
```yaml Type: System.Int32
PSDesiredStateConfiguration New Dscchecksum (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PSDesiredStateConfiguration/New-DSCCheckSum.md
Specifying the *Force* parameter causes the command to overwrite any checksum fi
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Indicates that the cmdlet overwrites the specified output file if it already exists.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
PowerShellGet Install Module (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Install-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Install-Module` cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Install-Module` cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if an `Install-Module` command was run. The cmdlet is not run.
PowerShellGet Install Script (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Install-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a script for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowerShellGet New Scriptfileinfo (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/New-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `New-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `New-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `New-ScriptFileInfo` runs. The cmdlet isn't run.
PowerShellGet Publish Module (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Publish-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Publish-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to publish a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Publish-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Publish-Module` runs. The cmdlet is not run.
PowerShellGet Publish Script (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Publish-Script.md
the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential ```yaml
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowerShellGet Save Module (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Save-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Save-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to save a module.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Save-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Save-Module` runs. The cmdlet isn't run.
PowerShellGet Save Script (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Save-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Save-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to save a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Save-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Save-Script` runs. The cmdlet isn't run.
PowerShellGet Uninstall Module (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Uninstall-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Uninstall-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Module` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Uninstall-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Module` runs. The cmdlet isn't run.
PowerShellGet Uninstall Script (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Uninstall-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Uninstall-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Script` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Uninstall-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Script` runs. The cmdlet isn't run.
PowerShellGet Update Module (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Update-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a module.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Module` runs. The cmdlet isn't run.
PowerShellGet Update Modulemanifest (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Update-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ModuleManifest`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the module.
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ModuleManifest`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ModuleManifest` runs. The cmdlet isn't run.
PowerShellGet Update Script (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Update-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Script` runs. The cmdlet isn't run.
PowerShellGet Update Scriptfileinfo (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/PowerShellGet/Update-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ScriptFileInfo` runs. The cmdlet isn't run.
ThreadJob Start Threadjob (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/ThreadJob/Start-ThreadJob.md
PS> Start-ThreadJob -ScriptBlock { Read-Host 'Say hello'; Write-Warning 'Warning
Id Name PSJobTypeName State HasMoreData Location Command -- ---- ------------- ----- ----------- -------- -------
-7 Job7 ThreadJob NotStarted False PowerShell Read-Host 'Say hello'; …
+7 Job7 ThreadJob NotStarted False PowerShell Read-Host 'Say hello'; ...
PS> Say hello: Hello WARNING: Warning output
Microsoft.PowerShell.Archive Compress Archive (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Archive/Compress-Archive.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -DestinationPath This parameter is required and specifies the path to the archive output file. The
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Core About Functions Advanced Parameters (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Parameters.md
value is required.
- Switch parameters should not be given default values. They should always default to false.
+- Switch parameters are excluded from positional parameters by default.
+ Even when other parameters are implicitly positional, switch parameters are not.
+ You _can_ override that in the Parameter attribute, but it will confuse users.
- Switch parameters should be designed so that setting them moves a command from its default functionality to a less common or more complicated mode. The simplest behavior of a command should be the default behavior that does not require the use of switch parameters.-- Switch parameters should not be mandatory since a switch, when used, can only
- be `$true`. The only case where it is necessary to make a switch parameter
+- Switch parameters should not be mandatory.
+ The only case where it is necessary to make a switch parameter
mandatory is when it is needed to differentiate a parameter set. - Explicitly setting a switch from a boolean can be done with `-MySwitch:$boolValue` and in splatting with `$params = @{ MySwitch = $boolValue }`.-- Switch parameters are of type `SwitchParameter` but implicitly convert to
+- Switch parameters are of type `SwitchParameter`, which implicitly converts to
Boolean. The parameter variable can be used directly in a conditional expression. For example:
a file system drive.
You can also create a parameter that appears only when another parameter is used in the function command or when another parameter has a certain value.
-Dynamic parameters can be useful, but use them only when necessary, because
+Dynamic parameters can be useful, but use them only when necessary because
they can be difficult for users to discover. To find a dynamic parameter, the user must be in the provider path, use the **ArgumentList** parameter of the `Get-Command` cmdlet, or use the **Path** parameter of `Get-Help`.
Microsoft.PowerShell.Core Disable Experimentalfeature (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Disable-ExperimentalFeature.md
WARNING: Enabling and disabling experimental features do not take effect until n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Name The name or names of the experimental features to disable.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Disable Psremoting (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Disable-PSRemoting.md
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE
## PARAMETERS
-### -Confirm
+### -Force
-Prompts you for confirmation before running the cmdlet.
+Forces the command to run without asking for user confirmation.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -Force
+### -Confirm
-Forces the command to run without asking for user confirmation.
+Prompts you for confirmation before running the cmdlet.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases:
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Core Disconnect Pssession (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Disconnect-PSSession.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -OutputBufferingMode
+
+Determines how command output is managed in the disconnected session when the output buffer is
+full. The default value is **Block**.
+
+If the command in the disconnected session is returning output and the output buffer fills, the
+value of this parameter effectively determines whether the command continues to run while the
+session is disconnected. A value of **Block** suspends the command until the session is
+reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
+using the **Drop** value, redirect the command output to a file on disk.
+
+Valid values are:
+
+- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.
+- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
+ output is discarded.
+- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
+ of the session configuration is used for the disconnected session.
+
+```yaml
+Type: System.Management.Automation.Runspaces.OutputBufferingMode
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Block
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Session Disconnects from the specified PSSessions. Enter PSSession objects, such as those that the
Accept pipeline input: False
Accept wildcard characters: False ```
-### -OutputBufferingMode
-
-Determines how command output is managed in the disconnected session when the output buffer is
-full. The default value is **Block**.
-
-If the command in the disconnected session is returning output and the output buffer fills, the
-value of this parameter effectively determines whether the command continues to run while the
-session is disconnected. A value of **Block** suspends the command until the session is
-reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
-using the **Drop** value, redirect the command output to a file on disk.
-
-Valid values are:
--- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.-- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
- output is discarded.
-- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
- of the session configuration is used for the disconnected session.
-
-```yaml
-Type: System.Management.Automation.Runspaces.OutputBufferingMode
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Block
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Enable Experimentalfeature (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Enable-ExperimentalFeature.md
WARNING: Enabling and disabling experimental features do not take effect until n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Name The name or names of the experimental features to enable.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Enable Psremoting (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Enable-PSRemoting.md
OS Microsoft Windows 10.0.18363
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces the command to run without asking for user confirmation.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Enter Pshostprocess (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Enter-PSHostProcess.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -CustomPipeName
+
+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: System.String
+Parameter Sets: PipeNameParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -HostProcessInfo Specifies a **PSHostProcessInfo** object that can be connected to with PowerShell. Use
Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -CustomPipeName
-
-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: System.String
-Parameter Sets: PipeNameParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Foreach Object (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/ForEach-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -AsJob
+
+Causes the parallel invocation to run as a PowerShell job. A single job object is returned instead
+of output from the running script blocks. The job object contains child jobs for each parallel
+script block that runs. The job object can be used by all PowerShell job cmdlets, to monitor running
+state and retrieve data.
+
+This parameter was introduced in PowerShell 7.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: ParallelParameterSet
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Begin Specifies a script block that runs before this cmdlet processes any input objects. This script block
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Parallel
+
+Specifies the script block to be used for parallel processing of input objects. Enter a script block
+that describes the operation.
+
+This parameter was introduced in PowerShell 7.0.
+
+```yaml
+Type: System.Management.Automation.ScriptBlock
+Parameter Sets: ParallelParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Process Specifies the operation that is performed on each input object. This script block is run for every
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Parallel
-
-Specifies the script block to be used for parallel processing of input objects. Enter a script block
-that describes the operation.
-
-This parameter was introduced in PowerShell 7.0.
-
-```yaml
-Type: System.Management.Automation.ScriptBlock
-Parameter Sets: ParallelParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -ThrottleLimit Specifies the number of script blocks that in parallel. Input objects are blocked until
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AsJob
-
-Causes the parallel invocation to run as a PowerShell job. A single job object is returned instead
-of output from the running script blocks. The job object contains child jobs for each parallel
-script block that runs. The job object can be used by all PowerShell job cmdlets, to monitor running
-state and retrieve data.
-
-This parameter was introduced in PowerShell 7.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: ParallelParameterSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Import Module (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Import-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Variable
-
-Specifies an array of variables that this cmdlet imports from the module into the current session.
-Enter a list of variables. Wildcard characters are permitted.
-
-Some modules automatically export selected variables into your session when you import the module.
-This parameter lets you select from among the exported variables.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -SkipEditionCheck Skips the check on the `CompatiblePSEditions` field.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Variable
+
+Specifies an array of variables that this cmdlet imports from the module into the current session.
+Enter a list of variables. Wildcard characters are permitted.
+
+Some modules automatically export selected variables into your session when you import the module.
+This parameter lets you select from among the exported variables.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Invoke Command (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Invoke-Command.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Subsystem
+
+Specifies the SSH subsystem used for the new **PSSession**.
+
+This specifies the subsystem to use on the target as defined in sshd_config.
+The subsystem starts a specific version of PowerShell with predefined parameters.
+If the specified subsystem does not exist on the remote computer, the command fails.
+
+If this parameter is not used, the default is the 'powershell' subsystem.
+
+```yaml
+Type: System.String
+Parameter Sets: SSHHost
+Aliases:
+
+Required: False
+Position: Named
+Default value: powershell
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -ThrottleLimit Specifies the maximum number of concurrent connections that can be established to run this command.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Subsystem
-
-Specifies the SSH subsystem used for the new **PSSession**.
-
-This specifies the subsystem to use on the target as defined in sshd_config.
-The subsystem starts a specific version of PowerShell with predefined parameters.
-If the specified subsystem does not exist on the remote computer, the command fails.
-
-If this parameter is not used, the default is the 'powershell' subsystem.
-
-```yaml
-Type: System.String
-Parameter Sets: SSHHost
-Aliases:
-
-Required: False
-Position: Named
-Default value: powershell
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core New Modulemanifest (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/New-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ClrVersion
+
+Specifies the minimum version of the Common Language Runtime (CLR) of the Microsoft .NET Framework
+that the module requires.
+
+```yaml
+Type: System.Version
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -CmdletsToExport Specifies the cmdlets that the module exports. Wildcards are permitted.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ClrVersion
-
-Specifies the minimum version of the Common Language Runtime (CLR) of the Microsoft .NET Framework
-that the module requires.
-
-```yaml
-Type: System.Version
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-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).
Microsoft.PowerShell.Core New Pssession (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/New-PSSession.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Subsystem
+
+Specifies the SSH subsystem used for the new **PSSession**.
+
+This specifies the subsystem to use on the target as defined in sshd_config.
+The subsystem starts a specific version of PowerShell with predefined parameters.
+If the specified subsystem does not exist on the remote computer, the command fails.
+
+If this parameter is not used, the default is the 'powershell' subsystem.
+
+```yaml
+Type: System.String
+Parameter Sets: SSHHost
+Aliases:
+
+Required: False
+Position: Named
+Default value: powershell
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -ThrottleLimit Specifies the maximum number of concurrent connections that can be established to run this command.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -UseWindowsPowerShell
+
+Creates a remote connection to a new Windows PowerShell runspace on the local system.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: UseWindowsPowerShellParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -VMId Specifies an array of ID of virtual machines. This cmdlet starts an interactive session with each of
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Subsystem
-
-Specifies the SSH subsystem used for the new **PSSession**.
-
-This specifies the subsystem to use on the target as defined in sshd_config.
-The subsystem starts a specific version of PowerShell with predefined parameters.
-If the specified subsystem does not exist on the remote computer, the command fails.
-
-If this parameter is not used, the default is the 'powershell' subsystem.
-
-```yaml
-Type: System.String
-Parameter Sets: SSHHost
-Aliases:
-
-Required: False
-Position: Named
-Default value: powershell
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -UseWindowsPowerShell
-
-Creates a remote connection to a new Windows PowerShell runspace on the local system.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseWindowsPowerShellParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Register Pssessionconfiguration (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ThreadApartmentState
+
+Specifies the apartment state of the threading module to be used. Acceptable values are:
+
+- Unknown
+- MTA
+- STA
+
+```yaml
+Type: System.Threading.ApartmentState
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ThreadOptions Specifies how threads are created and used when a command runs in the session. The acceptable values
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ThreadApartmentState
-
-Specifies the apartment state of the threading module to be used. Acceptable values are:
--- Unknown-- MTA-- STA-
-```yaml
-Type: System.Threading.ApartmentState
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Remove Job (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Remove-Job.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before `Remove-Job` is run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Filter Deletes jobs that satisfy all the conditions established in the associated hash table. Enter a hash
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before `Remove-Job` is run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Remove-Job` runs. The cmdlet isn't run.
Microsoft.PowerShell.Core Save Help (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Save-Help.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Scope
+
+This paramater does nothing in this cmdlet.
+
+```yaml
+Type: Microsoft.PowerShell.Commands.UpdateHelpScope
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -UICulture Specifies UI culture values for which this cmdlet gets updated help files. Enter one or more
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Scope
-
-This paramater does nothing in this cmdlet.
-
-```yaml
-Type: Microsoft.PowerShell.Commands.UpdateHelpScope
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Set Pssessionconfiguration (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Set-PSSessionConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ThreadApartmentState
+
+Specifies the apartment state of the threading module to be used. Acceptable values are:
+
+- Unknown
+- MTA
+- STA
+
+```yaml
+Type: System.Threading.ApartmentState
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ThreadOptions Specifies the thread options setting in the configuration. This setting defines how threads are
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ThreadApartmentState
-
-Specifies the apartment state of the threading module to be used. Acceptable values are:
--- Unknown-- MTA-- STA-
-```yaml
-Type: System.Threading.ApartmentState
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Host Start Transcript (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Host/Start-Transcript.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseMinimalHeader
-
-Prepend a short header to the transcript, instead of the detailed header included by default. This
-parameter was added in PowerShell 6.2.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies a location to the transcript file. Unlike the **Path** parameter, the value of the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -UseMinimalHeader
+
+Prepend a short header to the transcript, instead of the detailed header included by default. This
+parameter was added in PowerShell 6.2.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Clear Content (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Clear-Content.md
PS C:\>
## PARAMETERS
-### -Stream
-
-> [!NOTE]
-> This Parameter is only available on Windows.
-
-Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates
-it. Wildcard characters are not supported.
-
-**Stream** is a dynamic parameter that the FileSystem provider adds to `Clear-Content`. This
-parameter works only in file system drives, and will clear the content of alternative data streams
-on both files and directories.
-
-You can use the `Clear-Content` cmdlet to change the content of amy alternate data stream, such as
-`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that
-block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use
-the `Unblock-File` cmdlet.
-
-This parameter was introduced in PowerShell 3.0. As of PowerShell 7.2, `Clear-Content` can clear the
-content of alternative data streams from directories as well as files.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -Stream
+
+> [!NOTE]
+> This Parameter is only available on Windows.
+
+Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates
+it. Wildcard characters are not supported.
+
+**Stream** is a dynamic parameter that the FileSystem provider adds to `Clear-Content`. This
+parameter works only in file system drives, and will clear the content of alternative data streams
+on both files and directories.
+
+You can use the `Clear-Content` cmdlet to change the content of amy alternate data stream, such as
+`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that
+block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use
+the `Unblock-File` cmdlet.
+
+This parameter was introduced in PowerShell 3.0. As of PowerShell 7.2, `Clear-Content` can clear the
+content of alternative data streams from directories as well as files.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Copy Item (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Copy-Item.md
the same name are overwritten in the destination folder.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Container Indicates that this cmdlet preserves container objects during the copy operation. By default, the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Get Content (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Get-Content.md
PowerShell as `[System.Object[]]`.
## PARAMETERS
-### -Path
-
-Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
-permitted. The paths must be paths to items, not to containers. For example, you must specify a path
-to one or more files, not a path to a directory.
-
-```yaml
-Type: System.String[]
-Parameter Sets: Path
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: True
-```
-
-### -LiteralPath
+### -AsByteStream
-Specifies a path to one or more locations. The value of **LiteralPath** 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.
+Specifies that the content should be read as a stream of bytes. The **AsByteStream** parameter was
+introduced in Windows PowerShell 6.0.
-For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
+A warning occurs when you use the **AsByteStream** parameter with the **Encoding** parameter. The
+**AsByteStream** parameter ignores any encoding and the output is returned as a stream of bytes.
```yaml
-Type: System.String[]
-Parameter Sets: LiteralPath
-Aliases: PSPath, LP
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -ReadCount
-
-Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
-A value of 0 (zero) sends all of the content at one time.
+### -Credential
-This parameter does not change the content displayed, but it does affect the time it takes to
-display the content. As the value of **ReadCount** increases, the time it takes to return the first
-line increases, but the total time for the operation decreases. This can make a perceptible
-difference in large items.
+> [!NOTE]
+> This parameter is not supported by any providers installed with PowerShell.
+> To impersonate another user, or elevate your credentials when running this cmdlet,
+> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
```yaml
-Type: System.Int64
+Type: System.Management.Automation.PSCredential
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: 1
+Default value: Current user
Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```
-### -TotalCount
+### -Delimiter
-Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
-lines).
+Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
+default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
+collection of string objects, each of which ends with an end-of-line character. When you enter a
+delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
+undelimited object.
-You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+You can use this parameter to split a large file into smaller files by specifying a file separator,
+as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
+section.
+
+**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
+cmdlet. This parameter works only in file system drives.
+
+> [!NOTE]
+> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
+> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
+> a single, undelimited string. Enter a value that does not exist in the file.
```yaml
-Type: System.Int64
+Type: System.String
Parameter Sets: (All)
-Aliases: First, Head
+Aliases:
Required: False Position: Named
-Default value: -1
-Accept pipeline input: True (ByPropertyName)
+Default value: End-of-line character
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -Tail
+### -Encoding
-Specifies the number of lines from the end of a file or other item. You can use the **Tail**
-parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
+Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
-```yaml
-Type: System.Int32
-Parameter Sets: (All)
-Aliases: Last
+The acceptable values for this parameter are as follows:
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
+- `ascii`: Uses the encoding for the ASCII (7-bit) character set.
+- `bigendianunicode`: Encodes in UTF-16 format using the big-endian byte order.
+- `bigendianutf32`: Encodes in UTF-32 format using the big-endian byte order.
+- `oem`: Uses the default encoding for MS-DOS and console programs.
+- `unicode`: Encodes in UTF-16 format using the little-endian byte order.
+- `utf7`: Encodes in UTF-7 format.
+- `utf8`: Encodes in UTF-8 format.
+- `utf8BOM`: Encodes in UTF-8 format with Byte Order Mark (BOM)
+- `utf8NoBOM`: Encodes in UTF-8 format without Byte Order Mark (BOM)
+- `utf32`: Encodes in UTF-32 format.
-### -Filter
+Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
+This parameter is available only in file system drives.
-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).
-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.
+When reading from and writing to binary files, use the **AsByteStream** parameter and a value of 0
+for the **ReadCount** parameter. A **ReadCount** value of 0 reads the entire file in a single read
+operation. The default **ReadCount** value, 1, reads one byte in each read operation and converts
+each byte into a separate object, which causes errors when you use the `Set-Content` cmdlet to write
+the bytes to a file unless you use **AsByteStream** parameter.
+
+Beginning with PowerShell 6.2, the **Encoding** parameter also allows numeric IDs of registered code
+pages (like `-Encoding 1251`) or string names of registered code pages (like
+`-Encoding "windows-1251"`). For more information, see the .NET documentation for
+[Encoding.CodePage](/dotnet/api/system.text.encoding.codepage?view=netcore-2.2).
+
+> [!NOTE]
+> **UTF-7*** is no longer recommended to use. As of PowerShell 7.1, a warning is written if you
+> specify `utf7` for the **Encoding** parameter.
```yaml
-Type: System.String
+Type: System.Text.Encoding
Parameter Sets: (All) Aliases:
+Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, OEM, Unicode, UTF7, UTF8, UTF8BOM, UTF8NoBOM, UTF32
Required: False Position: Named
-Default value: None
+Default value: UTF8NoBOM
Accept pipeline input: False
-Accept wildcard characters: True
+Accept wildcard characters: False
```
-### -Include
+### -Exclude
-Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
-of this parameter qualifies the **Path** parameter. Enter a path element or pattern, such as
-`"*.txt"`. Wildcard characters are permitted. The **Include** parameter is effective only when the
-command includes the contents of an item, such as `C:\Windows\*`, where the wildcard character
-specifies the contents of the `C:\Windows` directory.
+Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
+The value of this parameter qualifies the **Path** parameter.
+
+Enter a path element or pattern, such as `*.txt`.
+Wildcard characters are permitted.
+
+The **Exclude** parameter is effective only when the command includes the contents of an item,
+such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
+directory.
```yaml Type: System.String[]
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Exclude
-
-Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
-The value of this parameter qualifies the **Path** parameter.
-
-Enter a path element or pattern, such as `*.txt`.
-Wildcard characters are permitted.
+### -Filter
-The **Exclude** parameter is effective only when the command includes the contents of an item,
-such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
-directory.
+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).
+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.
```yaml
-Type: System.String[]
+Type: System.String
Parameter Sets: (All) Aliases:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Credential
+### -Include
-> [!NOTE]
-> This parameter is not supported by any providers installed with PowerShell.
-> To impersonate another user, or elevate your credentials when running this cmdlet,
-> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
+Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
+of this parameter qualifies the **Path** parameter. Enter a path element or pattern, such as
+`"*.txt"`. Wildcard characters are permitted. The **Include** parameter is effective only when the
+command includes the contents of an item, such as `C:\Windows\*`, where the wildcard character
+specifies the contents of the `C:\Windows` directory.
```yaml
-Type: System.Management.Automation.PSCredential
+Type: System.String[]
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: Current user
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
```
-### -Delimiter
-
-Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
-default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
-collection of string objects, each of which ends with an end-of-line character. When you enter a
-delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
-undelimited object.
-
-You can use this parameter to split a large file into smaller files by specifying a file separator,
-as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
-section.
+### -LiteralPath
-**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
-cmdlet. This parameter works only in file system drives.
+Specifies a path to one or more locations. The value of **LiteralPath** 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.
-> [!NOTE]
-> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
-> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
-> a single, undelimited string. Enter a value that does not exist in the file.
+For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
+Type: System.String[]
+Parameter Sets: LiteralPath
+Aliases: PSPath, LP
-Required: False
+Required: True
Position: Named
-Default value: End-of-line character
-Accept pipeline input: False
+Default value: None
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Wait
-
-Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
-the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
-**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
-reported.
+### -Path
-**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
-parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
+Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
+permitted. The paths must be paths to items, not to containers. For example, you must specify a path
+to one or more files, not a path to a directory.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: Path
Aliases:
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
+Required: True
+Position: 0
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: True
``` ### -Raw
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Encoding
-
-Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
-
-The acceptable values for this parameter are as follows:
--- `ascii`: Uses the encoding for the ASCII (7-bit) character set.-- `bigendianunicode`: Encodes in UTF-16 format using the big-endian byte order.-- `bigendianutf32`: Encodes in UTF-32 format using the big-endian byte order.-- `oem`: Uses the default encoding for MS-DOS and console programs.-- `unicode`: Encodes in UTF-16 format using the little-endian byte order.-- `utf7`: Encodes in UTF-7 format.-- `utf8`: Encodes in UTF-8 format.-- `utf8BOM`: Encodes in UTF-8 format with Byte Order Mark (BOM)-- `utf8NoBOM`: Encodes in UTF-8 format without Byte Order Mark (BOM)-- `utf32`: Encodes in UTF-32 format.-
-Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
-This parameter is available only in file system drives.
-
-When reading from and writing to binary files, use the **AsByteStream** parameter and a value of 0
-for the **ReadCount** parameter. A **ReadCount** value of 0 reads the entire file in a single read
-operation. The default **ReadCount** value, 1, reads one byte in each read operation and converts
-each byte into a separate object, which causes errors when you use the `Set-Content` cmdlet to write
-the bytes to a file unless you use **AsByteStream** parameter.
+### -ReadCount
-Beginning with PowerShell 6.2, the **Encoding** parameter also allows numeric IDs of registered code
-pages (like `-Encoding 1251`) or string names of registered code pages (like
-`-Encoding "windows-1251"`). For more information, see the .NET documentation for
-[Encoding.CodePage](/dotnet/api/system.text.encoding.codepage?view=netcore-2.2).
+Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
+A value of 0 (zero) sends all of the content at one time.
-> [!NOTE]
-> **UTF-7*** is no longer recommended to use. As of PowerShell 7.1, a warning is written if you
-> specify `utf7` for the **Encoding** parameter.
+This parameter does not change the content displayed, but it does affect the time it takes to
+display the content. As the value of **ReadCount** increases, the time it takes to return the first
+line increases, but the total time for the operation decreases. This can make a perceptible
+difference in large items.
```yaml
-Type: System.Text.Encoding
+Type: System.Int64
Parameter Sets: (All) Aliases:
-Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, OEM, Unicode, UTF7, UTF8, UTF8BOM, UTF8NoBOM, UTF32
Required: False Position: Named
-Default value: UTF8NoBOM
-Accept pipeline input: False
+Default value: 1
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AsByteStream
+### -Tail
-Specifies that the content should be read as a stream of bytes. The **AsByteStream** parameter was
-introduced in Windows PowerShell 6.0.
+Specifies the number of lines from the end of a file or other item. You can use the **Tail**
+parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
-A warning occurs when you use the **AsByteStream** parameter with the **Encoding** parameter. The
-**AsByteStream** parameter ignores any encoding and the output is returned as a stream of bytes.
+```yaml
+Type: System.Int32
+Parameter Sets: (All)
+Aliases: Last
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+
+### -TotalCount
+
+Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
+lines).
+
+You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases: First, Head
+
+Required: False
+Position: Named
+Default value: -1
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+
+### -Wait
+
+Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
+the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
+**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
+reported.
+
+**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
+parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
```yaml Type: System.Management.Automation.SwitchParameter
Aliases:
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Management Get Item (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Get-Item.md
The new properties that are now part of the output are:
## PARAMETERS
-### -Stream
-
-> [!NOTE]
-> This Parameter is only available on Windows.
-
-Gets the specified alternate NTFS file stream from the file. Enter the stream name. Wildcards are
-supported. To get all streams, use an asterisk (`*`). This parameter isn't valid on folders.
-
-**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Item` cmdlet.
-This parameter works only in file system drives.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: No alternate file streams
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Stream
+
+> [!NOTE]
+> This Parameter is only available on Windows.
+
+Gets the specified alternate NTFS file stream from the file. Enter the stream name. Wildcards are
+supported. To get all streams, use an asterisk (`*`). This parameter isn't valid on folders.
+
+**Stream** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Item` cmdlet.
+This parameter works only in file system drives.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: No alternate file streams
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Management New Psdrive (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/New-PSDrive.md
X: \\products\public Disconnected Unavailable
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management New Service (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/New-Service.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SecurityDescriptorSddl
+
+Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: sd
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StartupType Sets the startup type of the service. The acceptable values for this parameter are:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SecurityDescriptorSddl
-
-Specifies the **SecurityDescriptor** for the service in **Sddl** format.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases: sd
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Set Clipboard (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Set-Clipboard.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Value
+
+The string values to be added to the clipboard.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
-
-The string values to be added to the clipboard.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Management Set Service (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Set-Service.md
parameter to specify the **BITS** service. The **SecurityDescriptorSddl** parame
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running `Set-Service`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies the account used by the service as the [Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SecurityDescriptorSddl
+
+Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: sd
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StartupType Specifies the start mode of the service.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SecurityDescriptorSddl
+### -Confirm
-Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+Prompts you for confirmation before running `Set-Service`.
```yaml
-Type: System.String
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: sd
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Management Stop Computer (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Stop-Computer.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Test Connection (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Management/Test-Connection.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Repeat
-
-Causes the cmdlet to send ping requests continuously. This parameter can't be used with the
-**Count** parameter.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: RepeatPing
-Aliases: Continuous
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Count Specifies the number of echo requests to send. The default value is 4.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -MtuSize
+
+This parameter is used to discover the Path MTU size. The cmdlet returns a **PingReply#MTUSize**
+object that contains the Path MTU size to the target. For more information about Path MTU, see the
+[Path MTU Discovery](https://wikipedia.org/wiki/Path_MTU_Discovery) article in wikipedia.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: MtuSizeDetect
+Aliases: MtuSizeDetect
+
+Required: True
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Ping Causes the cmdlet to do a ping test. This is the default mode for the `Test-Connection` cmdlet.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Repeat
+
+Causes the cmdlet to send ping requests continuously. This parameter can't be used with the
+**Count** parameter.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: RepeatPing
+Aliases: Continuous
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ResolveDestination Causes the cmdlet to attempt to resolve the DNS name of the target. When used in conjunction
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -TcpPort
+
+Specifies the TCP port number on the target to be used in the TCP connection test. The cmdlet will
+attempt to make a TCP connection to the specified port on the target.
+
+If a connection can be made, `$True` will be returned.
+
+If a connection cannot be made, `$False` will be returned.
+
+```yaml
+Type: System.Int32
+Parameter Sets: TcpPort
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -TimeoutSeconds Sets the timeout value for the test. The test fails if a response isn't received before the timeout
Accept pipeline input: False
Accept wildcard characters: False ```
-### -MtuSize
-
-This parameter is used to discover the Path MTU size. The cmdlet returns a **PingReply#MTUSize**
-object that contains the Path MTU size to the target. For more information about Path MTU, see the
-[Path MTU Discovery](https://wikipedia.org/wiki/Path_MTU_Discovery) article in wikipedia.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: MtuSizeDetect
-Aliases: MtuSizeDetect
-
-Required: True
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -TcpPort
-
-Specifies the TCP port number on the target to be used in the TCP connection test. The cmdlet will
-attempt to make a TCP connection to the specified port on the target.
-
-If a connection can be made, `$True` will be returned.
-
-If a connection cannot be made, `$False` will be returned.
-
-```yaml
-Type: System.Int32
-Parameter Sets: TcpPort
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Security Get Acl (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Security/Get-Acl.md
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Path
-
-Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
-by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
-security descriptor of the current directory.
-
-The parameter name ("Path") is optional.
-
-```yaml
-Type: System.String[]
-Parameter Sets: ByPath
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
-```
- ### -InputObject Gets the security descriptor for the specified object. Enter a variable that contains the object or
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Path
+
+Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
+by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
+security descriptor of the current directory.
+
+The parameter name ("Path") is optional.
+
+```yaml
+Type: System.String[]
+Parameter Sets: ByPath
+Aliases:
+
+Required: False
+Position: 1
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Security Set Authenticodesignature (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Security/Set-AuthenticodeSignature.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Content
+
+This parameter appears in the syntax listing because it is defined in the base class that
+`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
+in `Set-AuthenticodeSignature`.
+
+```yaml
+Type: System.Byte[]
+Parameter Sets: ByContent
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -FilePath Specifies the path to a file that is being signed.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -TimestampServer
-
-Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
-stamp server as a string.
-
-The time stamp represents the exact time that the certificate was added to the file. A time stamp
-prevents the script from failing if the certificate expires because users and programs can verify
-that the certificate was valid at the time of signing.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies the path to a file that is being signed. Unlike **FilePath**, the value of the
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Content
+### -TimestampServer
-This parameter appears in the syntax listing because it is defined in the base class that
-`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
-in `Set-AuthenticodeSignature`.
+Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
+stamp server as a string.
+
+The time stamp represents the exact time that the certificate was added to the file. A time stamp
+prevents the script from failing if the certificate expires because users and programs can verify
+that the certificate was valid at the time of signing.
```yaml
-Type: System.Byte[]
-Parameter Sets: ByContent
+Type: System.String
+Parameter Sets: (All)
Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Security Set Executionpolicy (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md
to run because it was unblocked by the `Unblock-File` cmdlet.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -ExecutionPolicy Specifies the execution policy. If there are no Group Policies and each scope's execution policy is
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Security Test Filecatalog (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Security/Test-FileCatalog.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Detailed Returns more information a more detailed `CatalogInformation` object that contains the files tested,
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Utility Add Member (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Add-Member.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
-
-Specifies the initial value of the added member.
-If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
-can supply optional, additional information by using the **SecondValue** parameter.
-
-```yaml
-Type: System.Object
-Parameter Sets: MemberSet
-Aliases:
-
-Required: False
-Position: 2
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -TypeName Specifies a name for the type.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Value
+
+Specifies the initial value of the added member.
+If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
+can supply optional, additional information by using the **SecondValue** parameter.
+
+```yaml
+Type: System.Object
+Parameter Sets: MemberSet
+Aliases:
+
+Required: False
+Position: 2
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Convertfrom Stringdata (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/ConvertFrom-StringData.md
Message Look in c:\Windows\System32
## PARAMETERS
+### -Delimiter
+
+The character used to separate the **key** from the **value** data in the string being converted.
+The default delimiter is the equals sign (`=`) character. This parameter was added in PowerShell 7.
+
+```yaml
+Type: System.Char
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: 0
+Default value: '='
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StringData Specifies the string to be converted. You can use this parameter or pipe a string to
Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -Delimiter
-
-The character used to separate the **key** from the **value** data in the string being converted.
-The default delimiter is the equals sign (`=`) character. This parameter was added in PowerShell 7.
-
-```yaml
-Type: System.Char
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 0
-Default value: '='
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Convertto Csv (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/ConvertTo-Csv.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseCulture
+### -QuoteFields
-Uses the list separator for the current culture as the item delimiter. To find the list separator
-for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
+Specifies the names of the columns that should be quoted. When this parameter is used only the
+specified columns are quoted. This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseCulture
-Aliases:
+Type: System.String[]
+Parameter Sets: (All)
+Aliases: QF
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -QuoteFields
+### -UseCulture
-Specifies the names of the columns that should be quoted. When this parameter is used only the
-specified columns are quoted. This parameter was added in PowerShell 7.0.
+Uses the list separator for the current culture as the item delimiter. To find the list separator
+for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases: QF
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: UseCulture
+Aliases:
Required: False Position: Named
Microsoft.PowerShell.Utility Export Clixml (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Export-Clixml.md
Unicode character array as proven by `Format-Hex`. So the value is encoded but n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Depth Specifies how many levels of contained objects are included in the XML representation. The default
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Utility Export Csv (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Export-Csv.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseCulture
+### -QuoteFields
-Uses the list separator for the current culture as the item delimiter. To find the list separator
-for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
+Specifies the names of the columns that should be quoted. When this parameter is used, only the
+specified columns are quoted. This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseCulture
-Aliases:
+Type: System.String[]
+Parameter Sets: (All)
+Aliases: QF
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
+### -UseCulture
-Prompts you for confirmation before running the cmdlet.
+Uses the list separator for the current culture as the item delimiter. To find the list separator
+for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
```yaml Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
+Parameter Sets: UseCulture
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -WhatIf
+### -UseQuotes
-Prevents the cmdlet from being processed or making changes. The output shows what would happen if
-the cmdlet were run.
+Specifies when quotes are used in the CSV files. Possible values are:
+
+- Never - don't quote anything
+- Always - quote everything (default behavior)
+- AsNeeded - only quote fields that contain a delimiter character
+
+This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: Microsoft.PowerShell.Commands.BaseCsvWritingCommand+QuoteKind
Parameter Sets: (All)
-Aliases: wi
+Aliases: UQ
Required: False Position: Named
-Default value: False
+Default value: Always
Accept pipeline input: False Accept wildcard characters: False ```
-### -QuoteFields
+### -Confirm
-Specifies the names of the columns that should be quoted. When this parameter is used, only the
-specified columns are quoted. This parameter was added in PowerShell 7.0.
+Prompts you for confirmation before running the cmdlet.
```yaml
-Type: System.String[]
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: QF
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
-### -UseQuotes
-
-Specifies when quotes are used in the CSV files. Possible values are:
--- Never - don't quote anything-- Always - quote everything (default behavior)-- AsNeeded - only quote fields that contain a delimiter character
+### -WhatIf
-This parameter was added in PowerShell 7.0.
+Prevents the cmdlet from being processed or making changes. The output shows what would happen if
+the cmdlet were run.
```yaml
-Type: Microsoft.PowerShell.Commands.BaseCsvWritingCommand+QuoteKind
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: UQ
+Aliases: wi
Required: False Position: Named
-Default value: Always
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Utility Format Hex (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Format-Hex.md
data, and the adjacent object is also numeric, it will group them into a single
## PARAMETERS
+### -Count
+
+This represents the number of bytes to include in the hex output.
+
+This parameter was introduced in PowerShell 6.2.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Int64.MaxValue
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Encoding Specifies the encoding of the input strings. This only applies to `[string]` input. The parameter
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Offset
+
+This represents the number of bytes to skip from being part of the hex output.
+
+This parameter was introduced in PowerShell 6.2.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: 0
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Path Specifies the path to files. Use a dot (`.`) to specify the current location. The wildcard character
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Offset
-
-This represents the number of bytes to skip from being part of the hex output.
-
-This parameter was introduced in PowerShell 6.2.
-
-```yaml
-Type: System.Int64
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: 0
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Count
-
-This represents the number of bytes to include in the hex output.
-
-This parameter was introduced in PowerShell 6.2.
-
-```yaml
-Type: System.Int64
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Int64.MaxValue
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Get Error (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Get-Error.md
$Error | Get-Error
## PARAMETERS
-### -Newest
+### -InputObject
-Specifies the number of errors to display that have occurred in the current session.
+This parameter is used for pipeline input.
```yaml
-Type: System.Int32
-Parameter Sets: Newest
-Aliases: Last
+Type: System.Management.Automation.PSObject
+Parameter Sets: Error
+Aliases:
Required: False
-Position: 0
+Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -InputObject
+### -Newest
-This parameter is used for pipeline input.
+Specifies the number of errors to display that have occurred in the current session.
```yaml
-Type: System.Management.Automation.PSObject
-Parameter Sets: Error
-Aliases:
+Type: System.Int32
+Parameter Sets: Newest
+Aliases: Last
Required: False
-Position: Named
+Position: 0
Default value: None
-Accept pipeline input: True (ByValue)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Utility Get Verb (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Get-Verb.md
Cmdlet Tee-Object 3.1.0.0 Microsoft.PowerShell.Utility
## PARAMETERS
-### -Verb
+### -Group
-Gets only the specified verbs. Enter the name of a verb or a name pattern. Wildcards are allowed.
+Gets only the specified groups. Enter the name of a group. Wildcards are not allowed.
+
+This parameter was introduced in PowerShell 6.0.
```yaml Type: System.String[] Parameter Sets: (All) Aliases:
-Accepted values: Common, Communications, Data, Diagnostic, Lifecycle, Other, Security
Required: False
-Position: 1
-Default value: All groups
+Position: 0
+Default value: All verbs
Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
+Accept wildcard characters: False
```
-### -Group
-
-Gets only the specified groups. Enter the name of a group. Wildcards are not allowed.
+### -Verb
-This parameter was introduced in PowerShell 6.0.
+Gets only the specified verbs. Enter the name of a verb or a name pattern. Wildcards are allowed.
```yaml Type: System.String[] Parameter Sets: (All) Aliases:
+Accepted values: Common, Communications, Data, Diagnostic, Lifecycle, Other, Security
Required: False
-Position: 0
-Default value: All verbs
+Position: 1
+Default value: All groups
Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: False
+Accept wildcard characters: True
``` ### CommonParameters
Microsoft.PowerShell.Utility Measure Object (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Measure-Object.md
Property : PeakPagedMemorySize
## PARAMETERS
+### -AllStats
+
+Indicates that the cmdlet displays all the statistics of the specified properties.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: GenericMeasure
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Average Indicates that the cmdlet displays the average value of the specified properties.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AllStats
-
-Indicates that the cmdlet displays all the statistics of the specified properties.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: GenericMeasure
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Word Indicates that the cmdlet counts the number of words in the input objects.
Microsoft.PowerShell.Utility Select Object (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Select-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SkipIndex
+
+```yaml
+Type: System.Int32[]
+Parameter Sets: SkipIndexParameter
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -SkipLast Skips (does not select) the specified number of items from the end of the list or array. Works in
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SkipIndex
-
-```yaml
-Type: System.Int32[]
-Parameter Sets: SkipIndexParameter
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Sort Object (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Sort-Object.md
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Stable
+
+The sorted objects are delivered in the order they were received when the sort criteria are equal.
+
+This parameter was added in PowerShell v6.2.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Default
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Top Specifies the number of objects to get from the start of a sorted object array. This results in a
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Stable
-
-The sorted objects are delivered in the order they were received when the sort criteria are equal.
-
-This parameter was added in PowerShell v6.2.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Default
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Write Progress (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 08/23/2021 Last updated : 09/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress
Accept wildcard characters: False
Specifies an ID that distinguishes each progress bar from the others. Use this parameter when you are creating more than one progress bar in a single command. If the progress bars do not have
-different IDs, they are superimposed instead of being displayed in a series.
+different IDs, they are superimposed instead of being displayed in a series. Negative values are
+not allowed.
```yaml Type: System.Int32
PSDesiredStateConfiguration New Dscchecksum (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PSDesiredStateConfiguration/New-DSCCheckSum.md
Specifying the *Force* parameter causes the command to overwrite any checksum fi
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Indicates that the cmdlet overwrites the specified output file if it already exists.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
PSReadLine Get Psreadlinekeyhandler (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PSReadLine/Get-PSReadLineKeyHandler.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Unbound
-
-Indicates that this cmdlet returns functions that are unbound.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: FullListing
-Aliases:
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Chord Return only functions bound to specific keys or sequences.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Unbound
+
+Indicates that this cmdlet returns functions that are unbound.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: FullListing
+Aliases:
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
PowerShellGet Install Module (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Install-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Install-Module` cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Install-Module` cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if an `Install-Module` command was run. The cmdlet is not run.
PowerShellGet Install Script (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Install-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a script for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowerShellGet New Scriptfileinfo (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/New-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `New-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `New-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `New-ScriptFileInfo` runs. The cmdlet isn't run.
PowerShellGet Publish Module (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Publish-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Publish-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to publish a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Publish-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Publish-Module` runs. The cmdlet is not run.
PowerShellGet Publish Script (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Publish-Script.md
the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential ```yaml
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowerShellGet Save Module (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Save-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Save-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to save a module.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Save-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Save-Module` runs. The cmdlet isn't run.
PowerShellGet Save Script (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Save-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Save-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to save a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Save-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Save-Script` runs. The cmdlet isn't run.
PowerShellGet Uninstall Module (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Uninstall-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Uninstall-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Module` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Uninstall-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Module` runs. The cmdlet isn't run.
PowerShellGet Uninstall Script (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Uninstall-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Uninstall-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Script` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Uninstall-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Script` runs. The cmdlet isn't run.
PowerShellGet Update Module (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Update-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a module.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Module` runs. The cmdlet isn't run.
PowerShellGet Update Modulemanifest (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Update-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ModuleManifest`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the module.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -RequireLicenseAcceptance
-
-Specifies that a license acceptance is required for the module.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -RequiredAssemblies Specifies the assembly (`.dll`) files that the module requires. Enter the assembly file names.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -RequireLicenseAcceptance
+
+Specifies that a license acceptance is required for the module.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -RootModule Specifies the primary or root file of the module. Enter the file name of a script (`.ps1`), a script
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ModuleManifest`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ModuleManifest` runs. The cmdlet isn't run.
PowerShellGet Update Script (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Update-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Script` runs. The cmdlet isn't run.
PowerShellGet Update Scriptfileinfo (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/PowerShellGet/Update-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ScriptFileInfo` runs. The cmdlet isn't run.
ThreadJob Start Threadjob (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/ThreadJob/Start-ThreadJob.md
PS> Start-ThreadJob -ScriptBlock { Read-Host 'Say hello'; Write-Warning 'Warning
Id Name PSJobTypeName State HasMoreData Location Command -- ---- ------------- ----- ----------- -------- -------
-7 Job7 ThreadJob NotStarted False PowerShell Read-Host 'Say hello'; à
+7 Job7 ThreadJob NotStarted False PowerShell Read-Host 'Say hello'; ...
PS> Say hello: Hello WARNING: Warning output
Microsoft.PowerShell.Archive Compress Archive (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Archive/Compress-Archive.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -DestinationPath This parameter is required and specifies the path to the archive output file. The
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Core About Functions Advanced Parameters (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Parameters.md
value is required.
- Switch parameters should not be given default values. They should always default to false.
+- Switch parameters are excluded from positional parameters by default.
+ Even when other parameters are implicitly positional, switch parameters are not.
+ You _can_ override that in the Parameter attribute, but it will confuse users.
- Switch parameters should be designed so that setting them moves a command from its default functionality to a less common or more complicated mode. The simplest behavior of a command should be the default behavior that does not require the use of switch parameters.-- Switch parameters should not be mandatory since a switch, when used, can only
- be `$true`. The only case where it is necessary to make a switch parameter
+- Switch parameters should not be mandatory.
+ The only case where it is necessary to make a switch parameter
mandatory is when it is needed to differentiate a parameter set. - Explicitly setting a switch from a boolean can be done with `-MySwitch:$boolValue` and in splatting with `$params = @{ MySwitch = $boolValue }`.-- Switch parameters are of type `SwitchParameter` but implicitly convert to
+- Switch parameters are of type `SwitchParameter`, which implicitly converts to
Boolean. The parameter variable can be used directly in a conditional expression. For example:
Microsoft.PowerShell.Core Disable Experimentalfeature (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Disable-ExperimentalFeature.md
WARNING: Enabling and disabling experimental features do not take effect until n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Name The name or names of the experimental features to disable.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Disable Psremoting (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Disable-PSRemoting.md
PowerShell.6.2.0 NT AUTHORITY\NETWORK AccessDenied, NT AUTHORITY\INTERACTIVE
## PARAMETERS
-### -Confirm
+### -Force
-Prompts you for confirmation before running the cmdlet.
+Forces the command to run without asking for user confirmation.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -Force
+### -Confirm
-Forces the command to run without asking for user confirmation.
+Prompts you for confirmation before running the cmdlet.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases:
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Core Disconnect Pssession (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Disconnect-PSSession.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -OutputBufferingMode
+
+Determines how command output is managed in the disconnected session when the output buffer is
+full. The default value is **Block**.
+
+If the command in the disconnected session is returning output and the output buffer fills, the
+value of this parameter effectively determines whether the command continues to run while the
+session is disconnected. A value of **Block** suspends the command until the session is
+reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
+using the **Drop** value, redirect the command output to a file on disk.
+
+Valid values are:
+
+- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.
+- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
+ output is discarded.
+- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
+ of the session configuration is used for the disconnected session.
+
+```yaml
+Type: System.Management.Automation.Runspaces.OutputBufferingMode
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Block
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Session Disconnects from the specified PSSessions. Enter PSSession objects, such as those that the
Accept pipeline input: False
Accept wildcard characters: False ```
-### -OutputBufferingMode
-
-Determines how command output is managed in the disconnected session when the output buffer is
-full. The default value is **Block**.
-
-If the command in the disconnected session is returning output and the output buffer fills, the
-value of this parameter effectively determines whether the command continues to run while the
-session is disconnected. A value of **Block** suspends the command until the session is
-reconnected. A value of **Drop** allows the command to complete, although data might be lost. When
-using the **Drop** value, redirect the command output to a file on disk.
-
-Valid values are:
--- **Block**: When the output buffer is full, execution is suspended until the buffer is clear.-- **Drop**: When the output buffer is full, execution continues. As new output is saved, the oldest
- output is discarded.
-- **None**: No output buffering mode is specified. The value of the **OutputBufferingMode** property
- of the session configuration is used for the disconnected session.
-
-```yaml
-Type: System.Management.Automation.Runspaces.OutputBufferingMode
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Block
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Enable Experimentalfeature (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Enable-ExperimentalFeature.md
WARNING: Enabling and disabling experimental features do not take effect until n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Name The name or names of the experimental features to enable.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Enable Psremoting (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Enable-PSRemoting.md
OS Microsoft Windows 10.0.18363
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces the command to run without asking for user confirmation.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs.
Microsoft.PowerShell.Core Enter Pshostprocess (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Enter-PSHostProcess.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -CustomPipeName
+
+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: System.String
+Parameter Sets: PipeNameParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -HostProcessInfo Specifies a **PSHostProcessInfo** object that can be connected to with PowerShell. Use
Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -CustomPipeName
-
-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: System.String
-Parameter Sets: PipeNameParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Foreach Object (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/ForEach-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -AsJob
+
+Causes the parallel invocation to run as a PowerShell job. A single job object is returned instead
+of output from the running script blocks. The job object contains child jobs for each parallel
+script block that runs. The job object can be used by all PowerShell job cmdlets, to monitor running
+state and retrieve data.
+
+This parameter was introduced in PowerShell 7.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: ParallelParameterSet
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Begin Specifies a script block that runs before this cmdlet processes any input objects. This script block
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Parallel
+
+Specifies the script block to be used for parallel processing of input objects. Enter a script block
+that describes the operation.
+
+This parameter was introduced in PowerShell 7.0.
+
+```yaml
+Type: System.Management.Automation.ScriptBlock
+Parameter Sets: ParallelParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Process Specifies the operation that is performed on each input object. This script block is run for every
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Parallel
-
-Specifies the script block to be used for parallel processing of input objects. Enter a script block
-that describes the operation.
-
-This parameter was introduced in PowerShell 7.0.
-
-```yaml
-Type: System.Management.Automation.ScriptBlock
-Parameter Sets: ParallelParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -ThrottleLimit Specifies the number of script blocks that in parallel. Input objects are blocked until
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AsJob
-
-Causes the parallel invocation to run as a PowerShell job. A single job object is returned instead
-of output from the running script blocks. The job object contains child jobs for each parallel
-script block that runs. The job object can be used by all PowerShell job cmdlets, to monitor running
-state and retrieve data.
-
-This parameter was introduced in PowerShell 7.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: ParallelParameterSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Core Import Module (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Import-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Variable
-
-Specifies an array of variables that this cmdlet imports from the module into the current session.
-Enter a list of variables. Wildcard characters are permitted.
-
-Some modules automatically export selected variables into your session when you import the module.
-This parameter lets you select from among the exported variables.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -SkipEditionCheck Skips the check on the `CompatiblePSEditions` field.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Variable
+
+Specifies an array of variables that this cmdlet imports from the module into the current session.
+Enter a list of variables. Wildcard characters are permitted.
+
+Some modules automatically export selected variables into your session when you import the module.
+This parameter lets you select from among the exported variables.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Invoke Command (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Invoke-Command.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Subsystem
+
+Specifies the SSH subsystem used for the new **PSSession**.
+
+This specifies the subsystem to use on the target as defined in sshd_config.
+The subsystem starts a specific version of PowerShell with predefined parameters.
+If the specified subsystem does not exist on the remote computer, the command fails.
+
+If this parameter is not used, the default is the 'powershell' subsystem.
+
+```yaml
+Type: System.String
+Parameter Sets: SSHHost
+Aliases:
+
+Required: False
+Position: Named
+Default value: powershell
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -ThrottleLimit Specifies the maximum number of concurrent connections that can be established to run this command.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Subsystem
-
-Specifies the SSH subsystem used for the new **PSSession**.
-
-This specifies the subsystem to use on the target as defined in sshd_config.
-The subsystem starts a specific version of PowerShell with predefined parameters.
-If the specified subsystem does not exist on the remote computer, the command fails.
-
-If this parameter is not used, the default is the 'powershell' subsystem.
-
-```yaml
-Type: System.String
-Parameter Sets: SSHHost
-Aliases:
-
-Required: False
-Position: Named
-Default value: powershell
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core New Modulemanifest (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/New-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ClrVersion
+
+Specifies the minimum version of the Common Language Runtime (CLR) of the Microsoft .NET Framework
+that the module requires.
+
+```yaml
+Type: System.Version
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -CmdletsToExport Specifies the cmdlets that the module exports. Wildcards are permitted.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ClrVersion
-
-Specifies the minimum version of the Common Language Runtime (CLR) of the Microsoft .NET Framework
-that the module requires.
-
-```yaml
-Type: System.Version
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-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).
Microsoft.PowerShell.Core New Pssession (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/New-PSSession.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Subsystem
+
+Specifies the SSH subsystem used for the new **PSSession**.
+
+This specifies the subsystem to use on the target as defined in sshd_config.
+The subsystem starts a specific version of PowerShell with predefined parameters.
+If the specified subsystem does not exist on the remote computer, the command fails.
+
+If this parameter is not used, the default is the 'powershell' subsystem.
+
+```yaml
+Type: System.String
+Parameter Sets: SSHHost
+Aliases:
+
+Required: False
+Position: Named
+Default value: powershell
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -ThrottleLimit Specifies the maximum number of concurrent connections that can be established to run this command.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -UseWindowsPowerShell
+
+Creates a remote connection to a new Windows PowerShell runspace on the local system.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: UseWindowsPowerShellParameterSet
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -VMId Specifies an array of ID of virtual machines. This cmdlet starts an interactive session with each of
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Subsystem
-
-Specifies the SSH subsystem used for the new **PSSession**.
-
-This specifies the subsystem to use on the target as defined in sshd_config.
-The subsystem starts a specific version of PowerShell with predefined parameters.
-If the specified subsystem does not exist on the remote computer, the command fails.
-
-If this parameter is not used, the default is the 'powershell' subsystem.
-
-```yaml
-Type: System.String
-Parameter Sets: SSHHost
-Aliases:
-
-Required: False
-Position: Named
-Default value: powershell
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -UseWindowsPowerShell
-
-Creates a remote connection to a new Windows PowerShell runspace on the local system.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseWindowsPowerShellParameterSet
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Register Pssessionconfiguration (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ThreadApartmentState
+
+Specifies the apartment state of the threading module to be used. Acceptable values are:
+
+- Unknown
+- MTA
+- STA
+
+```yaml
+Type: System.Threading.ApartmentState
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ThreadOptions Specifies how threads are created and used when a command runs in the session. The acceptable values
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ThreadApartmentState
-
-Specifies the apartment state of the threading module to be used. Acceptable values are:
--- Unknown-- MTA-- STA-
-```yaml
-Type: System.Threading.ApartmentState
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Remove Job (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Remove-Job.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before `Remove-Job` is run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Filter Deletes jobs that satisfy all the conditions established in the associated hash table. Enter a hash
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before `Remove-Job` is run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Remove-Job` runs. The cmdlet isn't run.
Microsoft.PowerShell.Core Save Help (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Save-Help.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Scope
+
+This paramater does nothing in this cmdlet.
+
+```yaml
+Type: Microsoft.PowerShell.Commands.UpdateHelpScope
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -UICulture Specifies UI culture values for which this cmdlet gets updated help files. Enter one or more
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Scope
-
-This paramater does nothing in this cmdlet.
-
-```yaml
-Type: Microsoft.PowerShell.Commands.UpdateHelpScope
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Core Set Pssessionconfiguration (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Set-PSSessionConfiguration.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -ThreadApartmentState
+
+Specifies the apartment state of the threading module to be used. Acceptable values are:
+
+- Unknown
+- MTA
+- STA
+
+```yaml
+Type: System.Threading.ApartmentState
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ThreadOptions Specifies the thread options setting in the configuration. This setting defines how threads are
Accept pipeline input: False
Accept wildcard characters: False ```
-### -ThreadApartmentState
-
-Specifies the apartment state of the threading module to be used. Acceptable values are:
--- Unknown-- MTA-- STA-
-```yaml
-Type: System.Threading.ApartmentState
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Host Start Transcript (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Host/Start-Transcript.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseMinimalHeader
-
-Prepend a short header to the transcript, instead of the detailed header included by default. This
-parameter was added in PowerShell 6.2.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies a location to the transcript file. Unlike the **Path** parameter, the value of the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -UseMinimalHeader
+
+Prepend a short header to the transcript, instead of the detailed header included by default. This
+parameter was added in PowerShell 6.2.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Clear Content (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Clear-Content.md
PS C:\>
## PARAMETERS
-### -Stream
-
-> [!NOTE]
-> This Parameter is only available on Windows.
-
-Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates
-it. Wildcard characters are not supported.
-
-**Stream** is a dynamic parameter that the FileSystem provider adds to `Clear-Content`. This
-parameter works only in file system drives, and will clear the content of alternative data streams
-on both files and directories.
-
-You can use the `Clear-Content` cmdlet to change the content of amy alternate data stream, such as
-`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that
-block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use
-the `Unblock-File` cmdlet.
-
-This parameter was introduced in PowerShell 3.0. As of PowerShell 7.2, `Clear-Content` can clear the
-content of alternative data streams from directories as well as files.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: True ```
+### -Stream
+
+> [!NOTE]
+> This Parameter is only available on Windows.
+
+Specifies an alternative data stream for content. If the stream does not exist, this cmdlet creates
+it. Wildcard characters are not supported.
+
+**Stream** is a dynamic parameter that the FileSystem provider adds to `Clear-Content`. This
+parameter works only in file system drives, and will clear the content of alternative data streams
+on both files and directories.
+
+You can use the `Clear-Content` cmdlet to change the content of amy alternate data stream, such as
+`Zone.Identifier`. However, we do not recommend this as a way to eliminate security checks that
+block files that are downloaded from the Internet. If you verify that a downloaded file is safe, use
+the `Unblock-File` cmdlet.
+
+This parameter was introduced in PowerShell 3.0. As of PowerShell 7.2, `Clear-Content` can clear the
+content of alternative data streams from directories as well as files.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Copy Item (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md
the same name are overwritten in the destination folder.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Container Indicates that this cmdlet preserves container objects during the copy operation. By default, the
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Get Content (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Get-Content.md
PowerShell as `[System.Object[]]`.
## PARAMETERS
-### -Path
-
-Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
-permitted. The paths must be paths to items, not to containers. For example, you must specify a path
-to one or more files, not a path to a directory.
-
-```yaml
-Type: System.String[]
-Parameter Sets: Path
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: True
-```
-
-### -LiteralPath
+### -AsByteStream
-Specifies a path to one or more locations. The value of **LiteralPath** 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.
+Specifies that the content should be read as a stream of bytes. The **AsByteStream** parameter was
+introduced in Windows PowerShell 6.0.
-For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
+A warning occurs when you use the **AsByteStream** parameter with the **Encoding** parameter. The
+**AsByteStream** parameter ignores any encoding and the output is returned as a stream of bytes.
```yaml
-Type: System.String[]
-Parameter Sets: LiteralPath
-Aliases: PSPath, LP
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -ReadCount
-
-Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
-A value of 0 (zero) sends all of the content at one time.
+### -Credential
-This parameter does not change the content displayed, but it does affect the time it takes to
-display the content. As the value of **ReadCount** increases, the time it takes to return the first
-line increases, but the total time for the operation decreases. This can make a perceptible
-difference in large items.
+> [!NOTE]
+> This parameter is not supported by any providers installed with PowerShell.
+> To impersonate another user, or elevate your credentials when running this cmdlet,
+> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
```yaml
-Type: System.Int64
+Type: System.Management.Automation.PSCredential
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: 1
+Default value: Current user
Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```
-### -TotalCount
+### -Delimiter
-Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
-lines).
+Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
+default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
+collection of string objects, each of which ends with an end-of-line character. When you enter a
+delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
+undelimited object.
-You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+You can use this parameter to split a large file into smaller files by specifying a file separator,
+as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
+section.
+
+**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
+cmdlet. This parameter works only in file system drives.
+
+> [!NOTE]
+> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
+> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
+> a single, undelimited string. Enter a value that does not exist in the file.
```yaml
-Type: System.Int64
+Type: System.String
Parameter Sets: (All)
-Aliases: First, Head
+Aliases:
Required: False Position: Named
-Default value: -1
-Accept pipeline input: True (ByPropertyName)
+Default value: End-of-line character
+Accept pipeline input: False
Accept wildcard characters: False ```
-### -Tail
+### -Encoding
-Specifies the number of lines from the end of a file or other item. You can use the **Tail**
-parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
+Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
-```yaml
-Type: System.Int32
-Parameter Sets: (All)
-Aliases: Last
+The acceptable values for this parameter are as follows:
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
+- `ascii`: Uses the encoding for the ASCII (7-bit) character set.
+- `bigendianunicode`: Encodes in UTF-16 format using the big-endian byte order.
+- `bigendianutf32`: Encodes in UTF-32 format using the big-endian byte order.
+- `oem`: Uses the default encoding for MS-DOS and console programs.
+- `unicode`: Encodes in UTF-16 format using the little-endian byte order.
+- `utf7`: Encodes in UTF-7 format.
+- `utf8`: Encodes in UTF-8 format.
+- `utf8BOM`: Encodes in UTF-8 format with Byte Order Mark (BOM)
+- `utf8NoBOM`: Encodes in UTF-8 format without Byte Order Mark (BOM)
+- `utf32`: Encodes in UTF-32 format.
-### -Filter
+Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
+This parameter is available only in file system drives.
-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).
-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.
+When reading from and writing to binary files, use the **AsByteStream** parameter and a value of 0
+for the **ReadCount** parameter. A **ReadCount** value of 0 reads the entire file in a single read
+operation. The default **ReadCount** value, 1, reads one byte in each read operation and converts
+each byte into a separate object, which causes errors when you use the `Set-Content` cmdlet to write
+the bytes to a file unless you use **AsByteStream** parameter.
+
+Beginning with PowerShell 6.2, the **Encoding** parameter also allows numeric IDs of registered code
+pages (like `-Encoding 1251`) or string names of registered code pages (like
+`-Encoding "windows-1251"`). For more information, see the .NET documentation for
+[Encoding.CodePage](/dotnet/api/system.text.encoding.codepage?view=netcore-2.2).
+
+> [!NOTE]
+> **UTF-7*** is no longer recommended to use. As of PowerShell 7.1, a warning is written if you
+> specify `utf7` for the **Encoding** parameter.
```yaml
-Type: System.String
+Type: System.Text.Encoding
Parameter Sets: (All) Aliases:
+Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, OEM, Unicode, UTF7, UTF8, UTF8BOM, UTF8NoBOM, UTF32
Required: False Position: Named
-Default value: None
+Default value: UTF8NoBOM
Accept pipeline input: False
-Accept wildcard characters: True
+Accept wildcard characters: False
```
-### -Include
+### -Exclude
-Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
-of this parameter qualifies the **Path** parameter. Enter a path element or pattern, such as
-`"*.txt"`. Wildcard characters are permitted. The **Include** parameter is effective only when the
-command includes the contents of an item, such as `C:\Windows\*`, where the wildcard character
-specifies the contents of the `C:\Windows` directory.
+Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
+The value of this parameter qualifies the **Path** parameter.
+
+Enter a path element or pattern, such as `*.txt`.
+Wildcard characters are permitted.
+
+The **Exclude** parameter is effective only when the command includes the contents of an item,
+such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
+directory.
```yaml Type: System.String[]
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Exclude
-
-Specifies, as a string array, an item or items that this cmdlet excludes in the operation.
-The value of this parameter qualifies the **Path** parameter.
-
-Enter a path element or pattern, such as `*.txt`.
-Wildcard characters are permitted.
+### -Filter
-The **Exclude** parameter is effective only when the command includes the contents of an item,
-such as `C:\Windows\*`, where the wildcard character specifies the contents of the `C:\Windows`
-directory.
+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).
+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.
```yaml
-Type: System.String[]
+Type: System.String
Parameter Sets: (All) Aliases:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Credential
+### -Include
-> [!NOTE]
-> This parameter is not supported by any providers installed with PowerShell.
-> To impersonate another user, or elevate your credentials when running this cmdlet,
-> use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
+Specifies, as a string array, an item or items that this cmdlet includes in the operation. The value
+of this parameter qualifies the **Path** parameter. Enter a path element or pattern, such as
+`"*.txt"`. Wildcard characters are permitted. The **Include** parameter is effective only when the
+command includes the contents of an item, such as `C:\Windows\*`, where the wildcard character
+specifies the contents of the `C:\Windows` directory.
```yaml
-Type: System.Management.Automation.PSCredential
+Type: System.String[]
Parameter Sets: (All) Aliases: Required: False Position: Named
-Default value: Current user
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
```
-### -Delimiter
-
-Specifies the delimiter that `Get-Content` uses to divide the file into objects while it reads. The
-default is `\n`, the end-of-line character. When reading a text file, `Get-Content` returns a
-collection of string objects, each of which ends with an end-of-line character. When you enter a
-delimiter that does not exist in the file, `Get-Content` returns the entire file as a single,
-undelimited object.
-
-You can use this parameter to split a large file into smaller files by specifying a file separator,
-as the delimiter. The delimiter is preserved (not discarded) and becomes the last item in each file
-section.
+### -LiteralPath
-**Delimiter** is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content`
-cmdlet. This parameter works only in file system drives.
+Specifies a path to one or more locations. The value of **LiteralPath** 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.
-> [!NOTE]
-> Currently, when the value of the **Delimiter** parameter is an empty string, `Get-Content` does
-> not return anything. This is a known issue. To force `Get-Content` to return the entire file as
-> a single, undelimited string. Enter a value that does not exist in the file.
+For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
+Type: System.String[]
+Parameter Sets: LiteralPath
+Aliases: PSPath, LP
-Required: False
+Required: True
Position: Named
-Default value: End-of-line character
-Accept pipeline input: False
+Default value: None
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Wait
-
-Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
-the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
-**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
-reported.
+### -Path
-**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
-parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
+Specifies the path to an item where `Get-Content` gets the content. Wildcard characters are
+permitted. The paths must be paths to items, not to containers. For example, you must specify a path
+to one or more files, not a path to a directory.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Type: System.String[]
+Parameter Sets: Path
Aliases:
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
+Required: True
+Position: 0
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: True
``` ### -Raw
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Encoding
-
-Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
-
-The acceptable values for this parameter are as follows:
--- `ascii`: Uses the encoding for the ASCII (7-bit) character set.-- `bigendianunicode`: Encodes in UTF-16 format using the big-endian byte order.-- `bigendianutf32`: Encodes in UTF-32 format using the big-endian byte order.-- `oem`: Uses the default encoding for MS-DOS and console programs.-- `unicode`: Encodes in UTF-16 format using the little-endian byte order.-- `utf7`: Encodes in UTF-7 format.-- `utf8`: Encodes in UTF-8 format.-- `utf8BOM`: Encodes in UTF-8 format with Byte Order Mark (BOM)-- `utf8NoBOM`: Encodes in UTF-8 format without Byte Order Mark (BOM)-- `utf32`: Encodes in UTF-32 format.-
-Encoding is a dynamic parameter that the **FileSystem** provider adds to the `Get-Content` cmdlet.
-This parameter is available only in file system drives.
-
-When reading from and writing to binary files, use the **AsByteStream** parameter and a value of 0
-for the **ReadCount** parameter. A **ReadCount** value of 0 reads the entire file in a single read
-operation. The default **ReadCount** value, 1, reads one byte in each read operation and converts
-each byte into a separate object, which causes errors when you use the `Set-Content` cmdlet to write
-the bytes to a file unless you use **AsByteStream** parameter.
+### -ReadCount
-Beginning with PowerShell 6.2, the **Encoding** parameter also allows numeric IDs of registered code
-pages (like `-Encoding 1251`) or string names of registered code pages (like
-`-Encoding "windows-1251"`). For more information, see the .NET documentation for
-[Encoding.CodePage](/dotnet/api/system.text.encoding.codepage?view=netcore-2.2).
+Specifies how many lines of content are sent through the pipeline at a time. The default value is 1.
+A value of 0 (zero) sends all of the content at one time.
-> [!NOTE]
-> **UTF-7*** is no longer recommended to use. As of PowerShell 7.1, a warning is written if you
-> specify `utf7` for the **Encoding** parameter.
+This parameter does not change the content displayed, but it does affect the time it takes to
+display the content. As the value of **ReadCount** increases, the time it takes to return the first
+line increases, but the total time for the operation decreases. This can make a perceptible
+difference in large items.
```yaml
-Type: System.Text.Encoding
+Type: System.Int64
Parameter Sets: (All) Aliases:
-Accepted values: ASCII, BigEndianUnicode, BigEndianUTF32, OEM, Unicode, UTF7, UTF8, UTF8BOM, UTF8NoBOM, UTF32
Required: False Position: Named
-Default value: UTF8NoBOM
-Accept pipeline input: False
+Default value: 1
+Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AsByteStream
+### -Tail
-Specifies that the content should be read as a stream of bytes. The **AsByteStream** parameter was
-introduced in Windows PowerShell 6.0.
+Specifies the number of lines from the end of a file or other item. You can use the **Tail**
+parameter name or its alias, **Last**. This parameter was introduced in PowerShell 3.0.
-A warning occurs when you use the **AsByteStream** parameter with the **Encoding** parameter. The
-**AsByteStream** parameter ignores any encoding and the output is returned as a stream of bytes.
+```yaml
+Type: System.Int32
+Parameter Sets: (All)
+Aliases: Last
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+
+### -TotalCount
+
+Specifies the number of lines from the beginning of a file or other item. The default is -1 (all
+lines).
+
+You can use the **TotalCount** parameter name or its aliases, **First** or **Head**.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases: First, Head
+
+Required: False
+Position: Named
+Default value: -1
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+
+### -Wait
+
+Keeps the file open after all existing lines have been output. While waiting, `Get-Content` checks
+the file once each second and outputs new lines if present. You can interrupt **Wait** by pressing
+**CTRL+C**. Waiting also ends if the file gets deleted, in which case a non-terminating error is
+reported.
+
+**Wait** is a dynamic parameter that the FileSystem provider adds to the `Get-Content` cmdlet. This
+parameter works only in file system drives. **Wait** cannot be combined with **Raw**.
```yaml Type: System.Management.Automation.SwitchParameter
Aliases:
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Management Get Item (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Get-Item.md
The new properties that are now part of the output are:
## PARAMETERS
-### -Stream
-
-> [!NOTE]
-> This Parameter is only available on Windows.
-
-Gets the specified alternative data stream from the file. Enter the stream name. Wildcards are
-supported. To get all streams, use an asterisk (`*`). This parameter is valid on directories, but
-note that directories do not have data streams by default.
-
-This parameter was introduced in PowerShell 3.0. As of PowerShell 7.2, `Get-Item` can get
-alternative data streams from directories as well as files.
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: No alternate file streams
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -Credential > [!NOTE]
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True ```
+### -Stream
+
+> [!NOTE]
+> This Parameter is only available on Windows.
+
+Gets the specified alternative data stream from the file. Enter the stream name. Wildcards are
+supported. To get all streams, use an asterisk (`*`). This parameter is valid on directories, but
+note that directories do not have data streams by default.
+
+This parameter was introduced in PowerShell 3.0. As of PowerShell 7.2, `Get-Item` can get
+alternative data streams from directories as well as files.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: No alternate file streams
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Management New Psdrive (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/New-PSDrive.md
X: \\products\public Disconnected Unavailable
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management New Service (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/New-Service.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SecurityDescriptorSddl
+
+Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: sd
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StartupType Sets the startup type of the service. The acceptable values for this parameter are:
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SecurityDescriptorSddl
-
-Specifies the **SecurityDescriptor** for the service in **Sddl** format.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases: sd
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Confirm Prompts you for confirmation before running the cmdlet.
Microsoft.PowerShell.Management Set Clipboard (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Set-Clipboard.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
+### -PassThru
-Prompts you for confirmation before running the cmdlet.
+Returns an object representing the item with which you're working. By default, this cmdlet does not
+generate any output.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: cf
+Aliases:
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -PassThru
+### -Value
-Returns an object representing the item with which you're working. By default, this cmdlet does not
-generate any output.
+The string values to be added to the clipboard.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: System.String[]
Parameter Sets: (All) Aliases:
-Required: False
+Required: True
Position: Named
-Default value: False
-Accept pipeline input: False
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -WhatIf
+### -Confirm
-Shows what would happen if the cmdlet runs. The cmdlet is not run.
+Prompts you for confirmation before running the cmdlet.
```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)
-Aliases: wi
+Aliases: cf
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
+### -WhatIf
-The string values to be added to the clipboard.
+Shows what would happen if the cmdlet runs. The cmdlet is not run.
```yaml
-Type: System.String[]
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases:
+Aliases: wi
-Required: True
+Required: False
Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
+Default value: False
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Management Set Service (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Set-Service.md
parameter to specify the **BITS** service. The **SecurityDescriptorSddl** parame
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running `Set-Service`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies the account used by the service as the [Service Logon Account](/windows/desktop/ad/about-service-logon-accounts).
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SecurityDescriptorSddl
+
+Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases: sd
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StartupType Specifies the start mode of the service.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SecurityDescriptorSddl
+### -Confirm
-Specifies the **SecurityDescriptor** for the service in **Sddl** format.
+Prompts you for confirmation before running `Set-Service`.
```yaml
-Type: System.String
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: sd
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Management Stop Computer (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Stop-Computer.md
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to do this action. The default is the current user.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Management Test Connection (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Management/Test-Connection.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Repeat
-
-Causes the cmdlet to send ping requests continuously. This parameter can't be used with the
-**Count** parameter.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: RepeatPing
-Aliases: Continuous
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Count Specifies the number of echo requests to send. The default value is 4.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -MtuSize
+
+This parameter is used to discover the Path MTU size. The cmdlet returns a **PingReply#MTUSize**
+object that contains the Path MTU size to the target. For more information about Path MTU, see the
+[Path MTU Discovery](https://wikipedia.org/wiki/Path_MTU_Discovery) article in wikipedia.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: MtuSizeDetect
+Aliases: MtuSizeDetect
+
+Required: True
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Ping Causes the cmdlet to do a ping test. This is the default mode for the `Test-Connection` cmdlet.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Repeat
+
+Causes the cmdlet to send ping requests continuously. This parameter can't be used with the
+**Count** parameter.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: RepeatPing
+Aliases: Continuous
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -ResolveDestination Causes the cmdlet to attempt to resolve the DNS name of the target. When used in conjunction
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -TcpPort
+
+Specifies the TCP port number on the target to be used in the TCP connection test. The cmdlet will
+attempt to make a TCP connection to the specified port on the target.
+
+If a connection can be made, `$True` will be returned.
+
+If a connection cannot be made, `$False` will be returned.
+
+```yaml
+Type: System.Int32
+Parameter Sets: TcpPort
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -TimeoutSeconds Sets the timeout value for the test. The test fails if a response isn't received before the timeout
Accept pipeline input: False
Accept wildcard characters: False ```
-### -MtuSize
-
-This parameter is used to discover the Path MTU size. The cmdlet returns a **PingReply#MTUSize**
-object that contains the Path MTU size to the target. For more information about Path MTU, see the
-[Path MTU Discovery](https://wikipedia.org/wiki/Path_MTU_Discovery) article in wikipedia.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: MtuSizeDetect
-Aliases: MtuSizeDetect
-
-Required: True
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -TcpPort
-
-Specifies the TCP port number on the target to be used in the TCP connection test. The cmdlet will
-attempt to make a TCP connection to the specified port on the target.
-
-If a connection can be made, `$True` will be returned.
-
-If a connection cannot be made, `$False` will be returned.
-
-```yaml
-Type: System.Int32
-Parameter Sets: TcpPort
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Security Get Acl (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Security/Get-Acl.md
Accept pipeline input: False
Accept wildcard characters: True ```
-### -Path
-
-Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
-by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
-security descriptor of the current directory.
-
-The parameter name ("Path") is optional.
-
-```yaml
-Type: System.String[]
-Parameter Sets: ByPath
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
-```
- ### -InputObject Gets the security descriptor for the specified object. Enter a variable that contains the object or
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Path
+
+Specifies the path to a resource. `Get-Acl` gets the security descriptor of the resource indicated
+by the path. Wildcards are permitted. If you omit the **Path** parameter, `Get-Acl` gets the
+security descriptor of the current directory.
+
+The parameter name ("Path") is optional.
+
+```yaml
+Type: System.String[]
+Parameter Sets: ByPath
+Aliases:
+
+Required: False
+Position: 1
+Default value: None
+Accept pipeline input: True (ByPropertyName, ByValue)
+Accept wildcard characters: True
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Security Set Authenticodesignature (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Security/Set-AuthenticodeSignature.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Content
+
+This parameter appears in the syntax listing because it is defined in the base class that
+`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
+in `Set-AuthenticodeSignature`.
+
+```yaml
+Type: System.Byte[]
+Parameter Sets: ByContent
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByPropertyName)
+Accept wildcard characters: False
+```
+ ### -FilePath Specifies the path to a file that is being signed.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -TimestampServer
-
-Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
-stamp server as a string.
-
-The time stamp represents the exact time that the certificate was added to the file. A time stamp
-prevents the script from failing if the certificate expires because users and programs can verify
-that the certificate was valid at the time of signing.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -LiteralPath Specifies the path to a file that is being signed. Unlike **FilePath**, the value of the
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Content
+### -TimestampServer
-This parameter appears in the syntax listing because it is defined in the base class that
-`Set-AuthenticodeSignature` is derived from. However, support for this parameter is not implemented
-in `Set-AuthenticodeSignature`.
+Uses the specified time stamp server to add a time stamp to the signature. Type the URL of the time
+stamp server as a string.
+
+The time stamp represents the exact time that the certificate was added to the file. A time stamp
+prevents the script from failing if the certificate expires because users and programs can verify
+that the certificate was valid at the time of signing.
```yaml
-Type: System.Byte[]
-Parameter Sets: ByContent
+Type: System.String
+Parameter Sets: (All)
Aliases:
-Required: True
+Required: False
Position: Named Default value: None
-Accept pipeline input: True (ByPropertyName)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Security Set Executionpolicy (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md
to run because it was unblocked by the `Unblock-File` cmdlet.
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -ExecutionPolicy Specifies the execution policy. If there are no Group Policies and each scope's execution policy is
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Security Test Filecatalog (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Security/Test-FileCatalog.md
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Detailed Returns more information a more detailed `CatalogInformation` object that contains the files tested,
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
Microsoft.PowerShell.Utility Add Member (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Add-Member.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Value
-
-Specifies the initial value of the added member.
-If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
-can supply optional, additional information by using the **SecondValue** parameter.
-
-```yaml
-Type: System.Object
-Parameter Sets: MemberSet
-Aliases:
-
-Required: False
-Position: 2
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -TypeName Specifies a name for the type.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Value
+
+Specifies the initial value of the added member.
+If you add an **AliasProperty**, **CodeProperty**, **ScriptProperty** or **CodeMethod** member, you
+can supply optional, additional information by using the **SecondValue** parameter.
+
+```yaml
+Type: System.Object
+Parameter Sets: MemberSet
+Aliases:
+
+Required: False
+Position: 2
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Convertfrom Stringdata (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/ConvertFrom-StringData.md
Message Look in c:\Windows\System32
## PARAMETERS
+### -Delimiter
+
+The character used to separate the **key** from the **value** data in the string being converted.
+The default delimiter is the equals sign (`=`) character. This parameter was added in PowerShell 7.
+
+```yaml
+Type: System.Char
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: 0
+Default value: '='
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -StringData Specifies the string to be converted. You can use this parameter or pipe a string to
Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -Delimiter
-
-The character used to separate the **key** from the **value** data in the string being converted.
-The default delimiter is the equals sign (`=`) character. This parameter was added in PowerShell 7.
-
-```yaml
-Type: System.Char
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 0
-Default value: '='
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Convertto Csv (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/ConvertTo-Csv.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseCulture
+### -QuoteFields
-Uses the list separator for the current culture as the item delimiter. To find the list separator
-for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
+Specifies the names of the columns that should be quoted. When this parameter is used only the
+specified columns are quoted. This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseCulture
-Aliases:
+Type: System.String[]
+Parameter Sets: (All)
+Aliases: QF
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -QuoteFields
+### -UseCulture
-Specifies the names of the columns that should be quoted. When this parameter is used only the
-specified columns are quoted. This parameter was added in PowerShell 7.0.
+Uses the list separator for the current culture as the item delimiter. To find the list separator
+for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases: QF
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: UseCulture
+Aliases:
Required: False Position: Named
Microsoft.PowerShell.Utility Export Clixml (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Export-Clixml.md
Unicode character array as proven by `Format-Hex`. So the value is encoded but n
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Depth Specifies how many levels of contained objects are included in the XML representation. The default
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Microsoft.PowerShell.Utility Export Csv (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Export-Csv.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -UseCulture
+### -QuoteFields
-Uses the list separator for the current culture as the item delimiter. To find the list separator
-for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
+Specifies the names of the columns that should be quoted. When this parameter is used, only the
+specified columns are quoted. This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: UseCulture
-Aliases:
+Type: System.String[]
+Parameter Sets: (All)
+Aliases: QF
Required: False Position: Named
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
+### -UseCulture
-Prompts you for confirmation before running the cmdlet.
+Uses the list separator for the current culture as the item delimiter. To find the list separator
+for a culture, use the following command: `(Get-Culture).TextInfo.ListSeparator`.
```yaml Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
+Parameter Sets: UseCulture
+Aliases:
Required: False Position: Named
-Default value: False
+Default value: None
Accept pipeline input: False Accept wildcard characters: False ```
-### -WhatIf
+### -UseQuotes
-Prevents the cmdlet from being processed or making changes. The output shows what would happen if
-the cmdlet were run.
+Specifies when quotes are used in the CSV files. Possible values are:
+
+- Never - don't quote anything
+- Always - quote everything (default behavior)
+- AsNeeded - only quote fields that contain a delimiter character, double-quote, or newline
+ character
+
+This parameter was added in PowerShell 7.0.
```yaml
-Type: System.Management.Automation.SwitchParameter
+Type: Microsoft.PowerShell.Commands.BaseCsvWritingCommand+QuoteKind
Parameter Sets: (All)
-Aliases: wi
+Aliases: UQ
Required: False Position: Named
-Default value: False
+Default value: Always
Accept pipeline input: False Accept wildcard characters: False ```
-### -QuoteFields
+### -Confirm
-Specifies the names of the columns that should be quoted. When this parameter is used, only the
-specified columns are quoted. This parameter was added in PowerShell 7.0.
+Prompts you for confirmation before running the cmdlet.
```yaml
-Type: System.String[]
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: QF
+Aliases: cf
Required: False Position: Named
-Default value: None
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
-### -UseQuotes
-
-Specifies when quotes are used in the CSV files. Possible values are:
--- Never - don't quote anything-- Always - quote everything (default behavior)-- AsNeeded - only quote fields that contain a delimiter character, double-quote, or newline
- character
+### -WhatIf
-This parameter was added in PowerShell 7.0.
+Prevents the cmdlet from being processed or making changes. The output shows what would happen if
+the cmdlet were run.
```yaml
-Type: Microsoft.PowerShell.Commands.BaseCsvWritingCommand+QuoteKind
+Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
-Aliases: UQ
+Aliases: wi
Required: False Position: Named
-Default value: Always
+Default value: False
Accept pipeline input: False Accept wildcard characters: False ```
Microsoft.PowerShell.Utility Format Hex (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Format-Hex.md
data, and the adjacent object is also numeric, it will group them into a single
## PARAMETERS
+### -Count
+
+This represents the number of bytes to include in the hex output.
+
+This parameter was introduced in PowerShell 6.2.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: Int64.MaxValue
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Encoding Specifies the encoding of the input strings. This only applies to `[string]` input. The parameter
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Offset
+
+This represents the number of bytes to skip from being part of the hex output.
+
+This parameter was introduced in PowerShell 6.2.
+
+```yaml
+Type: System.Int64
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: 0
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Path Specifies the path to files. Use a dot (`.`) to specify the current location. The wildcard character
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Offset
-
-This represents the number of bytes to skip from being part of the hex output.
-
-This parameter was introduced in PowerShell 6.2.
-
-```yaml
-Type: System.Int64
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: 0
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Count
-
-This represents the number of bytes to include in the hex output.
-
-This parameter was introduced in PowerShell 6.2.
-
-```yaml
-Type: System.Int64
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: Int64.MaxValue
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Get Error (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Get-Error.md
$Error | Get-Error
## PARAMETERS
-### -Newest
+### -InputObject
-Specifies the number of errors to display that have occurred in the current session.
+This parameter is used for pipeline input.
```yaml
-Type: System.Int32
-Parameter Sets: Newest
-Aliases: Last
+Type: System.Management.Automation.PSObject
+Parameter Sets: Error
+Aliases:
Required: False
-Position: 0
+Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False ```
-### -InputObject
+### -Newest
-This parameter is used for pipeline input.
+Specifies the number of errors to display that have occurred in the current session.
```yaml
-Type: System.Management.Automation.PSObject
-Parameter Sets: Error
-Aliases:
+Type: System.Int32
+Parameter Sets: Newest
+Aliases: Last
Required: False
-Position: Named
+Position: 0
Default value: None
-Accept pipeline input: True (ByValue)
+Accept pipeline input: False
Accept wildcard characters: False ```
Microsoft.PowerShell.Utility Get Verb (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Get-Verb.md
Cmdlet Tee-Object 3.1.0.0 Microsoft.PowerShell.Utility
## PARAMETERS
-### -Verb
+### -Group
-Gets only the specified verbs. Enter the name of a verb or a name pattern. Wildcards are allowed.
+Gets only the specified groups. Enter the name of a group. Wildcards are not allowed.
+
+This parameter was introduced in PowerShell 6.0.
```yaml Type: System.String[] Parameter Sets: (All) Aliases:
-Accepted values: Common, Communications, Data, Diagnostic, Lifecycle, Other, Security
Required: False
-Position: 1
-Default value: All groups
+Position: 0
+Default value: All verbs
Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: True
+Accept wildcard characters: False
```
-### -Group
-
-Gets only the specified groups. Enter the name of a group. Wildcards are not allowed.
+### -Verb
-This parameter was introduced in PowerShell 6.0.
+Gets only the specified verbs. Enter the name of a verb or a name pattern. Wildcards are allowed.
```yaml Type: System.String[] Parameter Sets: (All) Aliases:
+Accepted values: Common, Communications, Data, Diagnostic, Lifecycle, Other, Security
Required: False
-Position: 0
-Default value: All verbs
+Position: 1
+Default value: All groups
Accept pipeline input: True (ByPropertyName, ByValue)
-Accept wildcard characters: False
+Accept wildcard characters: True
``` ### CommonParameters
Microsoft.PowerShell.Utility Measure Object (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Measure-Object.md
Property : PeakPagedMemorySize
## PARAMETERS
+### -AllStats
+
+Indicates that the cmdlet displays all the statistics of the specified properties.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: GenericMeasure
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Average Indicates that the cmdlet displays the average value of the specified properties.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -AllStats
-
-Indicates that the cmdlet displays all the statistics of the specified properties.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: GenericMeasure
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Word Indicates that the cmdlet counts the number of words in the input objects.
Microsoft.PowerShell.Utility Select Object (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Select-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -SkipIndex
+
+```yaml
+Type: System.Int32[]
+Parameter Sets: SkipIndexParameter
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -SkipLast Skips (does not select) the specified number of items from the end of the list or array. Works in
Accept pipeline input: False
Accept wildcard characters: False ```
-### -SkipIndex
-
-```yaml
-Type: System.Int32[]
-Parameter Sets: SkipIndexParameter
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Sort Object (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Sort-Object.md
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Stable
+
+The sorted objects are delivered in the order they were received when the sort criteria are equal.
+
+This parameter was added in PowerShell v6.2.0.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: Default
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -Top Specifies the number of objects to get from the start of a sorted object array. This results in a
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Stable
-
-The sorted objects are delivered in the order they were received when the sort criteria are equal.
-
-This parameter was added in PowerShell v6.2.0.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Default
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
Microsoft.PowerShell.Utility Tee Object (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Tee-Object.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -FilePath
-
-Specifies a file that this cmdlet saves the object to Wildcard characters are permitted, but must
-resolve to a single file.
-
-```yaml
-Type: System.String
-Parameter Sets: File
-Aliases: Path
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: True
-```
- ### -Encoding Specifies the type of encoding for the target file. The default value is `utf8NoBOM`.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -FilePath
+
+Specifies a file that this cmdlet saves the object to Wildcard characters are permitted, but must
+resolve to a single file.
+
+```yaml
+Type: System.String
+Parameter Sets: File
+Aliases: Path
+
+Required: True
+Position: 0
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: True
+```
+ ### -InputObject Specifies the object to be saved and displayed. Enter a variable that contains the objects or type a
Microsoft.PowerShell.Utility Write Progress (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 08/23/2021 Last updated : 09/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress
Accept wildcard characters: False
Specifies an ID that distinguishes each progress bar from the others. Use this parameter when you are creating more than one progress bar in a single command. If the progress bars do not have
-different IDs, they are superimposed instead of being displayed in a series.
+different IDs, they are superimposed instead of being displayed in a series. Negative values are
+not allowed.
```yaml Type: System.Int32
PSReadLine Get Psreadlinekeyhandler (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PSReadLine/Get-PSReadLineKeyHandler.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Unbound
-
-Indicates that this cmdlet returns functions that are unbound.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: FullListing
-Aliases:
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Chord Return only functions bound to specific keys or sequences.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Unbound
+
+Indicates that this cmdlet returns functions that are unbound.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: FullListing
+Aliases:
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
PSReadLine Set Psreadlineoption (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PSReadLine/Set-PSReadLineOption.md
Accept pipeline input: False
Accept wildcard characters: False ```
+### -PredictionSource
+
+Specifies the source for PSReadLine to get predictive suggestions.
+
+Valid values are:
+
+- **None** - disable the predictive IntelliSense feature (default).
+-`**History** - enable the predictive IntelliSense feature and use the PSReadLine history as the
+ only source.
+- **Plugin** - enable the predictive IntelliSense feature and use the plugins (`CommandPrediction`)
+ as the only source. This value was added in PSReadLine 2.2.0
+- **HistoryAndPlugin** - enable the predictive IntelliSense feature and use both history and plugin
+ as the sources. This value was added in PSReadLine 2.2.0
+
+```yaml
+Type: Microsoft.PowerShell.PredictionSource
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PredictionViewStyle
+
+Sets the style for the display of the predictive text. The default is **InlineView**.
+
+- **InlineView** - the style as existing today, similar as in fish shell and zsh. (default)
+- **ListView** - suggestions are rendered in a drop down list, and users can select using
+ <kbd>UpArrow</kbd> and <kbd>DownArrow</kbd>.
+
+This parameter was added in PSReadLine 2.2.0
+
+```yaml
+Type: Microsoft.PowerShell.PredictionViewStyle
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: InlineView
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -PromptText When there's a parse error, **PSReadLine** changes a part of the prompt red. **PSReadLine** analyzes
Accept pipeline input: False
Accept wildcard characters: False ```
-### -PredictionSource
-
-Specifies the source for PSReadLine to get predictive suggestions.
-
-Valid values are:
--- **None** - disable the predictive IntelliSense feature (default).--`**History** - enable the predictive IntelliSense feature and use the PSReadLine history as the
- only source.
-- **Plugin** - enable the predictive IntelliSense feature and use the plugins (`CommandPrediction`)
- as the only source. This value was added in PSReadLine 2.2.0
-- **HistoryAndPlugin** - enable the predictive IntelliSense feature and use both history and plugin
- as the sources. This value was added in PSReadLine 2.2.0
-
-```yaml
-Type: Microsoft.PowerShell.PredictionSource
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -PredictionViewStyle
-
-Sets the style for the display of the predictive text. The default is **InlineView**.
--- **InlineView** - the style as existing today, similar as in fish shell and zsh. (default)-- **ListView** - suggestions are rendered in a drop down list, and users can select using
- <kbd>UpArrow</kbd> and <kbd>DownArrow</kbd>.
-
-This parameter was added in PSReadLine 2.2.0
-
-```yaml
-Type: Microsoft.PowerShell.PredictionViewStyle
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: InlineView
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
PowerShellGet Install Module (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Install-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Install-Module` cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Install-Module` cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if an `Install-Module` command was run. The cmdlet is not run.
PowerShellGet Install Script (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Install-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to install a script for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowerShellGet New Scriptfileinfo (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/New-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `New-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `New-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `New-ScriptFileInfo` runs. The cmdlet isn't run.
PowerShellGet Publish Module (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Publish-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Publish-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to publish a module for a specified package provider or
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Publish-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Publish-Module` runs. The cmdlet is not run.
PowerShellGet Publish Script (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Publish-Script.md
the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s
## PARAMETERS
-### -Confirm
-
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential ```yaml
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run.
PowerShellGet Save Module (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Save-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Save-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has rights to save a module.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Save-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if the `Save-Module` runs. The cmdlet isn't run.
PowerShellGet Save Script (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Save-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Save-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to save a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Save-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Save-Script` runs. The cmdlet isn't run.
PowerShellGet Uninstall Module (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Uninstall-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running the `Uninstall-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Module` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running the `Uninstall-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Module` runs. The cmdlet isn't run.
PowerShellGet Uninstall Script (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Uninstall-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Uninstall-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Force Forces `Uninstall-Script` to run without asking for user confirmation.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Uninstall-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Uninstall-Script` runs. The cmdlet isn't run.
PowerShellGet Update Module (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Update-Module.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Module`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a module.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Module`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Module` runs. The cmdlet isn't run.
PowerShellGet Update Modulemanifest (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Update-ModuleManifest.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ModuleManifest`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the module.
Accept pipeline input: False
Accept wildcard characters: False ```
-### -RequireLicenseAcceptance
-
-Specifies that a license acceptance is required for the module.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -RequiredAssemblies Specifies the assembly (`.dll`) files that the module requires. Enter the assembly file names.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -RequireLicenseAcceptance
+
+Specifies that a license acceptance is required for the module.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -RootModule Specifies the primary or root file of the module. Enter the file name of a script (`.ps1`), a script
Accept pipeline input: False
Accept wildcard characters: True ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ModuleManifest`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ModuleManifest` runs. The cmdlet isn't run.
PowerShellGet Update Script (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Update-Script.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-Script`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Credential Specifies a user account that has permission to update a script.
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-Script`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-Script` runs. The cmdlet isn't run.
PowerShellGet Update Scriptfileinfo (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/PowerShellGet/Update-ScriptFileInfo.md
Accept pipeline input: False
Accept wildcard characters: False ```
-### -Confirm
-
-Prompts you for confirmation before running `Update-ScriptFileInfo`.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: False
-Accept pipeline input: False
-Accept wildcard characters: False
-```
- ### -Copyright Specifies a copyright statement for the script.
Accept pipeline input: False
Accept wildcard characters: False ```
+### -Confirm
+
+Prompts you for confirmation before running `Update-ScriptFileInfo`.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: False
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+ ### -WhatIf Shows what would happen if `Update-ScriptFileInfo` runs. The cmdlet isn't run.
ThreadJob Start Threadjob (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/ThreadJob/Start-ThreadJob.md
PS> Start-ThreadJob -ScriptBlock { Read-Host 'Say hello'; Write-Warning 'Warning
Id Name PSJobTypeName State HasMoreData Location Command -- ---- ------------- ----- ----------- -------- -------
-7 Job7 ThreadJob NotStarted False PowerShell Read-Host 'Say hello'; à
+7 Job7 ThreadJob NotStarted False PowerShell Read-Host 'Say hello'; ...
PS> Say hello: Hello WARNING: Warning output