PowerShell – List All Domain Users and Their Last Logon Time
Nov17

PowerShell – List All Domain Users and Their Last Logon Time

KB ID 0000752 Problem In the past I’ve looked at third party tools to do this but what if you wanted to use PowerShell? Solution   Heres’ a cool solution that might interest you also Updating Domain Computer Objects with User and Machine Information 1. On your server paste the following script into Notepad; $NumDays = 0 $LogDir = “.Users-Last-Logon.csv” $currentDate = [System.DateTime]::Now $currentDateUtc...

Read More
Import Microsoft Outlook Contacts into Google+
Nov17

Import Microsoft Outlook Contacts into Google+

KB ID 0000482 Problem Importing and adding friends into your “Circles” is easy if you use Gmail, however if your contacts are in Microsoft Outlook then they wont get picked up automatically. Solution Export Outlook 2010 Contacts 1. Launch Microsoft Outlook > File > Open > Import. Export Outlook 2007/2003/2000 Contacts 1. Launch Microsoft Outlook > File > Import and Export. Exporting 2. Export to a File >...

Read More
Exchange – Display/Export Users Mailbox Folder Sizes
Nov17

Exchange – Display/Export Users Mailbox Folder Sizes

KB ID 0000860  Problem A client asked this morning if there was a way he could see each users mailbox size, this is pretty simple to do see here. But he wanted to see each individual folder, and see a breakdown on the sizes of these folders. Solution Display Folder Sizes For an Individual User From the Exchange Management Shell, execute the following command; Get-MailboxFolderStatistics pete | Select...

Read More
Exchange – Export Distribution Groups AND Members to a file
Nov17

Exchange – Export Distribution Groups AND Members to a file

KB ID 0000209  Problem Yes you can use the Powershell commands, Get-DistributionGroupMember –identity “group name” | ft name, primarysmtpaddress But you have to do that for every group and I’ve tried Piping the Get-DistributionGroup in there but it does not seem to want to work 🙁 Solution 1. Download this script and extract it to the root of the Exchange servers C: drive. 2. On the Exchange server > Click > Start > All...

Read More
Exchange – Export all your Email Addresses
Nov17

Exchange – Export all your Email Addresses

KB ID 0000277  Problem If you want to get all your Email addresses in one place – either for a report or just for your own records then you can use powershell to export then to csv file. Solution 1. On your Exchange server, Start > All Programs > Microsoft Exchange Server 2010 > Exchange Management Shell. 2. Issue the following command, get-mailboxserver | get-mailbox | export-cdv Email_Addresses.csv 3. Once executed...

Read More