{"id":140,"date":"2025-05-05T13:47:58","date_gmt":"2025-05-05T10:47:58","guid":{"rendered":"https:\/\/vpn.ata.co.il\/?p=140"},"modified":"2025-05-05T13:48:22","modified_gmt":"2025-05-05T10:48:22","slug":"active-directory-move-roles-to-other-server","status":"publish","type":"post","link":"https:\/\/vpn.ata.co.il\/?p=140","title":{"rendered":"Active Directory &#8211; Move roles to other server"},"content":{"rendered":"\n<p>\u05e8\u05d0\u05e9\u05d9\u05ea \u05de\u05ea\u05e7\u05d9\u05e0\u05d9\u05dd \u05db\u05dc\u05d9 AD \u05e2\u05dc Powershell:<\/p>\n\n\n\n<p class=\"has-text-align-left\">Install-WindowsFeature -Name RSAT-AD-PowerShell<br>Import-Module ActiveDirectory<br>Get-Command -Module ActiveDirectory<\/p>\n\n\n\n<p>\u05d1\u05e9\u05dc\u05d1 \u05d4\u05e9\u05e0\u05d9 \u05e0\u05d1\u05d3\u05d5\u05e7 \u05d4\u05d9\u05db\u05df \u05db\u05dc \u05de\u05e1\u05d3\u05d9 \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05e9\u05dc \u05d4 AD \u05e0\u05de\u05e6\u05d0\u05d9\u05dd:<\/p>\n\n\n\n<p>\u05e4\u05d5\u05ea\u05d7\u05d9\u05dd powershell as admin \u05d5\u05de\u05e7\u05d9\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4: netdom query fsmo<\/p>\n\n\n\n<p>\u05dc\u05d0\u05d7\u05e8 \u05de\u05db\u05df \u05d4\u05e4\u05e7\u05d5\u05d3\u05d5\u05ea \u05dc\u05d4\u05e2\u05d1\u05e8\u05ea \u05db\u05dc \u05d4 Roles \u05db\u05d0\u05e9\u05e8 \u05d4 Destinationdc \u05d6\u05d4 \u05e9\u05e8\u05ea \u05d4 DC \u05d4\u05d7\u05d3\u05e9 \u05e9\u05d4\u05d5\u05e1\u05e4\u05ea\u05dd:<\/p>\n\n\n\n<p class=\"has-text-align-left\">Move-ADDirectoryServerOperationMasterRole -Identity &quot;Destinationdc&quot; -OperationMasterRole DomainNamingMaster<br>Move-ADDirectoryServerOperationMasterRole -Identity &quot;Destinationdc&quot; -OperationMasterRole RIDMaster<br>Move-ADDirectoryServerOperationMasterRole -Identity &quot;Destinationdc&quot; -OperationMasterRole PDCEmulator<br>Move-ADDirectoryServerOperationMasterRole -Identity &quot;Destinationdc&quot; -OperationMasterRole InfrastructureMaster<br>Move-ADDirectoryServerOperationMasterRole -Identity &quot;Destinationdc&quot; -OperationMasterRole SchemaMaster, DomainNamingMaster, RIDMaster, PDCEmulator, InfrastructureMaster<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05e8\u05d0\u05e9\u05d9\u05ea \u05de\u05ea\u05e7\u05d9\u05e0\u05d9\u05dd \u05db\u05dc\u05d9 AD \u05e2\u05dc Powershell: Install-WindowsFeature -Name RSAT-AD-PowerShellImport-Module ActiveDirectoryGet-Command -Module ActiveDirectory \u05d1\u05e9\u05dc\u05d1 \u05d4\u05e9\u05e0\u05d9 \u05e0\u05d1\u05d3\u05d5\u05e7 \u05d4\u05d9\u05db\u05df \u05db\u05dc \u05de\u05e1\u05d3\u05d9 \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05e9\u05dc \u05d4 AD \u05e0\u05de\u05e6\u05d0\u05d9\u05dd: \u05e4\u05d5\u05ea\u05d7\u05d9\u05dd powershell as admin \u05d5\u05de\u05e7\u05d9\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4: netdom query fsmo \u05dc\u05d0\u05d7\u05e8 \u05de\u05db\u05df \u05d4\u05e4\u05e7\u05d5\u05d3\u05d5\u05ea \u05dc\u05d4\u05e2\u05d1\u05e8\u05ea \u05db\u05dc \u05d4 Roles \u05db\u05d0\u05e9\u05e8 \u05d4 Destinationdc \u05d6\u05d4 \u05e9\u05e8\u05ea \u05d4 DC \u05d4\u05d7\u05d3\u05e9 \u05e9\u05d4\u05d5\u05e1\u05e4\u05ea\u05dd: Move-ADDirectoryServerOperationMasterRole -Identity &quot;Destinationdc&quot; -OperationMasterRole DomainNamingMasterMove-ADDirectoryServerOperationMasterRole -Identity [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":2,"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpn.ata.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}