Property | Type | Description |
---|
Method | Description | |
---|---|---|
GetDynamicParameters ( ) : object |
This function is part of the IDynamicParameters interface. PowerShell uses it to generate parameters dynamically. We have to generate -ResourceType parameter dynamically because the array of resources that we used to validate against are not generated before compile time, i.e. [ValidateSet(ArrayGeneratedAtRunTime)] will throw an error for parameters that are not generated dynamically.
|
Method | Description | |
---|---|---|
ProcessRecord ( ) : void |