PowerShell Logo Small

Convert-Path



This is the built-in help made by Microsoft for the command 'Convert-Path', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Converts a path from a Windows PowerShell path to a Windows PowerShell provider path.

SYNTAX


Convert-Path [-LiteralPath] <string[]> [-UseTransaction] [<CommonParameters>]
Convert-Path [-Path] <string[]> [-UseTransaction] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Convert-Path cmdlet converts a path from a Windows PowerShell path to a Windows PowerShell provider path.



<

RELATED LINKS

Online version: http://go.microsoft.com/fwlink/?LinkID=113289
about_Providers
Test-Path
Split-Path
Resolve-Path
Join-Path

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>convert-path ~



Description
-----------
This command expands the current working directory.








-------------------------- EXAMPLE 2 --------------------------

C:\PS>convert-path HKLM:\software\microsoft



Description
-----------
This command converts the Windows PowerShell provider path to a standard registry path.