Request-UpgradeEvaluationSite
SharePoint Online: Requests an upgrade evaluation site copy
#Requires -Version 5.1
#Requires -Modules Microsoft.Online.SharePoint.PowerShell
[CmdletBinding()]
Param(
[Parameter(Mandatory = $true)]
[string]$Identity,
[switch]$NoEmail,
[switch]$NoUpgrade
)
Process {
try {
$cmdArgs = @{ ErrorAction = 'Stop'; Identity = $Identity; Confirm = $false; NoEmail = $NoEmail; NoUpgrade = $NoUpgrade }
$result = Request-SPOUpgradeEvaluationSite @cmdArgs | Select-Object *
if ($null -ne $result) { foreach ($item in $result) { $item | Add-Member -NotePropertyName Timestamp -NotePropertyValue (Get-Date -Format "yyyy-MM-dd HH:mm:ss") -PassThru -Force } }
}
catch { throw }
}URL of the site collection for which to request an evaluation copy
Off
Do not send email notification upon completion
Off
Do not perform upgrade as part of the evaluation site creation