Monthly Archives: January 2016

PowerShell- Monitoring Multiple Services On Multiple Servers Using WMI Class -Win32_Service

The requirement is to check only those services where startup mode set to Auto and services that stopped. In my previous post have used Get-Service cmdlet which do not bind any such information hence I’m querying Win32_Service. This class has StartMode and … Continue reading

Posted in PowerShell | Tagged , , , | Leave a comment

Mailbox Statistics report with Email addresses

Script to collect and export the mailbox properties from Get-Mailbox and Get-MailboxStatistics cmdlets to a CSV file This script can be extended based on the required attributes Get-Mailbox -ResultSize Unlimited  |  Select-Object DisplayName,  SamAccountName,servername,database, RecipientTypeDetails,PrimarySmtpAddress, HiddenFromAddressListsEnabled, @{label=”ItemCount”;expression={(Get-MailboxStatistics $_).ItemCount}}, @{label=”TotalItemSize”;expression={(Get-MailboxStatistics $_).TotalItemSize}},   @{label=”DeletedItemCount”;expression={(Get-MailboxStatistics $_).DeletedItemCount}}, @{label=”TotalDeletedItemSize”;expression={(Get-MailboxStatistics $_).TotalDeletedItemSize}}, @{label=”MailboxGuid”;expression={(Get-MailboxStatistics $_).MailboxGuid}}, @{label=”LastLogoffTime”;expression={(Get-MailboxStatistics $_).LastLogoffTime}},  @{label=”LastLogonTime”;expression={(Get-MailboxStatistics $_).LastLogonTime}},IssueWarningQuota, ProhibitSendQuota   Export-Csv “Path to the output file ” -NoTypeInformation

Posted in Exchange, PowerShell | Tagged , , , , , | Leave a comment

MongoDB -Access different databases and Collections

You can use db.getSiblingDB() method to access another database without switching the database. To List Collections of PP database and query collection named “restaurants” db.getSiblingDB(‘PP’).getCollectionNames() The PP Database has three collections first restaurants second Accessing PP database temporarily from Test … Continue reading

Posted in MongoDB | Tagged , , , , , , | Leave a comment

XenApp/XenDesktop 7.6 FP3 VDA Deployment Issue

During the upgrade to XenApp 7.6 FP3 VDA encountered the following message. I was wondered on seeing this popup to restart the server during the upgrade. After restarting the server for couple of times I was encountered with the same … Continue reading

Posted in Citrix, XenApp VDA, XenDesktop VDA | Tagged , , | Leave a comment

Install MongoDB 3.2 on Windows

We can install MongoDB as a windows service. The steps are given below Prerequisite – Install Hotfix kb2731284 on the MongoDB Server on Windows Box STEP1 – Download MongoDB Download the latest release of MongoDB from and select the … Continue reading

Posted in MongoDB | Tagged , | 2 Comments

2015 in review

The stats helper monkeys prepared a 2015 annual report for this blog. Here’s an excerpt: The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 48,000 times in 2015. If it were a … Continue reading

Posted in GENERAL | Leave a comment