I have a string from where i want to get the values for my parameters by splitting the string by the seperator -i, -u, -p.
string:
-ic:\reports\inc\ -ucuriosity -psecret
I want to have those values to be assigned to the variables for further use, like:
$i = c:\reports\inc\
$u = curiosity
$p = secret
- Edited by TekFinder 15 hours 31 minutes ago