サーバ移行などでドメイン情報の確認のためのメモ。
- FSMOの配置
- 機能レベル
- domain Controller
- global catalog server
1 2 3 4 5 |
PS C:\> Get-ADDomain | fl InfraStructureMaster,RIDMaster,PDCEmulator InfraStructureMaster : WIN2019.example.jp RIDMaster : WIN2019.example.jp PDCEmulator : WIN2019.example.jp |
1 2 3 4 |
PS C:\> Get-ADForest | fl DomainNamingMaster,SchemaMaster DomainNamingMaster : WIN2019.example.jp SchemaMaster : WIN2019.example.jp |
1 2 3 |
PS C:\> Get-ADDomain | fl Domainmode Domainmode : Windows2008R2Domain |
1 2 3 |
PS C:\> Get-ADForest | fl forestmode forestmode : Windows2008R2Forest |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
PS C:\> Get-ADDomainController -Filter * -Server example.jp | fl Hostname,Ipv4address,isglobalcatalog,site,forest,operatingsystem Hostname : WIN2019.example.jp Ipv4address : 192.168.1.1 isglobalcatalog : True site : Default-First-Site-Name forest : example.jp operatingsystem : Windows Server 2019 Standard Evaluation Hostname : WIN2008R2.example.jp Ipv4address : 192.168.1.2 isglobalcatalog : True site : Default-First-Site-Name forest : example.jp operatingsystem : Windows Server 2008 R2 Standard |
1 2 3 |
PS C:\> Get-ADForest | fl GlobalCatalogs GlobalCatalogs : {WIN2008R2.example.jp, WIN2019.example.jp} |