Add site collections in Explorer with PowerShell

Comments

1 comment

  • Avatar
    Renee Barnette (Edited )

    We use MFA, and I was concerned it wouldn't work. I found just using the following worked like a charm, though!:

    Import-Module Sharegate
    $csvFile = "C:\CSVfile.csv"
    $table = Import-Csv $csvFile
    foreach ($row in $table) {
         Connect-Site -Url $row.URL -AddToExplorer
    }
    0
    Comment actions Permalink

Please sign in to leave a comment.