Skip to content

Commit b76ac8f

Browse files
alievertzAndy Lievertz
andauthored
All features implemented; testing release; v0.1.0
Co-authored-by: Andy Lievertz <[email protected]>
1 parent aa389b5 commit b76ac8f

File tree

3 files changed

+598
-1
lines changed

3 files changed

+598
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# OZO PowerShell Script Template
2+
3+
|Date|Version|Comment|
4+
|----|-------|-------|
5+
|YYYY-MM-DD|1.0.0|Initial release.|

README.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
1-
# OZO-AD-Lab-Customize-ISOs
1+
# OZO AD Lab Customize ISOs
2+
3+
## Description
4+
An interactive script that automates [part](https://onezeroone.dev/active-directory-lab-part-ii-customize-the-installer-isos/) of a One Zero One [series](https://onezeroone.dev/active-directory-lab-part-i-introduction/) that illustrates how to automate the process of deploying an AD Lab. It leverages resources from the [One zero One AD Lab resources](https://github.com/onezeroone-dev/OZO-AD-Lab/releases/tag/v0.0.3) to customize AlmaLinux and Microsoft installer ISOs. If a customized ISO is found, it is skipped.
5+
6+
## Prerequisites
7+
To use this script you must first implement the [Active Directory Lab Part II: Customization Prerequisites](https://onezeroone.dev/active-directory-lab-part-ii-customization-prerequisites/).
8+
9+
## Installation
10+
This script is published to [PowerShell Gallery](https://learn.microsoft.com/en-us/powershell/scripting/gallery/overview?view=powershell-5.1). Ensure your system is configured for this repository then execute the following in an _Administrator_ PowerShell:
11+
12+
```powershell
13+
Install-Script ozo-ad-lab-customize-isos
14+
```
15+
16+
## Usage
17+
```powershell
18+
ozo-ad-lab-customize-isos
19+
-OZOADLabDir <String>
20+
```
21+
22+
## Parameters
23+
|Parameter|Description|
24+
|---------|-----------|
25+
|`OZOADLabDir`|Location of the `ozo-ad-lab` directory. Defaults to `$Env:SystemDrive\ozo-ad-lab`.|
26+
27+
## Examples
28+
### Example 1
29+
When the [OZO AD Lab resources](https://github.com/onezeroone-dev/OZO-AD-Lab/releases/tag/v0.0.3) have been downloaded and extracted to the root of your system drive (typically `C`) and all prerequisites described in [Active Directory Lab Part II: Customization Prerequisites](https://onezeroone.dev/active-directory-lab-part-ii-customization-prerequisites/) are satisfied, you can run this script with no parameters:
30+
```powershell
31+
ozo-ad-lab-customize-isos
32+
```
33+
### Example 2
34+
If your [OZO AD Lab resources](https://github.com/onezeroone-dev/OZO-AD-Lab/releases/tag/v0.0.3) are located elsewhere, you can specify the directory, e.g, if they are extracted to `C:\Temp\ozo-ad-lab`:
35+
```powershell
36+
ozo-ad-lab-customize-isos -OZOADLabDir "C:\Temp\ozo-ad-lab"
37+
```
38+
39+
## Notes
40+
Run this script in an _Administrator_ PowerShell.
41+
42+
## Acknowledgements
43+
Special thanks to my employer, [Sonic Healthcare USA](https://sonichealthcareusa.com), who has supported the growth of my PowerShell skillset and enabled me to contribute portions of my work product to the PowerShell community.

0 commit comments

Comments
 (0)