I advise against it. But if you must use a logon script to authenticate, here's how to get it done with PowerShell. In my PowerShell training classes or at conferences I inevitably face the question ...
Sometimes the standby command-line or resource kit tools work best. Still, there is a way to use information from those tools with further processing in PowerShell and this command helps. Even though ...