Home Lab
Create a VM without an OS first, and then add the Windows Server 2022 ISO file as the path.
Utilities
AD
From server manager:
Add Roles and Features → Role-based or feature-based installation
Local server → AD Domains Services
Cick on the Promote to DC configuration triangle post-install
Add new forest and go through the wizard
> Import-Module ActiveDirectory
> $username = "freya"
> $password = ConvertTo-SecureString "Password123!" -AsPlainText -Force
> New-ADUser -Name $username -SamAccountName $username -AccountPassword $password -Enabled $true -PasswordNeverExpires $true -Path "CN=Users,DC=MOLLY,DC=LOCAL"ADCS
From server manager:
Manage → Add Roles and Features
Check ADCS → Click on the post-install notification triangle
Choose CA → Enterprise CA (defaults for the rest)
To find EKUs:
certtmpl.msc→ template → right click → Properties → Extensions tab
Commands
Last updated