tacticalrmm/scripts_wip/Win_AD_Transfer_FSMO_Roles.ps1

21 lines
535 B
PowerShell
Raw Normal View History

2021-05-12 02:55:01 +00:00
<#
.SYNOPSIS
I do this
.DESCRIPTION
I really do a lot of this
.OUTPUTS
Results are printed to the console. Future releases will support outputting to a log file.
.NOTES
Change Log
V1.0 Initial release
Reference Links: www.google.com
#>
2021-04-27 17:11:30 +00:00
# Transfer FSMO Roles to server
# Make this machine the FSMO Master role.
2021-05-12 02:55:01 +00:00
Move-ADDirectoryServerOperationMasterRole -Identity $env:computername -OperationMasterRole pdcemulator, ridmaster, infrastructuremaster, schemamaster, domainnamingmaster -Force