PowerShell Menu Builder Function

2
1697

I needed a fairly complication menu system in PowerShell so decided to create a PowerShell menu builder function that creates a menu prompt from variables passed to the function. This made the code much easier to read, separating the menu system code from the code that really does stuff.

Here’s the script:

 

 

2 COMMENTS

LEAVE A REPLY