I would like to write some functions that take a single parameter which could vary the type without having to use a whole new function.
For instance for SQL, I would like to either accept sql command text string or a file. or for active directory either the path or the adsi object would be taken
unlock-aduser [adsi]"LDAP://dn=..."
or
unlock-aduser [string]"LDAP://dn=..."
would work just as well.