New in version 4.0
New in version 4.0
In version 4.0 forty new and several modified and extended cmdlets were implemented to further help and assist you in managing and using the new objects, functions and possibilities of DSM 2022.2. A total of 146 cmdlets is now available at your convenience:
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
Testing various object types:
- Test-EmdbDomain
Test the existence of Domain objects - Test-EmdbOrganizationalUnit
Tests the existence of objects of type Organizational Unit - Test-EmdbGroup
Tests the existence of Group objects - Test-EmdbGroupMember
Tests if an object is member of the specified Group object(s) - Test-EmdbComputer
Tests the existence of Computer objects - Test-EmdbUser
Tests the existence of User objects - Test-EmdbPermission
Tests the existence of Permissions or if an object has a specific permission in a given context - Test-EmdbAutoInsertRule
Tests the existence of AutoInsert-Rules - Test-EmdbCitrixFarm
Tests the existence of Citrix Farm objects - Test-EmdbCitrixZone
Tests the existence of Citrix Zone objects - Test-EmdbRole
Tests the existence of Role objects or if a user is Role owner in a given context - Test-EmdbPropertyValue
Tests if a property has a given value - Test-EmdbVariableGroup
Tests the existence of a Variable-Group - Test-EmdbVariable
Tests the existence of a Variable or if a Variable has a given value - Test-EmdbUITaskGroup
Tests the existence of userdefined Context-Menu-Groups - Test-EmdbUITask
Tests the existence of userdefined Context-Menu-Entries - Test-EmdbMobileDevice
Tests the existence of objects of type "Mobile Device" - Test-EmdbUserDefinedHtmlView
Tests the existence of a user-defined HTML-View
- Test-EmdbSoftwareFolder
Tests the existence of Folder objects in the Global Software Library - Test-EmdbSoftwareShopUIFolder
Tests the existence of Software-Shop Folder objects - Test-EmdbSoftwareCategory
Tests the existence of Software Categories - Test-EmdbPatchCategory
Tests the existence of Patch Categories - Test-EmdbPatchTemplateRule
Tests the existence of Patch-Template-Rules - Test-EmdbPatchRolloutRule
Tests the existence of Patch-Rollout-Rules - Test-EmdbSoftwarePackage
Tests the existence of Software Packages - Test-EmdbInstallationParameter
Tests the existence of an Variable or if a Variable has a given value - Test-EmdbStateImage
Tests the existence of Image objects - Test-EmdbVirtualizationCluster
Tests the existence of Virtualization-Cluster objects
- Test-EmdbVirtualHost
Tests the existence of objects of type Virtual Machine Host - Test-EmdbVirtualizationManagementServer
Tests the existence Virtualization-Management Server objects
- Test-EmdbPolicy
Tests the existence of Policy objects - Test-EmdbPolicyInstance
Tests the existence of Policy-Instances
- Test-EmdbComplianceState
Tests the status of Policy-Instances
- Test-EmdbAssociation
Tests the existence of an association between two objects
Miscellaneous:
- Get-EmdbItem
Retrieves DSM objects of all types - Add-EmdbRelatedItem
Retrieves associated items and stores them in a local cache - Get-EmdbComplianceState
Retrieves the Compliance-State of Policy-Instances
Additionally, the PowerShell integrated help for the PSX, that you can display via Get-Help <Cmdlet> or via Get-Help About_ can now be updated over the internet via Update-Help -Module PSX7.