Wednesday, December 17, 2014

Blank Screen after login via OWA in Exchange server 2010/2013 (Updated 01/12/2015)

Hi all... Scenario... I can enter the https://mailserver.domain.local/owa but after I fill the username and password I've got this:

Solution

This happens too when you have recently changed the certificate using the ECP Console
The change is not reflected in the backend site so you'll need to see what's the current certificate in the IIS Default Web site and then go to the IIS Back-end site and make them match both.

IIS Default Site SSL Certificate

IIS Back end Site SSL Certificate

These two buddies MUST match.

Please consider to donate and thank you very much for reading this.

Corrected with grammarly

Monday, December 15, 2014

Easily get the Name and size of all Database (Tested in Exchange 2010/2013/2016)

Heres all you have to do: My script is actually on technet and it has been updated today: 08/28/2017
# Version 1.0 GB
# Created and personalized by Jose Ortega jortega928@yahoo.com
$Space=1GB #So you can get the space in GBs (you can change this to 1MB to get the size in MB)
$decimal=4 #4 decimals
  
Get-MailboxDatabase | foreach-object {add-member -inputobject $_ -membertype noteproperty -name mailboxdbsizeinGB -value ([math]::Round(([int64](get-wmiobject cim_datafile -computername $_.server     -filter ('name=''' + $_.edbfilepath.pathname.replace("\","\\") + '''')).filesize / $Space),$decimal)) -passthru} | Sort-Object mailboxdbsizeinGB -Descending | format-table identity,mailboxdbsizeinGB
Heres the output: Or if you need the size in MB.
# Version 1.0
# Created and personalized by Jose Ortega jortega928@yahoo.com
$Space=1MB #So you can get the space in MB (you can change this to 1GB to get the size in GB)
$decimal=4 #4 decimals
  
Get-MailboxDatabase | foreach-object {add-member -inputobject $_ -membertype noteproperty -name mailboxdbsizeinMB -value ([math]::Round(([int64](get-wmiobject cim_datafile -computername $_.server     -filter ('name=''' + $_.edbfilepath.pathname.replace("\","\\") + '''')).filesize / $Space),$decimal)) -passthru} | Sort-Object mailboxdbsizeinMB -Descending | format-table identity,mailboxdbsizeinMB
You can save this code into a notepad file and keep it as "DatabaseSizeinfo.ps1"

Please consider to donate and thank you very much for reading this.

How to get all Mailboxes in a Database

How to get the name and limits of all databases


Get-Mailboxdatabase | select Name,ProhibitSendReceiveQuota,ProhibitSendQuota,RecoverableItemsQuota,RecoverableItemsWarningQuota | ft -autosize

How to get all mailboxes in a database

Get-Mailbox -DataBase "dbname"
Please consider to donate and thank you very much for reading this.