Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
Sometimes you do and sometimes you don't.<BR>For example the ADODB connection object has the methods open and execute. For open, you pass the arguments w/o parenthesis and for execute you pass with ...