Could someone please explain to me how you can use Func_SearchLastState more than once in the same script.
My situation is I am trying to use it in the same script under different case scenarios:
e.g.
Case 1
Func_SearchLastState($sMachine)
Case 2
Func_SearchLastState($sLaptop)
Even though these are under different case scenarios the Func_SearchLastState is getting picked up as a duplicate function name.
How can I use this function more than one in my script without getting the error?