OrgKit icon indicating copy to clipboard operation
OrgKit copied to clipboard

Refactor PowerShell script to reduce redundancy and improve maintaina…

Open evildevill opened this issue 1 year ago • 0 comments

  • Parametrized the OrgKit-CreateOU function 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.

evildevill avatar Aug 17 '24 12:08 evildevill