• Narrow screen resolution
  • Wide screen resolution
  • Increase font size
  • Decrease font size
  • Default font size
  • default color
  • red color
© Diana Scherff, Amas-Veritas.com

Welcome to Amas Veritas [dot] com

Updates: Media (lyrics) has a new layout. I could never figure out how to lay it out, but it's easier to navigate now. I'm still working on a better duplicate Mamblog mod. I'm trying to make submittions easier but the poetry form died for some reason. Quizzes are also on their way from the old site. Joomla content isn't very code friendly so I'm having to rewrite old code. You can still click on News > AH v21 > Screen if you wish to use the quizzes.
 
Home arrow Tools arrow Windows PowerShell arrow Convert-Path [cvpa]
Convert-Path [cvpa] Print E-mail
Written by Diana, on 03-09-2007 23:44
Views 124    
Favoured None

PS C:\Users\Admin> help cvpa -full

NAME
    Convert-Path

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

SYNTAX
    Convert-Path [-path] <string[]> [<CommonParameters>]

    Convert-Path [-literalPath] <string[]> [<CommonParameters>]


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


PARAMETERS
    -path <string[]>
        Specifies the Windows PowerShell path to be converted.

        Required?                    true
        Position?                    1
        Default value                N/A - The path must be specified
        Accept pipeline input?       true (ByValue, ByPropertyName)
        Accept wildcard characters?  true

    -literalPath <string[]>
        Specifies the path to be converted. 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 Windows PowerShell not to interpret any characters as escape sequences.

        Required?                    true
        Position?                    1
        Default value
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  false

    <CommonParameters>
        This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, type, "get-help about_commonparameters".


INPUT TYPE
    String


RETURN TYPE
    String


NOTES


        For more information, type "Get-Help Convert-Path -detailed". For technical information, type "Get-Help Convert-Path -full".

        The path cmdlets (*-path) manipulate path names and return the names in a concise format that all Windows PowerShell providers can interpret. They are designed for use in programs and scripts where you want to display all or part of a path name in a particular format. Use them like you would use Dirname, Normpath, Realpath, Join, or other path manipulators.

        You can use the path cmdlets with several providers, including the FileSystem, Registry, and Certificate providers.

        When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".


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

    C:\PS>convert-path ~


    This command expands the current working directory.





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

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


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






RELATED LINKS
    Test-Path
    Split-Path
    Resolve-Path
    Join-Path
    about_namespace


Last update: 03-09-2007 23:44

Published in : Tools, Windows PowerShell

Users' Comments (0) RSS feed comment

No comment posted

Add your comment



mXcomment 1.0.4 © 2007-2009 - visualclinic.fr
License Creative Commons - Some rights reserved
 
< Prev   Next >




Double click any word on this page for a definition.
Using Firefox? Enable definitions by downloading the extension.
Sorry, this feature does not currently work in Opera or Safari.

No Users Online

Statistics

OS: FreeBSD
PHP: 5.2.1
MySQL: 4.1.21-log
Time: 22:37
Caching: Disabled
GZIP: Disabled
Members: 36
News: 2448
Web Links: 39
Visitors: 1443668

Syndicate

Login

Particls