OrgKit
OrgKit copied to clipboard
Refactor PowerShell script to reduce redundancy and improve maintaina…
- Parametrized the
OrgKit-CreateOUfunction to accept OU details as parameters. - Introduced an array of hashtables to store OU details, reducing repetitive code.
- Replaced multiple hardcoded function calls with a loop that iterates over the array of OUs.
- Maintained all existing features and functionalities while streamlining the script.