Board logo

标题: [转载代码] [PowerShell每日技巧]获取默认的Outlook配置文件(20131106) [打印本页]

作者: DAIC    时间: 2013-11-11 14:10     标题: [PowerShell每日技巧]获取默认的Outlook配置文件(20131106)

PowerShell can access COM objects like Outlook Application. These two simple lines return the current Outlook profile:
  1. $outlookApplication = New-Object -ComObject Outlook.Application
  2. $outlookApplication.Application.DefaultProfileName
复制代码
http://powershell.com/cs/blogs/tips/archive/2013/11/06/finding-default-outlook-profile.aspx




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2