Split-Path


Given an Ps path(s) it streams a string with the qualifier, parent path or leaf item.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Split-Path

 [-Path] <String[]> [-Parent] [-Resolve] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Split-Path

 [-Path] <String[]> [-Qualifier] [-Resolve] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Split-Path

 [-Path] <String[]> [-NoQualifier] [-Resolve] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Split-Path

 [-Path] <String[]> [-Leaf] [-Resolve] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Split-Path

 [-Path] <String[]> [-Resolve] [-IsAbsolute] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

The parse-path Cmdlet takes a Ps path and returns the result of the parse as an object. The object can be sent to the pipeline. Which node of the path is sent depends upon the parameters that are set in the cmdlet statement.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net