Tuesday, January 6, 2015

Exchange Server ActiveSync User List Powershell

[PS] C:\Windows\system32>Get-ActiveSyncDevice | Get-ActiveSyncDeviceStatistics | select-object DeviceID,Identity,LastSuccessSync |export-csv c:\temp\report.csv

or

Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} | ft name, activesyncenabled –autosize > c:\ActiveSyncEnabled.txt

Read more...

Exchange server view mailbox and archive mailbox size

(Get-Mailbox) | Select-Object name,@{n="Primary Size(MB)";e={(Get-MailboxStatistics $_).totalItemsize.value.toMB()}},@{n="Archive Size(MB)";e={(Get-MailboxStatistics -archive $_).totalItemsize.value.toMB()}} | Export-csv c:\report.csv
Read more...

Tuesday, August 12, 2014

Decrypt files encrypted by cryptolocker

https://decryptcryptolocker.com/



Read more...

Wednesday, August 6, 2014

Active Directory Accounts that do not have Thumbnail Photo

First please download and install  Quest ActiveRoles Management Shell for Active Directory.

and execute the command below;

Get-QADUser -IncludedProperties "thumbnailPhoto" | Where-Object {$_.thumbnailPhoto -eq $null}
Read more...

Tuesday, August 5, 2014

Archive Database Statistics

[PS] C:\Windows\system32>Get-MailboxStatistics -Database "Archive Database Name"
Read more...

ESX Host Phyical Network Adapters MAC Addresses

Execute the command below in console or SSH session.

esxcfg-nics -l
Read more...

Friday, July 25, 2014

Disabled AD Account that have mailboxes

Please execute the command below in EMS;

get-Mailbox -resultsize unlimited | where { $_.ExchangeUserAccountControl -match “AccountDisabled”} | select name,database,organizationalunit | sort-object name | export-csv c:\disabledaccountswithmailbox.csv
Read more...
 
span.fullpost {display:none;}