• Search, list and export all distribution groups email addresses in Exchange

    In Exchange Management Shell: Get-DistributionGroup | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\dg_email_address.csv

  • Search, list and export all mailbox email addresses in Exchange

    In Exchange Management Shell: get-mailbox | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\mailbox_email_address.csv

  • Troubleshooting account lockout issue

    I had a problem when an Active Directory user account got locked out all the time. I tried the following tools: Account Lockout and Management Tools NetWrix Account Lockout Examiner I found out that when I unlocked the user account the bad password attempts started again and after 20 retries the account got locked out.…

  • Problem installaing .NET Framework 3.5 on Windows 8

    When I tried to install .NET Framework 3.5 (includes .NET 2.0 and 3.0) from “control panel/programs and features/turn windows features on or off” I got the following error code 0x800F081F. The solution was to install .Net 3.5 via DIM: dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess D: = DVD drive/USB drive or ISO.

  • Rename a database in phpMyAdmin

    I wanted to change a MySQL database name via phpMyAdmin. This is how I did it: 1. Login to phpMyAdmin. 2. Select the database you want to rename. 3. Click on operations tab. 4. In the “rename database to” section, specifiy the new name of the database. 5. You will get a question saying “CREATE…

  • Can’t find and install iLO 2 driver on HP ProLiant DL380 G5 running Windows Server 2012

    I had problem finding an iLO 2 driver that would work with Windows Server 2012. The server was a HP ProLiant DL380 G5. I had earlier managed to get an iLO 2 driver to work with Windows Server 2012 on a HP ProLiant ML350 G5. The hardware ID was: VEN_103C&DEV_3302. It was shown in the…

  • Restore a deleted Active Directory object with PowerShell

    This requires that you have enabled the enable Active Directory Recycle Bin before you deleted the object. Run Windows PowerShell as Administrator. Start by loading the Active Directory module for Windows PowerShell: Import-Module ActiveDirectory List all deleted users (for some reason computer objects also are included when you use objectclass -eq “user): get-adobject -filter ‘objectclass…

  • ProCurve Mananger 4 client won’t start after new patch

    After patchning HP PCM + 4 I got the following message: “Core Components of the PCM Client have been updated by the server. You will need to relaunch the PCM Client for these changes to take effect.” Solved this by login on the server with the local administrator account and launched the PCM client. Got…

  • DNS Manager freezes when trying to delete/remove name server

    When you try to remove a name server in the name server tab in DNS Manager you get the question “Do you want to delete the glue record” and then DNS Manager stops responding/freezes. I got this problem on a Windows 2008 R2 SP1. Solution Microsoft has a hotfix that solved my problem. Check out…

  • Show available space in Exchange 2010 database

    Open Exchange Management Shell: Get-MailboxDatabase -Status | ft name, availablenewmailboxspace,databasesize –AutoSize