{"id":6055,"date":"2015-09-23T12:00:52","date_gmt":"2015-09-23T11:00:52","guid":{"rendered":"http:\/\/www.markwilson.co.uk\/blog\/?p=6055"},"modified":"2015-09-21T22:25:21","modified_gmt":"2015-09-21T21:25:21","slug":"powershell-cmdlets-in-the-azure-adsync-module","status":"publish","type":"post","link":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm","title":{"rendered":"PowerShell cmdlets in the Azure ADSync module"},"content":{"rendered":"<p>MVP, Mike Crowley wrote a blog post last year that details the cmdlets for managing <a href=\"https:\/\/mikecrowley.wordpress.com\/2014\/06\/24\/what-are-the-azure-dirsync-cmdlets\/\">Azure AD Directory Synchronisation (DirSync)<\/a>. Unfortunately, the latest incarnation of DirSync\u00a0(<a href=\"http:\/\/blogs.technet.com\/b\/ad\/archive\/2015\/06\/24\/azure-ad-connect-amp-connect-health-is-now-ga.aspx\">Azure AD Connect<\/a>) uses a totally different set of commands (and they seem to me to be more complex to use &#8211; thank goodness the GUI is so good now).<\/p>\n<p>I used Mike&#8217;s method to extract the details of the PowerShell cmdlets in the Azure ADSync module:<\/p>\n<p><code>Import-Module ADSync<\/code><br \/>\n<code>Get-Command -Module ADSync | Get-Help | Select name, synopsis | Export-Csv $env:userprofile\\Desktop\\DirSyncCmdlets.csv -NoTypeInformation<\/code><\/p>\n<p>Unfortunately the help information is very sparse so the synopsis is missing.\u00a0 <a href=\"http:\/\/blog.kloud.com.au\/2014\/10\/23\/adsync-cmdlets\/\">Aaron Peterson has some extra information on the ADSync cmdlets<\/a> but it seems we&#8217;ve gone backwards in terms of help&#8230;<\/p>\n<p>My final attempt was <code>Get-Command -Module ADSync | Select definition | Export-Csv $env:userprofile\\Desktop\\DirSyncCmdlets.csv -NoTypeInformation<\/code> which allowed me to at least pull out the syntax for each cmdlet:<\/p>\n<pre>Add-ADSyncAADServiceAccount [-AADCredential]  [[-Name] ] []\r\nAdd-ADSyncAttributeFlowMapping [-SynchronizationRule]  [-AttributeFlowMappings] &lt;List[AttributeFlowMapping]&gt; [-Direction ] [-WhatIf] [-Confirm] []\r\nAdd-ADSyncAttributeFlowMapping [[-Source] &lt;List[string]&gt;] [-Destination]  [-FlowType]  [[-ValueMergeType] ] [-SynchronizationRule ] [-Expression ] [-ExecuteOnce] [-Direction ] [-WhatIf] [-Confirm] []\r\nAdd-ADSyncConnector [[-Connector] ] []\r\nAdd-ADSyncConnector [-Name]  [-Type]  [-Description ] [-ConnectivityParameterSettings ] [-GlobalParameterSettings ] [-HierarchyProvisioningMappings &lt;Dictionary[string,string]&gt;] [-Partitions &lt;List[ConnectorPartition]&gt;] [-PasswordManagementSettings ] []\r\nAdd-ADSyncConnectorAnchorConstructionSettings [-Connector]  [-ObjectClass]  [-Locked]  [-Attributes] &lt;List[string]&gt; []\r\nAdd-ADSyncConnectorAttributeInclusion [-Connector]  [-AttributeTypes] &lt;List[string]&gt; []\r\nAdd-ADSyncConnectorHierarchyProvisioningMapping [-Connector ] [-Mappings &lt;Dictionary[string,string]&gt;] []\r\nAdd-ADSyncConnectorHierarchyProvisioningMapping [-Connector]  [[-DNComponent] ] [[-ObjectClass] ] []\r\nAdd-ADSyncConnectorObjectInclusion [-Connector]  [-ObjectTypes] &lt;List[string]&gt; []\r\nAdd-ADSyncGlobalSettingsParameter [-GlobalSettings]  [-ParameterValuesTable]  []\r\nAdd-ADSyncGlobalSettingsParameter [-GlobalSettings]  [-Parameters] &lt;List[ConfigurationParameter]&gt; []\r\nAdd-ADSyncJoinConditionGroup [-SynchronizationRule]  [-JoinConditions] &lt;List[JoinCondition]&gt; [-WhatIf] [-Confirm] []\r\nAdd-ADSyncRule [-SynchronizationRule]  [-WhatIf] [-Confirm] []\r\nAdd-ADSyncRule -Name  -Connector  -Direction  -SourceObjectType  -TargetObjectType  [-Precedence ] [-PrecedenceAfter ] [-PrecedenceBefore ] [-Description ] [-Identifier ] [-ImmutableTag ] [-ScopeFilter &lt;List[ScopeConditionGroup]&gt;] [-JoinFilter &lt;List[JoinConditionGroup]&gt;] [-LinkType ] [-EnablePasswordSync] [-AttributeFlowMappings &lt;List[AttributeFlowMapping]&gt;] [-SoftDeleteExpiryInterval ] [-WhatIf] [-Confirm] []\r\nAdd-ADSyncRunProfile [-RunProfile]  []\r\nAdd-ADSyncRunProfile [-Name]  [-ConnectorIdentifier]  [-RunSteps &lt;List[RunStep]&gt;] []\r\nAdd-ADSyncRunProfile [-Name ] [-ConnectorIdentifier ] [-RunStepPartitionIdentifier ] [-RunStepTask ] [-RunStepObjectProcessLimit ] [-RunStepObjectDeleteLimit ] [-RunStepBatchSize ] [-RunStepLogType ] [-RunStepLogFile ] []\r\nAdd-ADSyncRunStep [-RunProfile]  [-PartitionIdentifier]  [-StepTask]  [-BatchSize ] [-ConnectorType ] [-Index ] [-LogType ] [-LogFile ] [-ObjectProcessLimit ] [-ObjectDeleteLimit ] [-PageSize ] [-Timeout ] []\r\nAdd-ADSyncScopeConditionGroup [-SynchronizationRule]  [-ScopeConditions] &lt;List[ScopeCondition]&gt; [-WhatIf] [-Confirm] []\r\nDisable-ADSyncConnectorPartition [-Partitions] &lt;List[ConnectorPartition]&gt; [-Connector ] []\r\nDisable-ADSyncConnectorPartition [-Connector]  [-Partition]  []\r\nDisable-ADSyncConnectorPartitionHierarchy [-Connector]  [-Partition]  [-PartitionHierarchyNode]  []\r\nDisable-ADSyncExportDeletionThreshold [-AADCredential]  [-WhatIf] [-Confirm] []\r\nEnable-ADSyncConnectorPartition [-Partitions] &lt;List[ConnectorPartition]&gt; [-Connector ] []\r\nEnable-ADSyncConnectorPartition [-Connector]  [-Partition]  []\r\nEnable-ADSyncConnectorPartitionHierarchy [-Connector]  [-Partition]  [-PartitionHierarchyNode]  []\r\nEnable-ADSyncExportDeletionThreshold [-AADCredential]  [-DeletionThreshold]  [-WhatIf] [-Confirm] []\r\nGet-ADSyncAADPasswordResetConfiguration [-Connector]  []\r\nGet-ADSyncAADPasswordSyncConfiguration [-SourceConnector]  []\r\nGet-ADSyncConnector [-Identifier ] [-Name ] []\r\nGet-ADSyncConnectorHierarchyProvisioningDNComponent [-Connector]  [[-ObjectType] ] [-ShowHidden] []\r\nGet-ADSyncConnectorHierarchyProvisioningMapping [-Connector]  []\r\nGet-ADSyncConnectorHierarchyProvisioningObjectClass [-DNComponent]  []\r\nGet-ADSyncConnectorParameter -Type  [-Identifier ] [-Connector ] [-ScopeIdentifier ] []\r\nGet-ADSyncConnectorPartition [-Connector]  [-Identifier ] [-Name ] []\r\nGet-ADSyncConnectorPartitionHierarchy [-Connector]  [-Partition]  [-ParentPartitionHierarchyNode ] []\r\nGet-ADSyncConnectorTypes []\r\nGet-ADSyncGlobalSettings [-WhatIf] [-Confirm] []\r\nGet-ADSyncGlobalSettingsParameter []\r\nGet-ADSyncRule [[-Identifier] ] [-WhatIf] [-Confirm] []\r\nGet-ADSyncRunProfile [-Connector]  []\r\nGet-ADSyncRunProfile [-Identifier]  []\r\nGet-ADSyncSchema [-Connector ] [-Identifier ] []\r\nGet-ADSyncServerConfiguration [-Path]  []\r\nNew-ADSyncConnector [-Name]  [-Type]  [-Description ] [-ExtensionFileName ] []\r\nNew-ADSyncJoinCondition [-CSAttribute]  [-MVAttribute]  [[-CaseSensitive] ] [-WhatIf] [-Confirm] []\r\nNew-ADSyncRule [-Name]  [-Direction]  [-Connector]  [-SourceObjectType]  [-TargetObjectType]  [-LinkType]  [-Precedence ] [-EnablePasswordSync] [-PrecedenceAfter ] [-PrecedenceBefore ] [-Description ] [-ImmutableTag ] [-Identifier ] [-SoftDeleteExpiryInterval ] [-WhatIf] [-Confirm] []\r\nNew-ADSyncRunProfile [-Connector]  [-Name]  []\r\nNew-ADSyncScopeCondition [-Attribute]  [-ComparisonValue]  [-ComparisonOperator]  [-WhatIf] [-Confirm] []\r\nRemove-ADSyncAADPasswordResetConfiguration [-Connector]  [[-AADCredential] ] []\r\nRemove-ADSyncAADPasswordSyncConfiguration [-SourceConnector]  []\r\nRemove-ADSyncAADServiceAccount [-AADCredential]  [-Name]  [-WhatIf] [-Confirm] []\r\nRemove-ADSyncAttributeFlowMapping [-SynchronizationRule]  [-AttributeFlowMappings] &lt;List[AttributeFlowMapping]&gt; [-WhatIf] [-Confirm] []\r\nRemove-ADSyncConnector [[-Connector] ] [-WhatIf] [-Confirm] []\r\nRemove-ADSyncConnector [[-Identifier] ] [-WhatIf] [-Confirm] []\r\nRemove-ADSyncConnector [[-Name] ] [-WhatIf] [-Confirm] []\r\nRemove-ADSyncConnectorAnchorConstructionSettings [-Connector]  [-ObjectClass]  []\r\nRemove-ADSyncConnectorAttributeInclusion [-Connector]  [-AttributeTypes] &lt;List[string]&gt; []\r\nRemove-ADSyncConnectorHierarchyProvisioningMapping [-Connector]  [-DNComponent ] [-WhatIf] [-Confirm] []\r\nRemove-ADSyncConnectorHierarchyProvisioningMapping [-DNComponent]  [-Connector ] [-DNComponents &lt;List[string]&gt;] [-WhatIf] [-Confirm] [\r\nRemove-ADSyncConnectorObjectInclusion [-Connector]  [-ObjectTypes] &lt;List[string]&gt; []\r\nRemove-ADSyncGlobalSettingsParameter [-GlobalSettings]  [-ParameterNames] &lt;List[string]&gt; []\r\nRemove-ADSyncJoinConditionGroup [-SynchronizationRule]  [-Index]  [-WhatIf] [-Confirm] []\r\nRemove-ADSyncRule [-SynchronizationRule]  [-WhatIf] [-Confirm] []\r\nRemove-ADSyncRule [-Identifier]  [-WhatIf] [-Confirm] []\r\nRemove-ADSyncRunProfile [-RunProfile]  [-WhatIf] [-Confirm] []\r\nRemove-ADSyncRunStep [-RunProfile]  [-RunStep]  [-WhatIf] [-Confirm] [\r\nRemove-ADSyncScopeConditionGroup [-SynchronizationRule]  [-Index]  [-WhatIf] [-Confirm] []\r\nSearch-ADSyncDirectoryObjects [[-ForestFqdn] ] [-AdConnectorId]  [[-PropertiesToRetrieve] &lt;string[]&gt;] [[-NamingContextType] ] [[-BaseDnType] ] [[-AdConnectorCredential] ] [[-BaseDn] ] [[-LdapFilter] ] [[-SearchScope] ] [-WhatIf] [-Confirm] []\r\nSet-ADSyncAADCompanyFeature [-ConnectorName]  [-ForcePasswordResetOnLogonFeature ] [-PasswordHashSyncFeature ] []\r\nSet-ADSyncAADPasswordResetConfiguration [-Connector]  [-Enable]  [[-AADCredential] ] []\r\nSet-ADSyncAADPasswordSyncConfiguration [-SourceConnector]  [-TargetConnector]  [-Enable]  [[-PasswordAgentCredentials] ] []\r\nSet-ADSyncAADPasswordSyncState [-ConnectorName]  [-Enable]  []\r\nSet-ADSyncConnectorParameter -Type  [-Connector ] [-PartitionIdentifier ] [-RunProfileIdentifier ] [-RunStepIdentifier ] [-ParameterValues ] []\r\nSet-ADSyncGlobalSettings [-GlobalSettings]  [-WhatIf] [-Confirm] []\r\nSet-ADSyncSchema [-Schema]  []\r\nSet-ADSyncSchema [-SchemaFile]  []\r\nSet-ADSyncServerConfiguration [-Path]  []\r\nSet-MIISADMAConfiguration [-Id]  -Credentials  -Forest  [-Container ] [-AllowUnreachableDomains] [-WhatIf] [-Confirm] []\r\nTest-AdSyncUserHasPermissions [-ForestFqdn]  [-AdConnectorId]  [-AdConnectorCredential]  [-BaseDn]  [-PropertyType]  [-PropertyValue]  [-WhatIf] [-Confirm] []\r\nUpdate-ADSyncConnectorPartition [-Connector]  []\r\nUpdate-ADSyncConnectorSchema [-Connector]  [-WhatIf] [-Confirm] []\r\nUpdate-ADSyncDRSCertificates [-DeviceWriteBackConnectorName]  [-AadConnectorName]  [-WhatIf] [-Confirm] []<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>MVP, Mike Crowley wrote a blog post last year that details the cmdlets for managing Azure AD Directory Synchronisation (DirSync). Unfortunately, the latest incarnation of DirSync\u00a0(Azure AD Connect) uses a totally different set of commands (and they seem to me to be more complex to use &#8211; thank goodness the GUI is so good now). &hellip; <a href=\"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PowerShell cmdlets in the Azure ADSync module<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[218],"tags":[102,176],"class_list":["post-6055","post","type-post","status-publish","format-standard","hentry","category-technology","tag-active-directory","tag-azure"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell cmdlets in the Azure ADSync module - markwilson.it<\/title>\n<meta name=\"description\" content=\"Information on the PowerShell cmdlets in the Azure ADSync module is a little sparse. This post lists the syntax for each cmdlet\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell cmdlets in the Azure ADSync module - markwilson.it\" \/>\n<meta property=\"og:description\" content=\"Information on the PowerShell cmdlets in the Azure ADSync module is a little sparse. This post lists the syntax for each cmdlet\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm\" \/>\n<meta property=\"og:site_name\" content=\"markwilson.it\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-23T11:00:52+00:00\" \/>\n<meta name=\"author\" content=\"Mark Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:site\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm\"},\"author\":{\"name\":\"Mark Wilson\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"headline\":\"PowerShell cmdlets in the Azure ADSync module\",\"datePublished\":\"2015-09-23T11:00:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm\"},\"wordCount\":131,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"keywords\":[\"Microsoft Active Directory\",\"Microsoft Azure\"],\"articleSection\":[\"Technology\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm\",\"name\":\"PowerShell cmdlets in the Azure ADSync module - markwilson.it\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\"},\"datePublished\":\"2015-09-23T11:00:52+00:00\",\"description\":\"Information on the PowerShell cmdlets in the Azure ADSync module is a little sparse. This post lists the syntax for each cmdlet\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2015\\\/09\\\/powershell-cmdlets-in-the-azure-adsync-module.htm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell cmdlets in the Azure ADSync module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/\",\"name\":\"markwilson.it\",\"description\":\"get-info -class technology | write-output &gt; \\\/dev\\\/web\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\",\"name\":\"Mark Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"width\":800,\"height\":800,\"caption\":\"Mark Wilson\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\"},\"description\":\"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.\",\"sameAs\":[\"http:\\\/\\\/www.markwilson.co.uk\\\/\",\"https:\\\/\\\/www.instagram.com\\\/markwilsonuk\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/markawilson\\\/\",\"https:\\\/\\\/x.com\\\/markwilsonit\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCWHlZCoHRTocdvtrOJ2IL4A\"],\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/author\\\/mark-wilson\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PowerShell cmdlets in the Azure ADSync module - markwilson.it","description":"Information on the PowerShell cmdlets in the Azure ADSync module is a little sparse. This post lists the syntax for each cmdlet","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm","og_locale":"en_GB","og_type":"article","og_title":"PowerShell cmdlets in the Azure ADSync module - markwilson.it","og_description":"Information on the PowerShell cmdlets in the Azure ADSync module is a little sparse. This post lists the syntax for each cmdlet","og_url":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm","og_site_name":"markwilson.it","article_published_time":"2015-09-23T11:00:52+00:00","author":"Mark Wilson","twitter_card":"summary_large_image","twitter_creator":"@markwilsonit","twitter_site":"@markwilsonit","twitter_misc":{"Written by":"Mark Wilson","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm#article","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm"},"author":{"name":"Mark Wilson","@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"headline":"PowerShell cmdlets in the Azure ADSync module","datePublished":"2015-09-23T11:00:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm"},"wordCount":131,"commentCount":2,"publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"keywords":["Microsoft Active Directory","Microsoft Azure"],"articleSection":["Technology"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm","url":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm","name":"PowerShell cmdlets in the Azure ADSync module - markwilson.it","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#website"},"datePublished":"2015-09-23T11:00:52+00:00","description":"Information on the PowerShell cmdlets in the Azure ADSync module is a little sparse. This post lists the syntax for each cmdlet","breadcrumb":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/powershell-cmdlets-in-the-azure-adsync-module.htm#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.markwilson.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"PowerShell cmdlets in the Azure ADSync module"}]},{"@type":"WebSite","@id":"https:\/\/www.markwilson.co.uk\/blog\/#website","url":"https:\/\/www.markwilson.co.uk\/blog\/","name":"markwilson.it","description":"get-info -class technology | write-output &gt; \/dev\/web","publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.markwilson.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468","name":"Mark Wilson","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","url":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","width":800,"height":800,"caption":"Mark Wilson"},"logo":{"@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1"},"description":"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.","sameAs":["http:\/\/www.markwilson.co.uk\/","https:\/\/www.instagram.com\/markwilsonuk\/","https:\/\/www.linkedin.com\/in\/markawilson\/","https:\/\/x.com\/markwilsonit","https:\/\/www.youtube.com\/channel\/UCWHlZCoHRTocdvtrOJ2IL4A"],"url":"https:\/\/www.markwilson.co.uk\/blog\/author\/mark-wilson"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":5944,"url":"https:\/\/www.markwilson.co.uk\/blog\/2015\/09\/overview-of-azure-ad-synchronisation.htm","url_meta":{"origin":6055,"position":0},"title":"Overview of Azure AD synchronisation","author":"Mark Wilson","date":"Thursday 24 September 2015","format":false,"excerpt":"Over the last few months, I've had the opportunity to work with a number of directories that are synchronised from on-premises Active Directory (AD) to Azure AD (AAD) -\u00a0the directory service behind Office 365, Azure, Dynamics, Intune and other business-focused Microsoft online services. I've learned a few things along the\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/technology"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5309,"url":"https:\/\/www.markwilson.co.uk\/blog\/2014\/08\/administering-office-365-using-powershell-updated-information-on-the-required-components.htm","url_meta":{"origin":6055,"position":1},"title":"Administering Office 365 using PowerShell: updated information on the required components","author":"Mark Wilson","date":"Monday 18 August 2014","format":false,"excerpt":"I've written before about\u00a0administering Office 365 from PowerShell but the process has changed slightly over the years. \u00a0There are various articles out there on the web with methods and links but the key information (as at August 2014) is in a TechNet article titled Manage Azure AD using Windows PowerShell.\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/technology"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6405,"url":"https:\/\/www.markwilson.co.uk\/blog\/2016\/05\/short-takes-deleting-bit-ly-bitlinks-backing-restoring-sticky-notes-accessing-cmdlets-installing-azure-powershell.htm","url_meta":{"origin":6055,"position":2},"title":"Short takes: deleting bit.ly Bitlinks; backing up and restoring Sticky Notes; accessing cmdlets after installing Azure PowerShell","author":"Mark Wilson","date":"Friday 20 May 2016","format":false,"excerpt":"Another collection of short notes to add to my digital memory... Deleting bit.ly links Every now and again, I spot some spam links in my Twitter feed - usually prefixed [delicious]. That suggests to me that there is an issue in Delicious or in Twitterfeed (the increasingly unreliable service I\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/technology"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5414,"url":"https:\/\/www.markwilson.co.uk\/blog\/2014\/11\/choosing-an-office-365-identity-model-when-to-use-adfs.htm","url_meta":{"origin":6055,"position":3},"title":"Choosing an Office 365 identity model (when to use ADFS)","author":"Mark Wilson","date":"Tuesday 18 November 2014","format":false,"excerpt":"At the time of writing, Microsoft Office 365 has the ability to work with three identity models: Cloud identity (stored in\u00a0Microsoft Azure Active Directory). Synchronised identity (a copy of the objects from an on-premises Active Directory is made in Microsoft Azure AD), optionally with synchronised password hashes. \u00a0This is also\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/technology"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5906,"url":"https:\/\/www.markwilson.co.uk\/blog\/2015\/08\/bulk-changing-active-directory-upns-from-powershell.htm","url_meta":{"origin":6055,"position":4},"title":"Bulk changing Active Directory UPNs from PowerShell","author":"Mark Wilson","date":"Wednesday 26 August 2015","format":false,"excerpt":"As part of my current Office 365 project, I needed to prepare an on-premises Active Directory for synchronisation with Azure AD. This was a test environment that had been created by taking a copy of the production directory, so I had thousands of users - but all with incorrect user\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/technology"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1246,"url":"https:\/\/www.markwilson.co.uk\/blog\/2008\/10\/a-quick-look-at-windows-powershell-2.htm","url_meta":{"origin":6055,"position":5},"title":"A quick look at Windows PowerShell 2","author":"Mark Wilson","date":"Tuesday 21 October 2008","format":false,"excerpt":"Richard Siddaway's recent TechNet presentation (around the datacentre in 80 scripts) was a first opportunity for me to have a look at what's coming in the next version of Windows PowerShell. I've written previously about PowerShell (as an introduction to the concept and from an IT administrator standpoint) but, just\u2026","rel":"","context":"In \"Microsoft Windows\"","block_context":{"text":"Microsoft Windows","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/windows"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/6055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=6055"}],"version-history":[{"count":6,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/6055\/revisions"}],"predecessor-version":[{"id":6095,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/6055\/revisions\/6095"}],"wp:attachment":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=6055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=6055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=6055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}