Introduction - 08 Standalone Root CA, Sub Ca domain joined
INSERT TEXT HERE
#The is almost the same like '05 SQL Server and client, domain joined.ps1' but installs a Certificate Authority instead
#of a SQL Server. The CA is installed with standard settings. Customizing the CA installation will be shown later.
New-LabDefinition -Name Lab1CA1 -DefaultVirtualizationEngine HyperV
#defining default parameter values, as these ones are the same for all the machines
$PSDefaultParameterValues = @{
'Add-LabMachineDefinition:DomainName' = 'contoso.com'
'Add-LabMachineDefinition:Memory' = 1GB
'Add-LabMachineDefinition:OperatingSystem' = 'Windows Server 2016 Datacenter (Desktop Experience)'
}
Add-LabMachineDefinition -Name DC1 -Roles RootDC
Add-LabMachineDefinition -Name CA1 -Roles CaRoot
Add-LabMachineDefinition -Name Client1 -OperatingSystem 'Windows 10 Enterprise'
Install-Lab
Enable-LabCertificateAutoenrollment -Computer -User -CodeSigning
Show-LabDeploymentSummary -Detailed