User account has c and co attributes to specify the country of the user. c attribute has the country code and co has actual country name. When we edit the user accounts to populate the country code, we need to know the correct code. These country codes are defined in ISO 3166 (LINK). If you … Continue reading Country Codes used in Active Directory
Month: July 2015
Exchange 2013: Get-MoveRequest batch status returns nothing
I have added batch migrations (with an csv file) in Exchange 2013 web console. Then I wanted to see the migration (mailbox move) status in Exchange Shell. Get-MoveRequest –BatchName “CorrectBatchName” That returned nothing. I was baffled. I found the answer when I ran the following command. BatchName property has the correct batch name format. Get-MoveRequest … Continue reading Exchange 2013: Get-MoveRequest batch status returns nothing
How to check PowerShell version?
You can check installed PowerShell version in three ways. Check out the commands below: PS C:\> $PSVersionTableName Value---- -----PSVersion 5.0.10130.0WSManStackVersion 3.0SerializationVersion 1.1.0.1CLRVersion 4.0.30319.42000BuildVersion 10.0.10130.0PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}PSRemotingProtocolVersion 2.3 PS C:\> $Host.VersionMajor Minor Build Revision----- ----- ----- --------5 0 10130 0 PS C:\> (Get-Host).VersionMajor Minor Build Revision----- ----- ----- --------5 0 10130 0
AD: Get Display Name from user name (SAMAccountName)
I read PowerShell.com’s blog get display name out of user name in a one line. Here is a quick way to find the current user in your Active Directory and retrieve account information such as the display name:([adsisearcher]"(samaccountname=$env:USERNAME)").FindOne().Properties['displayname'] I have even found easier way than using Active Directory PowerShell Module. (Get-ADUser $env:USERNAME).name
Exchange: The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded
Are you getting this following error in Exchange Console or Shell? Connecting to remote server ExchServer.company.com failed with the following error message : The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the system quota. … Continue reading Exchange: The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded
Exchange: How to get Mailbox size in Exchange Shell?
Get-MailboxStatistics cmdlet gives TotalItemSize which is the mailbox size. But the TotalItemSize doesn't contain the mailbox size in numbers, it's a PowerShell deserialized object. This command displays the mailbox size from the value property: (Get-MailboxStatistics -Identity username).TotalItemSize.Value Example output: 10.43 GB (11,202,063,583 bytes) But how to make it usable in creating reporting or other purpose. … Continue reading Exchange: How to get Mailbox size in Exchange Shell?
Internet Explorer (IE) – “Continue to this website” option is missing
With the new update (KB2661254), Microsoft is started blocking the websites with certificate key length is 1024 or less. With this IE will never let you connect to site at all. All you get is "Click here to close this webpage". Fortunately Microsoft explained how to override this security feature in the same KB article … Continue reading Internet Explorer (IE) – “Continue to this website” option is missing