共用方式為


InternalSymbolicLinkLinkCodeMethods.ResolvedTarget(PSObject) Method

Definition

Gets the target for a given file or directory, resolving symbolic links.

public static string ResolvedTarget (System.Management.Automation.PSObject instance);
static member ResolvedTarget : System.Management.Automation.PSObject -> string
Public Shared Function ResolvedTarget (instance As PSObject) As String

Parameters

instance
PSObject

The FileInfo or DirectoryInfo type.

Returns

The file path the instance points to.

Applies to