Dela via


PSObjectExtensions Class

Definition

public static class PSObjectExtensions
type PSObjectExtensions = class
Public Module PSObjectExtensions
Inheritance
PSObjectExtensions

Methods

GetProperty(PSObject, String)

Return the value of the given property from the given PSObject

GetProperty<T>(PSObject, String)

Return the value of the given property from the given PSObject

HasProperty(PSObject, String)

Determine if a given PSObject has a property with the given name

HasProperty<T>(PSObject, String)

Determine if a given PSObject has a property with the given name and type

Populate(IAzureTokenCache, PSObject)

Populate a token cache from a PSObject

Populate(IDictionary<String,String>, String, PSObject)

Populate a generic string dictionary from a PSObject

Populate(IList<String>, String, PSObject)

Populate a list from a proprty of the given PSObject

PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

TryGetProperty(PSObject, String, Object)

Try to return the value of the given property from the given PSObject

TryGetProperty<T>(PSObject, String, T)

Try to return the value of the given property from the given PSObject

Applies to