Available Cmdlets
Available Cmdlets
The PowerShell Extensions for Ivanti DSM deliver a total of 146 cmdlets for managing your DSM 2022.2 environment. This section gives an overview of the available cmdlets and categorizes them:
Managing DSM PowerShell-Drives:
- Get-EmdbDrive
Retrieves PowerShell drives with a connection to a DSM environment - New-EmdbDrive
Creates a new PowerShell drive with a connection to a DSM environment - Remove-EmdbDrive
Removes PowerShell drives with connections to a DSM environment
Managing objects of the Organisation Directory:
- Test-EmdbDomain
Test the existence of Domain objects
- Get-EmdbDomain
Retrieves objects of type "Domain" - New-EmdbDomain
Creates objects of type "Domain" - Remove-EmdbDomain
Deletes objects of type "Domain" - Test-EmdbOrganizationalUnit
Tests the existence of objects of type Organizational Unit
- Get-EmdbOrganizationalUnit
Retrieves objects of type "Organizational Unit" - New-EmdbOrganizationalUnit
Creates objects of type "Organizational Unit" - Remove-EmdbOrganizationalUnit
Deletes objects of type "Organizational Unit" - Test-EmdbComputer
Tests the existence of Computer objects - Get-EmdbComputer
Retrieves objects of type "Computer" - New-EmdbComputer
Creates objects of type "Computer" - Remove-EmdbComputer
Deletes objects of type "Computer" - Reinstall-EmdbComputer
Performs the task "Reinstallation" on Computer objects - Wakeup-EmdbComputer
Creates a WakeUp job for Computer objects - Test-EmdbUser
Tests the existence of User objects - Get-EmdbUser
Retrieves objects of type "User" - New-EmdbUser
Creates objects of type "User" - Remove-EmdbUser
Deletes objects of type "User"
Managing AutoInsert-Rules:
- Test-EmdbAutoInsertRule
Tests the existence of AutoInsert-Rules
- New-EmdbAutoInsertRule
Creates new "AutoInsert-Rule" objects. - Get-EmdbAutoInsertRule
Retrieves objects of type "AutoInsert-Rule". - Remove-EmdbAutoInsertRule
Removes objects of type "AutoInsert-Rule". - Set-EmdbRuleEvaluationOrder
Specifies the evaluation order of Rule objects
Managing Groups (static, dynamic, external):
- Test-EmdbGroup
Tests the existence of Group objects - Get-EmdbGroup
Retrieves objects of type "Group" - New-EmdbGroup
Creates objects of type "Group" - Remove-EmdbGroup
Deletes objects of type "Group" - New-EmdbExternalGroup
Imports an external group into DSM 2022.2 - Test-EmdbGroupMember
Tests if an object is member of the specified Group object(s) - Get-EmdbGroupMember
Retrieves members of group objects - Add-EmdbGroupMember
Adds new members to groups of the approbate type
- Remove-EmdbGroupMember
Discards the membership of objects in groups
Managing Citrix-objects:
- Test-EmdbCitrixFarm
Test the existence of Citrix Farm objects
- New-EmdbCitrixFarm
Creates new "Citrix-Farm" objects. - Get-EmdbCitrixFarm
Retrieves objects of type "Citrix-Farm". - Remove-EmdbCitrixFarm
Removes objects of type "Citrix-Farm". - Test-EmdbCitrixZone
Test the existence of Citrix Zone objects - New-EmdbCitrixZone
Creates new "Citrix-Zone" objects. - Get-EmdbCitrixZone
Retrieves objects of type "Citrix-Zone". - Remove-EmdbCitrixZone
Removes objects of type "Citrix-Zone"
Managing the Global Software Library:
- Test-EmdbSoftwareFolder
Tests the existence of Folder objects in the Global Software Library - Get-EmdbSoftwareFolder
Retrieves objects of type "Software Folder" - New-EmdbSoftwareFolder
Creates objects of type "Software Folder" - Remove-EmdbSoftwareFolder
Deletes objects of type "Software-Folder" - Test-EmdbSoftwareCategory
Tests the existence of Software Categories - Get-EmdbSoftwareCategory
Retrieves objects of type "Software Category" - New-EmdbSoftwareCategory
Creates objects of type "Software Category" - Remove-EmdbSoftwareCategory
Deletes objects of type "Software-Category" - Test-EmdbSoftwarePackage
Tests the existence of Software Packages - Get-EmdbSoftwarePackage
Retrieves objects of type "Software Package" - New-EmdbSoftwarePackage
Creates objects of type "Software Package" - Remove-EmdbSoftwarePackage
Deletes objects of type "Software-Package" - Test-EmdbInstallationParameter
Tests the existence of an Variable or if a Variable has a given value - Get-EmdbInstallationParameter
Retrieves installation parameters of objects of type 'Software Package" - Add-EmdbInstallationParameter
Adds installation parameters to objects of type "Software Package"
- Set-EmdbInstallationParameter
Sets the values of installation parameters - Remove-EmdbInstallationParameter
Removes installation parameters from objects of type "Software Package"
Managing Policies:
- Test-EmdbPolicy
Tests the existence of Policy objects - Get-EmdbPolicy
Retrieves objects of type "Policy" - New-EmdbPolicy
Creates objects of type "Policy" - Remove-EmdbPolicy
Deletes objects of type "Policy". - Test-EmdbPolicyInstance
Tests the existence or the status of Policy-Instances - Get-EmdbPolicyInstance
Retrieves objects of type "Policy-Instance" - Remove-EmdbPolicyInstance
Deletes objects of type "Policy-Instance" - Test-EmdbComplianceState
Tests the status of Policy-Instances - Get-EmdbComplianceState
Retrieves the Compliance-State of Policy-Instances
Managing Permissions:
- Test-EmdbRole
Tests the existence of Role objects or if a user is Role owner in a given context
- Get-EmdbRole
Retrieves objects of type "Role"
- New-EmdbRole
Creates objects of type "Role" - Remove-EmdbRole
Deletes objects of type "Role"
- Get-EmdbTask
Retrieves objects of type "Task" - New-EmdbTask
Creates new user-defined privileges - Remove-EmdbTask
Deletes objects of type "Task" - Grant-EmdbPermission
Grants permissions
- Revoke-EmdbPermission
Revokes permissions - Test-EmdbPermission
Tests the existence of Permissions or if an object has a specific permission in a given context. - New-EmdbPermission
Creates new "Permission" objects. - Get-EmdbPermission
Retrieves objects of type "Permission". - Remove-EmdbPermission
Removes objects of type "Permission".
Managing Schema Extensions:
- Update-EmdbObjectSchema
Creates resp. extends schemata
Managing Software-Shop Folders:
- Test-EmdbSoftwareShopUIFolder
Tests the existence of Software-Shop Folder objects - New-EmdbSoftwareShopUIFolder
Creates new Software-Shop Folders. - Get-EmdbSoftwareShopUIFolder
Retrieves Software-Shop Folder objects - Remove-EmdbSoftwareShopUIFolder
Deletes objects of type "Software-Shop Folder"
Managing Variables:
- Test-EmdbVariableGroup
Tests the existence of a Variable-Group - New-EmdbVariableGroup
Creates new Variable-Groups - Get-EmdbVariableGroup
Retrieves Variable-Group objects - Remove-EmdbVariableGroup
Deletes objects of type "Variable-Groups". - Test-EmdbVariable
Tests the existence of a Variable or if a Variable has a given value
- New-EmdbVariable
Creates new Variables - Get-EmdbVariable
Retrieves Variable objects and values - Set-EmdbVariable
Sets Variable values for an object - Remove-EmdbVariable
Deletes objects of type "Variable".
Managing Virtual Environments:
- Test-EmdbVirtualHost
Tests the existence of objects of type Virtual Machine Host - New-EmdbVirtualHost
Creates new Virtualization Hosts - Get-EmdbVirtualHost
Retrieves Virtualization Host objects - Remove-EmdbVirtualHost
Deletes Virtualization Host objects - Test-EmdbVirtualizationCluster
Tests the existence of Virtualization-Cluster objects - New-EmdbVirtualizationCluster
Creates new objects of type "Virtualization-Cluster" - Get-EmdbVirtualizationCluster
Retrieves objects of type "Virtualization-Cluster" - Remove-EmdbVirtualizationCluster
Deletes objects of type "Virtualization-Cluster" - Test-EmdbVirtualizationManagementServer
Tests the existence Virtualization-Management Server objects - New-EmdbVirtualizationManagementServer
Creates new objects of type "Virtualization-Management Server" - Get-EmdbVirtualizationManagementServer
Retrieves objects of type "Virtualization-Management Server" - Remove-EmdbVirtualizationManagementServer
Deletes objects of type "Virtualization-Management Server"
Managing User-Defined Tasks:
- Test-EmdbUITaskGroup
Tests the existence of userdefined Context-Menu-Groups - New-EmdbUITaskGroup
Creates Task-Groups for user-defined context-menu entries - Get-EmdbUITaskGroup
Retrieves Task-Group objects for user-defined context-menu entries - Remove-EmdbUITaskGroup
Deletes Task-Group objects for user-defined context-menu entries - Test-EmdbUITask
Test the existence of userdefined Context-Menu-Entries - New-EmdbUITask
Creates new user-defined context-menu entries
- Get-EmdbUITask
Retrieves user-defined context-menu entry objects - Remove-EmdbUITask
Deletes user-defined context-menu entry objects
- Invoke-EmdbUITask
User-defined context-menu entries can be executed through this cmdlet
Managing Images:
- Test-EmdbStateImage
Tests the existence of Image objects - New-EmdbStateImage
Creates new objects of type "Image"
- Get-EmdbStateImage
Retrieves "Image"-type objects - Remove-EmdbStateImage
Deletes "Image"-type objects
Managing Mobile Devices:
- Test-EmdbMobileDevice
Tests the existence of objects of type "Mobile Device"
- New-EmdbMobileDevice
Creates objects of type "mobile device" - Get-EmdbMobileDevice
Retrieves objects of type "mobile device" - Remove-EmdbMobileDevice
Deletes objects of type "mobile device"
Defining custom views:
- Test-EmdbUserDefinedHtmlView
Tests the existence of a user-defined HTML-View
- New-EmdbUserDefinedHtmlView
Creates a new UserDefined HTML-View
- Get-EmdbUserDefinedHtmlView
Retrieves objects of type UserDefined HTML-View - Remove-EmdbUserDefinedHtmlView
Deletes objects of type UserDefined HTML-View
Managing Patch-Categories:
- Test-EmdbPatchCategory
Tests the existence of Patch Categories. - New-EmdbPatchCategory
Creates new "Patch-Category" objects. - Get-EmdbPatchCategory
Retrieves objects of type "Patch-Category". - Remove-EmdbPatchCategory
Removes objects of type "Patch-Category".
Managing Patch-Rollout-Rules:
- Test-EmdbPatchRolloutRule
Tests the existence of Patch-Rollout-Rules. - New-EmdbPatchRolloutRule
Creates new "Patch-Rollout-Rule" objects. - Get-EmdbPatchRolloutRule
Retrieves objects of type "Patch-Rollout-Rule". - Remove-EmdbPatchRolloutRule
Removes objects of type "Patch-Rollout-Rule".
Managing Patch-Template-Rules:
- Test-EmdbPatchTemplateRule
Tests the existence of Patch-Template-Rules. - New-EmdbPatchTemplateRule
Creates new "Patch-Template-Rule" objects. - Get-EmdbPatchTemplateRule
Retrieves objects of type "Patch-Template-Rule". - Remove-EmdbPatchTemplateRule
Removes objects of type "Patch-Template-Rule".
Executing changes:
- Initialize-EmdbFastInstall
Creates a FastInstall-Job
Miscellaneous:
- Test-EmdbAssociation
Tests the existence of an association between two objects.
- Add-EmdbRelatedItem
Retrieves associated items and stores them in a local cache. - Get-EmdbItem
Retrieves DSM objects of all types. - Test-EmdbPropertyValue
Tests if a property has a given value.