Hello
I'm new in PS and 'd like to parse a variable (which is "computername") and apply a IP configuration following the name.
For example : Computername is AAAABBCCC
I'd like to handle :
AAAA,
If AAAA equals xxxx and then set a specific action
BB
If BB equals yy set another specific action
CCCC
If CCCC equals zzzz set anotehr action.
I'm trying using Contains() metho, but not sure this is correct.
Thanks for your help