#Connect $service = Connect-Exchange -MailboxName $MailboxName -Credential $Credentials $QuickStepsFolder = Get-QuickStepsFolder -MailboxName $MailboxName -service $service -Credentials $Credentials $ExistingSteps = Get-ExistingSteps -MailboxName $MailboxName -QuickStepsFolder $QuickStepsFolder if( $ExistingSteps.ContainsKey( $Name.Trim(). To Export the XML from a Quick Step Item you can grab the PR_Roaming_XMLStream property and then save this out to a file (it just plain XML) eg $binVal = $null $AdditionalRenEntryIdsExCol = $IPM_ROOT.TryGetProperty( $PidTagAdditionalRenEntryIdsEx, $binVal)) while( $fiItems.MoreAvailable -eq $true) Append date to the subject (newItem.Subject Format(Now, 'dd mmmm yyyy') & newItem.Subject) Create a shortcut to the Macro in the Quick Steps (QAT). Autocorrect can do the formatting but needs to use the insert date with updating command. $IPM_ROOT = ::Bind( $service, $folderid, $psPropset) The date is doable but the formatting is going to be more difficult. $folderid= new-object .FolderId( ::Root, $MailboxName) $psPropset.Add( $PidTagAdditionalRenEntryIdsEx) If the Calendar folder isnt listed, youll need to click Other folder and select it. If you dont like dragging, you can use the Move to (or Copy to) folder command to create the appointment. It’s going to forward to our boss, Reply to the contact, move to the Positive Feedback Folder and Mark the flag as complete. $psPropset = new-object .PropertySet( ::FirstClassProperties) Right-click and drag to see all of the options available: Copy as appointment with text, as attachment, Move as text, or Move as attachment. Let’s add one more action mark the flagged message as complete.
$PidTagAdditionalRenEntryIdsEx = new-object .ExtendedPropertyDefinition(0x36D9, ::Binary) In the Name box, type a name for the new Quick Step. Click an action type from the list or click Custom. In Mail, on the Home tab, in the Quick Steps group, in the Quick Steps gallery, click the Create New Quick Step. $service = Connect-Exchange -MailboxName $MailboxName -Credential $Credentials Quick Steps and Quick Parts in Outlook provide you with time-saving shortcuts to messaging.