Import-Module DirSync
With the latest version of DirSync, Microsoft has created a full PowerShell module for DirSync instead of that semi-module we used to have to run to get the Start-OnlineCoexistanceSync command. Since we figured out that we can run Import-Module DirSync now to get the Start-OnlineCoexistanceSync cmdlet, I figured there must be other commands in this module. So I did some poking around to see if I could find out what they might be.
I figured the place to look for more cmdlets would be the get-command cmdlet itself, so after typing “Import-Module DirSync”, I did a “Get-Command *DirSync*”, and I got the following cmdlets.
Disable-DirSyncLog
Enable-DirSyncLog
Get-DirSyncConfiguration
Get-DirSyncLogStatus
Set-CompanyDirSyncFeatures
Set-DirSyncConfiguration
Update-MSOLDirSyncNetworkProxySetting
OK, so now I know there are more cmdlets in this module, and I know the module is actually called “Microsoft.Online.Coexistence.PS.Config”. So I looked to see if there are any other cmdlets in this module with the command “Get-Command –module Microsoft.Online.Conexistence.PS.Config”, and I got the following 25 cmdlets
Disable-DirSyncLog
Disable-MSOnlineObjectManagement
Disable-MSOnlinePasswordSync
Disable-MSOnlineRichCoexistence
Disable-OnlinePasswordWriteBack
Disable-PasswordSyncLog
Enable-DirSyncLog
Enable-MSOnlineObjectManagement
Enable-MSOnlinePasswordSync
Enable-MSOnlineRichCoexistence
Enable-OnlinePasswordWriteBack
Enable-PasswordSyncLog
Get-CoexistenceConfiguration
Get-DirSyncConfiguration
Get-DirSyncLogStatus
Get-OnlinePasswordWriteBackStatus
Get-PasswordSyncLogStatus
Get-PreventAccidentalDeletes
Set-CoexistenceConfiguration
Set-CompanyDirSyncFeatures
Set-DirSyncConfiguration
Set-FullPasswordSync
Set-PreventAccidentalDeletes
Start-OnlineCoexistenceSync
Update-MSOLDirSyncNetworkProxySetting
I did a couple of quick Bing searches for these cmdlets, and was not surprised to find there is next to no information on any of them anywhere. The PowerShell standard for help files on cmdlets is the Get-Help command, so I figured I would look there for more information. I found there are Get-Help files for these commands, but just barely. Here is what I got from Get-Help.
I could not find a good way to format that information in this blog, so I just took a screen shot of excel.
More information to come on these new DirSync cmdlets. It looks like we can script a DirSync install now, so I guess I'll get on that...