Wednesday, February 25, 2015

Discovering Commands in the ADSync Module

The new version of the sync engine has a plethora of PowerShell commands, available in the ADSync module.

Lately I’ve been working on automating a deployment of AAD Sync so have been busy looking at these commands.  Pretty awesome to see cmdlet coverage arrive for the sync engine.  Also a really fun way to discover the differences between this version of the sync engine and the FIM Sync engine.

Here’s a few commands to discover those commands:

### Get all the commands in the ADSync module

Get-Command -Module ADSync

 

CommandType     Name                                               ModuleName        

-----------     ----                                               ----------        

Cmdlet          Add-ADSyncAttributeFlowMapping                     ADSync            

Cmdlet          Add-ADSyncConnector                                ADSync            

Cmdlet          Add-ADSyncConnectorAnchorConstructionSettings      ADSync            

Cmdlet          Add-ADSyncConnectorAttributeInclusion              ADSync            

Cmdlet          Add-ADSyncConnectorHierarchyProvisioningMapping    ADSync            

Cmdlet          Add-ADSyncConnectorObjectInclusion                 ADSync            

Cmdlet          Add-ADSyncGlobalSettingsParameter                  ADSync            

Cmdlet          Add-ADSyncJoinConditionGroup                       ADSync            

Cmdlet          Add-ADSyncRule                                     ADSync            

Cmdlet          Add-ADSyncRunProfile                               ADSync            

Cmdlet          Add-ADSyncRunStep                                  ADSync            

Cmdlet          Add-ADSyncScopeConditionGroup                      ADSync            

Cmdlet          Disable-ADSyncConnectorPartition                   ADSync            

Cmdlet          Disable-ADSyncConnectorPartitionHierarchy          ADSync            

Cmdlet          Enable-ADSyncConnectorPartition                    ADSync            

Cmdlet          Enable-ADSyncConnectorPartitionHierarchy           ADSync            

Cmdlet          Get-ADSyncAADPasswordResetConfiguration            ADSync            

Cmdlet          Get-ADSyncAADPasswordSyncConfiguration             ADSync            

Cmdlet          Get-ADSyncConnector                                ADSync            

Cmdlet          Get-ADSyncConnectorHierarchyProvisioningDNCompo... ADSync            

Cmdlet          Get-ADSyncConnectorHierarchyProvisioningMapping    ADSync            

Cmdlet          Get-ADSyncConnectorHierarchyProvisioningObjectC... ADSync            

Cmdlet          Get-ADSyncConnectorParameter                       ADSync            

Cmdlet          Get-ADSyncConnectorPartition                       ADSync            

Cmdlet          Get-ADSyncConnectorPartitionHierarchy              ADSync            

Cmdlet          Get-ADSyncConnectorTypes                           ADSync            

Cmdlet          Get-ADSyncGlobalSettings                           ADSync            

Cmdlet          Get-ADSyncGlobalSettingsParameter                  ADSync            

Cmdlet          Get-ADSyncRule                                     ADSync            

Cmdlet          Get-ADSyncRunProfile                               ADSync            

Cmdlet          Get-ADSyncSchema                                   ADSync            

Cmdlet          Get-ADSyncServerConfiguration                      ADSync            

Cmdlet          New-ADSyncConnector                                ADSync            

Cmdlet          New-ADSyncJoinCondition                            ADSync            

Cmdlet          New-ADSyncRule                                     ADSync            

Cmdlet          New-ADSyncRunProfile                               ADSync            

Cmdlet          New-ADSyncScopeCondition                           ADSync            

Cmdlet          Remove-ADSyncAADPasswordResetConfiguration         ADSync            

Cmdlet          Remove-ADSyncAADPasswordSyncConfiguration          ADSync            

Cmdlet          Remove-ADSyncAttributeFlowMapping                  ADSync            

Cmdlet          Remove-ADSyncConnector                             ADSync            

Cmdlet          Remove-ADSyncConnectorAnchorConstructionSettings   ADSync            

Cmdlet          Remove-ADSyncConnectorAttributeInclusion           ADSync            

Cmdlet          Remove-ADSyncConnectorHierarchyProvisioningMapping ADSync            

Cmdlet          Remove-ADSyncConnectorObjectInclusion              ADSync            

Cmdlet          Remove-ADSyncGlobalSettingsParameter               ADSync            

Cmdlet          Remove-ADSyncJoinConditionGroup                    ADSync            

Cmdlet          Remove-ADSyncRule                                  ADSync            

Cmdlet          Remove-ADSyncRunProfile                            ADSync            

Cmdlet          Remove-ADSyncRunStep                               ADSync            

Cmdlet          Remove-ADSyncScopeConditionGroup                   ADSync            

Cmdlet          Set-ADSyncAADPasswordResetConfiguration            ADSync            

Cmdlet          Set-ADSyncAADPasswordSyncConfiguration             ADSync            

Cmdlet          Set-ADSyncAADPasswordSyncState                     ADSync            

Cmdlet          Set-ADSyncConnectorParameter                       ADSync            

Cmdlet          Set-ADSyncGlobalSettings                           ADSync            

Cmdlet          Set-ADSyncSchema                                   ADSync            

Cmdlet          Set-ADSyncServerConfiguration                      ADSync            

Cmdlet          Set-MIISADMAConfiguration                          ADSync            

Cmdlet          Update-ADSyncConnectorPartition                    ADSync            

Cmdlet          Update-ADSyncConnectorSchema                       ADSync             

 

There are a lot of commands in there (pretty cool!) so it is useful to know how to find what you’re looking for.  Here are couple commands I use to dig them out:

### Get all the commands in the ADSync module

Get-Command -Module ADSync

 

### Find commands with the word 'rule'

Get-Command -Module adsync -Name *rule*

 

### Find commands with the word 'join'

Get-Command -Module adsync -Name *join*

 

### Find commands with the word 'attributeFlow'

Get-Command -Module adsync -Name *attributeFlow*

 

### Find commands with the verb 'Set'

Get-Command -Module adsync -Verb Set

 

No comments: