powershell – 如何在交换混合环境中备份/导出office 365电子邮
我们有一个
exchange hybrid environment.(一些用户在onpremises交换,一些用户是办公室365.)
当我们想要从onpremis导出电子邮件时,我们使用下面的命令导出邮箱和存档. New-MailboxExportRequest -Mailbox "user" -FilePath mysrvl$PSTMailbox-user.pst; New-MailboxExportRequest -Mailbox "user" -IsArchive -FilePath mysrvl$PSTMailbox-user-archive.pst -confirm:$false New-MailboxExportRequest适用于onpremis用户而不适用于office 365. 到目前为止我尝试了什么: 我登录到办公室365 $UserCredential = Get-Credential Import-Module MSOnline Connect-MsolService -Credential $UserCredential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session 并尝试了New-MailboxExportRequest 但它会产生错误.显然办公室365不知道那个命令 PS C:Userspp> New-MailboxExportRequest New-MailboxExportRequest : The term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the spelling of the name,or if a path was included,verify that the path is correct and try again. At line:1 char:1 + New-MailboxExportRequest + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (New-MailboxExportRequest:String) [],CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException 另外Get-Command * Export *结果如下 尝试谷歌搜索,但找不到可行的选择.有人可以指导我吗?办公环境中的兼容命令是什么? PS:
您无法使用内置工具通过PowerShell将Exchange Online邮箱直接导出到PST.必需的New-MailboxExportRequest在线不存在(或者不向我们的凡人展示).
您可以: >电子发现,似乎只有GUI. 我和你一样沮丧.为离开的用户导出邮箱以进行长期存储是不必要的烦恼.如果我们可以像导入一样导出到Azure Blob,那将是一个良好的开端. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows-server-2008-r2 – 是否可以创建新的Windows Serve
- windows – 无法安装emacs el-get包,emacs无法连接到互联网
- windows-server-2008-r2 – 为什么使用不同用户通过PowerSh
- Windows Azure虚拟机 – 打开端口
- windows-server-2008 – TS(RD)网关身份验证问题“登录尝试
- Why the Anaconda command prompt is the first choice in
- 错误 – 在Windows 7中使用“Git Bash Here”时,“文件扩展
- windows – 手动创建MSI补丁(.msp)?
- windows – 是否可以编写一个不会出现在打印屏幕上的应用程
- Windows Phone 7手动启动 – WP7手动启动
- windows-server-2008 – 我需要检测并修复长文件
- OrCAD Capture CIS 16.6 从PDF文档中提取引脚定义
- Windows密钥库和证书
- 从Windows切换到DHCP服务器的冗余linux机箱的智慧
- 本地IIS上的Windows azure Web角色
- Windows Azure网站是32位还是64位?
- windows系统上安装mysql操作过程及常见错误处理
- 在Windows 8和Windows Phone 8上使用带有HTML5 /
- windows – keras plot_model告诉我安装pydot
- BURN(WIX bootstrapper) – 未显示正在使用的文件