Kelly Garcia
asked on
paramater function powershell
Hi Guys,
I have this on the top of my script:
param(
[string]$users,
[string]$copyuser
)
i can then use the command
.\Create_Profile_Script2.p s1 -users test -copyuser test2
problems is i want to enter more than one users in -users, how do i do this?
thank you in advance :)
I have this on the top of my script:
param(
[string]$users,
[string]$copyuser
)
i can then use the command
.\Create_Profile_Script2.p
problems is i want to enter more than one users in -users, how do i do this?
thank you in advance :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.