InternalSymbolicLinkLinkCodeMethods.ResolvedTarget(PSObject) Method
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.
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.