Tue. Jan 4th, 2022

Migration

Add Site Collection Admin to site

#Parameters value $spopasswordFile = "c:\PSscripts\Credentials\spo_password.txt"; $spopassword = Get-Content $spopasswordFile | ConvertTo-SecureString $NetworkpasswordFile = "c:\PSscripts\Credentials\Network_password.txt"; $Networkpassword = Get-Content $NetworkpasswordFile | ConvertTo-SecureString #Setup Credentials to connect $Credentials = New-Object System.Net.NetworkCredential($src_username, $Networkpassword, $domain)…

Set Site Sharing – Default sharing link type – People with existing access from csv file.

cls #Parameters value $spopasswordFile = "c:\PSscripts\Credentials\" + $Server + "_"+$Initials+"_"+$dst_username+"_password.txt"; $spopassword = Get-Content $spopasswordFile | ConvertTo-SecureString $inputFile = 'c:\PSscripts\Migration\sitelist.csv' $sitesList = Import-Csv $inputFile -Delimiter "," #Setup Credentials to connect $Credentials…

This website uses cookies. By continuing to use this site, you accept our use of cookies.