Retrieving Variable-Groups

Retrieves objects of type "Variable-Group".


Examples:


Hint: The execution of these examples requires a connected PowerShell drive.


You can retrieve all existing Variable-Groups by just calling the cmdlet Get-EmdbVariableGroup without specifying further parameters.


Get-EmdbVariableGroup


In order to limit the objects returned, you can supply the name of the Variable-Group in question. The use of wildcards is allowed. The following example retrieves all Variable-Groups, that have a name starting with "System":


Get-EmdbVariablleGroup "System*"


If you want to retrieve all user-defined Variable-Groups, filter the objects returned by the cmdlet to just those objects, that have the property IsSystem set to false.


Get-EmdbVariableGroup | Where-Object {$_.IsSystem -eq $false}


Note: Note that Variable-Groups are not part of the context rootDSE and therefore they can be referenced without a full qualified path resp. an absolute path.