Advertisement
easternnl

Commanding Outlook from Powershell

Aug 12th, 2015
708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $outlook = New-Object -com "Outlook.Application"
  2. $namespace = $outlook.GetNamespace("MAPI")
  3. $folder = $namespace.GetDefaultFolder(6)
  4. $folder.Display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement