- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
基于以下article我正在将文件服务器信息上传到 SharePoint Online。除了步骤 7:处理和监控您的 SPO 迁移之外,一切正常。那里的描述是:
Checking job status You can check the status of your job by viewing the real time updates posted in the Azure storage account queue by using the Encryption.EncryptionKey returned in step 6.
Viewing logs If you’re using your own Azure storage account, you can look into the manifest container in the Azure Storage for logs of everything that happened. At this stage, it is now safe to delete those containers if you don’t want to keep them as backup in Azure.
If there were errors or warnings, .err and .wrn files will be created in the manifest container.
If you’re using the temporary Azure storage created by Invoke-SPOMigrationEncryptUploadSubmit in step 6, the import log SAS URL can be obtained by decrypting the Azure queue message with the “Event” value “JobLogFileCreate”. With the import log SAS URL, you can download the log file and decrypt it with the same encryption key as returned in Step 6.
我有 EncryptionKey 和 ReportingQueueUri,没有说明如何使用它们,尝试使用 Azure 存储资源管理器打开报告队列,但它在那里全部加密,并且没有使用 EncryptionKey 的选项。
如果有人这样做或知道如何做,我真的很感激一些帮助。
最佳答案
必须使用另外两个 cmdlet:Get-SPOMigrationJobProgress
和 Get-SPOMigrationJobStatus
$job = Invoke-SPOMigrationEncryptUploadSubmit `
-SourceFilesPath $sourceFiles `
-SourcePackagePath $targetPackage `
-Credentials $creds `
-TargetWebUrl $targetWebUrl
$encryption = $job.Encryption
$queueLink = $job.ReportingQueueUri.AbsoluteUri
$jobID = $job.jobid
Get-SPOMigrationJobProgress -AzureQueueUri $queueLink `
-Credentials $creds `
-TargetWebUrl $targetWebUrl `
-JobIds $jobID `
-EncryptionParameters $encryption
Get-SPOMigrationJobStatus -TargetWebUrl $targetWebUrl -Credentials $creds -JobId $jobID
关于powershell - 将本地内容上传到 SharePoint Online 如何检索日志(使用 powershell),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40996811/
我是一名优秀的程序员,十分优秀!