• 14Oct

    During a cross forest domain migration we had to share the Exchange mailbox in both forests using the old Exchange server. This was necessary because we had migrated applications and non-migrated applications. This command will add send as permissions for the new users object to the mailbox on the old Exchange server. This command can also be used to assign permissions for a user to an Exchange mailbox.

    dsacls “FQDN” /G “{Domain}\{SamAccount}:CA;Send As”

  • 04Apr

    Recently I had a issue with a DPM 2007 server. The database was corrupt. The system administrator didn’t had a correct backup. Luckily the database was recently filled and they were busy implementing new server to the environment, so there were only a few servers in production. My task was to rebuild or restore the database as quickly as possible, so the backup of the servers could continue. As I told before there was no recent backup of the database, so a restore was impossible. So I convinced the IT Manager to rebuild the database. To make sure that everything was healthy and ready I uninstalled DPM 2007 including the database I moved to a different location. I checked if the files and folders were deleted. When I was sure that DPM was uninstalled I reinstalled DPM 2007. DPM 2007 will create a new database by default. The system administrators already had some server running in the previous database of DPM 2007, so I my plan was to use the DPM 2007 Agent which was installed before. The only thing I needed to do was reconnect the agents to the DPM 2007 server. I did some research and I found a pre-installed script in the root of the DPM 2007 folder. The script is called: Attach-ProductionServer.ps1. I opened the script with my script-editor and in the script I found a few parameters. I combined the script with the parameters in the DPM 2007 Powershell and this was the working result:

    Attach-ProductionServer.ps1 -DPMServername ”Servername” -Username ”Administrative Account” -Password “Password” -domain ”Domain”

    If you use the commandline, please note that it is necessary that you need to put the password between quotes. The rest of the parameters doesn’t require quotes only if you have used spaces. Feel free to use the script and if you have tips and tricks feel free to post them here.

   

Recent Comments

  • staat het al ergens bij ons?...
  • Niceeeeeee leuk voor bij beweging voor de laptops...
  • nice tool :)...
  • Hi Sander, Just to add to your great blog, that Extentrix...
  • Great work....