Shell MVP, Shane Hoey one of the master minds behind Dr. Scripto TV, sent the Scripting Wife and I a couple bags of Tim Tams via Steve Molkington aka The Molk. Here is a picture of the handover. And so, I am watching email on my laptop, monitoring Twitter on one monitor, and playing around with the Outlook automation model on another monitor. Meanwhile, I am munching on a fresh Tim Tam and sipping a cup of Earl Grey teayes, it looks like I am getting back into a routine after all. Rather than write a Windows Power. How To Get To Inbox On Microsoft Account' title='How To Get To Inbox On Microsoft Account' />Shell script that is limited in the way it exposes data, I decided to write a function that returns a custom object from the Inbox. The easiest way to work with the function is via the Windows Power. Shell ISE. I open the file that contains the Get Outlook. Inbox function and run it once inside the Windows Power. Shell ISE. This places the function onto the function drive and makes it available to me within my Windows Power. Shell ISE session. I then go to the command window, and I type my commands. The first thing I do is call the Get Outlook. Inbox function and store the output in a variable called inbox. This allows me to work with the Inbox content in an easy fashion without needing to query the Inbox over and over again. I can then pipe the inbox contents to other Windows Power. Shell cmdlets to process the results. This technique is shown in the in the following image. An example of looking in the Inbox for a list of users to whom I correspond is shown here. I first store the email items from my Inbox into a variable, and then I pipe the Inbox information to the Group Object cmdlet to group the emails together. I then sort them by the frequency of contact. Get Outlook. In. Boxinbox Group Object Property sender. Name No. Element Sort Object count. The command and its associated output are shown in the following image. If you need to see which email in the Inbox was received after a specific date, you can pipe the Inbox email to Where Object and examine the Received. Time property. The cool thing about this code is that Windows Power. Shell automatically converts the string 52. Date. Time object. Remember that I stored the results of the Get Outlook. Inbox function into the inbox variable. Received. Time gt 52. If I am curious to see if I have received any email about the 2. Scripting Games, I can quickly do a search for the number 2. This is shown here. Where Object. Remember, that I am working interactively in the command window in my Windows Power. Shell ISE. I might not really want to type full command names. Instead, I may prefer to type short commands aliases. For example, I might want to shorten the command that I used to group and sort the users. This is the long form of the command. Get Outlook. In. Boxinbox Group Object Property sender. Name No. Element Sort Object count A shorter form of the command is shown here. You will notice that I do not store the results into a variable. In addition, I use the group alias for Group Object and a partial parameter name no for No. Element. Get Outlook. In. Box group sendername no sort count. As you can see in the following image, the command and output work well. The Get Outlook. Inbox function is shown here Get Outlook. In. Box function. Function Get Outlook. In. Box lt . Synopsis This function returns In. Box items from default Outlook profile . Description This function returns In. Box items from default Outlook profile. It uses the Outlook interop assembly to use the ol. Folder. In. Box enumeration. It creates a custom object consisting of Subject, Received. Time, Importance, Sender. Name for each In. Box item. Important depending on the size of your In. Box items this function may take several minutes to gather your In. Box items. If you anticipate doing multiple analysis of the data, you should consider storing the results into a variable, and using that. Example Get Outlook. Inbox where. Received. Time gt datetime551. AND. Received. Time lt datetime51. Download Crack For Cricket 07. Displays Subject, Received. Time, Importance, Sender. Name for all In. Box items that are in In. Box between 551. Example Get Outlook. Inbox Group Object Property Sender. Name sort Object Count Displays Count, Sender. Name and grouping information for all In. Box items. The most frequently used contacts appear at bottom of list. Example In. Box Get Outlook. Inbox Stores Outlook In. Box items into the In. Box variable for further offline processing. Example In. Box Measure Object. Displays the number of messages in In. Box Items . Example In. Box where. Scripting Games sort Received. Time Descending select subject, Received. Time last 5 Uses In. Box variable previously created and searches subject field for the string 2. Scripting Games it then sorts by the date In. Box. This sort is descending which puts the oldest messages at bottom of list. The Select Object cmdlet is then used to choose only the subject and Received. Time properties and then only the last five messages are displayed. These last five messages are the five oldest messages that meet the string. Notes NAME Get Outlook. Inbox AUTHOR ed wilson, msft LASTEDIT 0.