PathIntrinsics Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exposes the path manipulation and ___location APIs to the Cmdlet base class.
public ref class PathIntrinsics sealed
public sealed class PathIntrinsics
type PathIntrinsics = class
Public NotInheritable Class PathIntrinsics
- Inheritance
-
PathIntrinsics
Properties
CurrentFileSystemLocation |
Gets the current ___location for the file system provider. |
CurrentLocation |
Gets the current ___location. |
Methods
Combine(String, String) |
Combines two strings with a provider specific path separator. |
CurrentProviderLocation(String) |
Gets the current ___location for a specific provider. |
GetResolvedProviderPathFromProviderPath(String, String) |
Resolves a drive or provider qualified absolute or relative path that may contain wildcard characters into one or more provider-internal paths. |
GetResolvedProviderPathFromPSPath(String, ProviderInfo) |
Resolves a drive or provider qualified absolute or relative path that may contain wildcard characters into one or more provider-internal paths. |
GetResolvedPSPathFromPSPath(String) |
Resolves a drive or provider qualified absolute or relative path that may contain wildcard characters into one or more absolute drive or provider qualified paths. |
GetUnresolvedProviderPathFromPSPath(String, ProviderInfo, PSDriveInfo) |
Converts a drive or provider qualified absolute or relative path that may contain wildcard characters into one a provider-internal path still containing the wildcard characters. |
GetUnresolvedProviderPathFromPSPath(String) |
Converts a drive or provider qualified absolute or relative path that may contain wildcard characters into one a provider-internal path still containing the wildcard characters. |
IsProviderQualified(String) |
Determines if the give path is a PowerShell provider-qualified path. |
IsPSAbsolute(String, String) |
Determines if the given path is a drive-qualified absolute path. |
IsValid(String) |
Determines if the path is a syntactically and semantically valid path for the provider. |
LocationStack(String) |
Gets the ___location stack and all the locations on it. |
NormalizeRelativePath(String, String) |
Normalizes the path that was passed in and returns the normalized path as a relative path to the basePath that was passed. |
ParseChildName(String) |
Gets the child name of the specified path. |
ParseParent(String, String) |
Gets the parent path of the specified path. |
PopLocation(String) |
Gets the ___location off the top of the ___location stack. |
PushCurrentLocation(String) |
Pushes the current ___location onto the ___location stack so that it can be retrieved later. |
SetDefaultLocationStack(String) |
Sets the default ___location stack to that specified by the stack ID. |
SetLocation(String) |
Changes the current ___location to the specified path. |