SCSM RBAC Guidelines

Stumbled across a great blog post today by Jan Van Meirvenne that provides good guidance on configuring RBAC for Service Manager. It’s also the first in a series of posts about configuring SCSM to be multi-tenant capable.


Script – Join a Computer to the Domain

Join the local computer to the domain without prompting  using a specific account and reboot once finished.

Add-Computer -DomainName testdom.local -NewName Server22 -Credential testdom\administrator -Restart -Force

Script – New AD Forest

This PowerShell script will deploy a new root forest with a forest and domain level of Windows Server 2012 R2.

Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath "C:\Windows\NTDS" `
-DomainMode "Win2012R2" `
-DomainName "test.local" `
-DomainNetbiosName "TEST" `
-ForestMode "Win2012R2" `
-InstallDns:$true `
-LogPath "C:\Windows\NTDS" `
-NoRebootOnCompletion:$false `
-SysvolPath "C:\Windows\SYSVOL" `