Copy-PorteoSite.ps1
function Copy-PorteoSite { param( $srcConnection = (Get-PnPConnection), $destConnection = (Get-PnPConnection) ) # Copy Lists and Site Assets $ignore = Set-PnpSite -NoScriptSite $false -Connection $destConnection $ignore = Copy-PorteoLists -SrcConnection $srcConnection -DestConnection $destConnection $ignore = Copy-PorteoFolders -SrcConnection $srcConnection -DestConnection $destConnection } |