Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

OZO AD Lab Implement Customization Prerequisites

Description

An interactive script automates part of a One Zero One series illustrating how to automate the process of deploying an AD Lab. It implements the customization prerequisites of the One Zero One AD Lab.

Installation

This script is published to PowerShell Gallery. Ensure your system is configured for this repository then execute the following in an Administrator PowerShell:

Install-Script ozo-ad-lab-implement-customization-prerequisites

Usage

ozo-ad-lab-implement-customization-prerequisites
    [-FeatureName]
    [-InternalIP]
    [-InternalSwitchName]
    [-LocalGroup]
    [-OscdimgExePath]
    [-OZOADLabDirLike]
    [-OZOADLabPath]
    [-OZOADLabZipPath]
    [-OZOADLabZipUri]
    [-PrefixLength]
    [-SimExePath]
    [-Subnet]
    [-WinAdkFileUri]
    [-WinAdkPath]

Parameters

Parameter Description
FeatureName The name of the Windows feature to install. Default is Microsoft-Hyper-V-All.
InternalIP The internal IP address for the lab network. Default is 172.16.1.1.
InternalSwitchName The name of the internal virtual switch. Default is OZO AD Lab NAT.
LocalGroup The local group to which the current user should be added. Default is Hyper-V Administrators.
OscdimgExePath The path to the Oscdimg executable. Default is the typical installation path within the Windows Kits directory.
OZOADLabDirLike he pattern to identify the OZO AD Lab directory. Default is onezeroone-dev-OZO-AD-Lab*.
OZOADLabPath The path to the OZO AD Lab directory. Default is $Env:SystemDrive\ozo-ad-lab.
OZOADLabISOs A hashtable of ISO filenames and their corresponding download URIs.
OZOADLabZipPath The path to the OZO AD Lab ZIP file. Default is $Env:SystemDrive\ozo-ad-lab.zip.
OZOADLabZipUri The URI to download the latest OZO AD Lab ZIP file. Default is https://api.github.com/repos/onezeroone-dev/OZO-AD-Lab/releases/latest.
PrefixLength The prefix length for the lab network subnet. Default is 24.
SimExePath The path to the SIM executable. Default is the typical installation path within the Windows Kits directory.
Subnet The subnet for the lab network. Default is 172.16.1.0.
WinAdkFileUri The URI to download the Windows ADK setup file. Default is https://go.microsoft.com/fwlink/?linkid=2128854.
WinAdkPath The path to the Windows ADK setup file. Default is $Env:USERPROFILE\Downloads\adksetup.exe.

Examples

ozo-ad-lab-implement-customization-prerequisites

Notes

Run this script in an Administrator PowerShell.

Acknowledgements

Special thanks to my employer, Sonic Healthcare USA, who supports the growth of my PowerShell skillset and enables me to contribute portions of my work product to the PowerShell community.

About

An interactive script that implements the customization prerequisites of the One Zero One AD Lab as described in Active Directory Lab Part II: Customization Prerequisites.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages