IT Solutions
PowerShell

How to convert VHDX to VHD
In Windows 2012 server / windows 8, Microsoft introduced the new virtual disk format known as VHDX. We cannot add these disks to 2008 Hyper-v which supports the VHD format.
Here is a simple power shell trick do the conversion from VHDX to VHD.
PowerShell Convert-VHD –Path "D:\Master_Copy\Windows_2008R2_Evalution.vhdx" –DestinationPath D:\Windows_2008R2_Evalution.vhd 1 Convert-VHD –Path "D:\Master_Copy\Windows_2008R2_Evalution.vhdx" –DestinationPath D:\Windows_2008R2_Evalution.vhd

How to cancel the current operation in Exchange management shell.
Sometimes we query the exchange system to get the data such as user mailbox status, connection method, etc. It may take some time to respond. If user wants to interrupt that operation for some reason, Simply they can perform.
CTRL+C is the equivalent of the hard-break command in the Exchange Management Shell. If a command is taking too long to run or you want to cancel an operation quickly, press CTRL+C to stop execution.

How to check the mailbox size for all users in exchange 2010
How do I export user mailbox information to Excel?
Exporting mailbox information from Exchange server 2010 has been possible and task has become easier with the addition of the Get-Mailbox and Get-MailboxStatistics commands in – the PowerShell module. In this article, I’ll show you how to extract mailbox information and export the data to an Excel spreadsheet.
Logon to Exchange server 2010 and open the exchange powershell and perform the below command for check the mailbox size for single user.
Get-MailboxStatistics riyazahamed | ft DisplayName, TotalItemSize, ItemCount 1 Get-MailboxStatistics riyazahamed | ft DisplayName, TotalItemSize, ItemCount
If you need to extract the mailbox information for entire user in the More >
Recent Comments