Link to home
Start Free TrialLog in
Avatar of Pete
PeteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

powershell define starting point of script

I am fairly new to this but I am writing a script in PS, I have written all my functions (below eg) but how do I tell powershell to start with the 'menu' function which then links into all the other functions....

---

Function CreateFinanceUser
{
a load of commands specific to finance users
}

Function CreateAdminUser
{
a load of commands specific to admin users
}

Function Menu
{
a menu with choice to either create a finance or admin user
}
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial