SecurityDescriptorCommandsBase.GetPath(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 Path of the provided PSObject.
public:
static System::String ^ GetPath(System::Management::Automation::PSObject ^ instance);
public static string GetPath (System.Management.Automation.PSObject instance);
static member GetPath : System.Management.Automation.PSObject -> string
Public Shared Function GetPath (instance As PSObject) As String
Parameters
- instance
- PSObject
The PSObject for which to obtain the path.
Returns
The path of the provided PSObject.