Skip to content

Commit 6d445f3

Browse files
updates
1 parent fd3166c commit 6d445f3

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

_examples/lab/admf.lab.ps1

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
$labname = 'ADMF'
2+
$domainName = 'contoso.com'
3+
$domainName2 = 'fabrikam.org'
4+
$imageUI = 'Windows Server 2022 Datacenter (Desktop Experience)'
5+
6+
New-LabDefinition -Name $labname -DefaultVirtualizationEngine HyperV
7+
8+
$PSDefaultParameterValues['Add-LabMachineDefinition:Memory'] = 2GB
9+
$PSDefaultParameterValues['Add-LabMachineDefinition:OperatingSystem'] = $imageUI
10+
$PSDefaultParameterValues['Add-LabMachineDefinition:DomainName'] = $domainName
11+
12+
Add-LabMachineDefinition -Name AdmfDCRed -Roles RootDC
13+
Add-LabMachineDefinition -Name AdmfCA -Roles CaRoot
14+
Add-LabMachineDefinition -Name AdmfAdminHost
15+
Add-LabMachineDefinition -Name AdmfDCBlack -Roles RootDC -DomainName $domainName2
16+
17+
Install-Lab
18+
19+
Install-LabWindowsFeature -ComputerName AdmfAdminHost -FeatureName NET-Framework-Core, NET-Non-HTTP-Activ, GPMC, RSAT-AD-Tools
20+
21+
Invoke-LabCommand -ActivityName "Setting Keyboard Layout" -ComputerName (Get-LabVM).Name -ScriptBlock { Set-WinUserLanguageList -LanguageList 'de-de' -Confirm:$false -Force }
22+
Restart-LabVM -ComputerName (Get-LabVM).Name

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Using freely combinable configuration sets, you can define your desired state in
55

66
## Looking to get started?
77

8-
+ Watch the [Introduction to the Active Directory Management Framework](https://www.youtube.com/watch?v=Q77TZ4JnCtc) video
8+
+ Watch the [Introduction to the Active Directory Management Framework](https://www.youtube.com/watch?v=6NIuFOT3wKI) video
99
+ Check out the [Quick Start Guide](documentation/basics/getting-started.html) for a swift orientation.
1010
+ In the [documentation section](documentation.html) you can find all the docs needed to use this.
1111
+ The [Component Index](documentation/components/components.html) has more details for each type of object definable.

0 commit comments

Comments
 (0)