CmdID

CmdID / PowerShell / Cmdlets / Resolve

Resolve-Path

Resolves the wildcard characters in a path, and displays the path contents. PowerShell reference

From the PowerShell reference 5 parameters Alias rvpa

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Resolves the wildcard characters in a path, and displays the path contents. The Resolve-Path cmdlet displays the items and containers that match the wildcard pattern at the location specified. The match can include files, folders, registry keys, or any other object accessible from a PSDrive provider.

Resolve-Path [-Path] <String[]> [-Relative] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]
Resolve-Path -LiteralPath <String[]> [-Relative] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]

Resolve the home folder path

Resolve-Path ~Identify

Resolve the path of the Windows folder

Resolve-Path -Path "windows"Identify

Get all paths in the Windows folder

"C:\windows\*" | Resolve-PathIdentify

Resolve a UNC path

Resolve-Path -Path "\\Server01\public"Identify

Get relative paths

Resolve-Path -Path "C:\prog*" -RelativeIdentify

Resolve a path containing brackets

Resolve-Path -LiteralPath 'test[xml]'Identify

Its page in the reference: Resolve-Path.

Parameters

5 in the PowerShell reference
-CredentialSpecifies a user account that has permission to perform this action. The default is the current user. This parameter is not supported by any providers installed with PowerShell.
-LiteralPathSpecifies the path to be resolved. The value of the LiteralPath parameter is used exactly as typed. No characters are interpreted as wildcard characters. 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.
-PathSpecifies the PowerShell path to resolve. This parameter is required. You can also pipe a path string to Resolve-Path. Wildcard characters are permitted.
-RelativeIndicates that this cmdlet returns a relative path.
-UseTransactionIncludes the command in the active transaction. This parameter is valid only when a transaction is in progress. For more information, see about_Transactions.