When deploying your OS with ConfigMgr you may (I hope you do 🙂 ) enable BitLocker and saves the recovery information in Active Directory.
This script retrieves the recovery key for a single computer.
To use custom ports you need to create a new website named SMSWEB and assign which port use.
Then go to Administration workspace and select site properties.
Go to the tab labeled ports. In the lower left corner check the checkbox [Use custom web site]
It will warn you that the custom […]
This post is an extension to my friend and MVP -Nicolai Henriksen- great post on this issue. Link: http://www.sccm.biz/2012/06/sccm-and-bitlocker-tpm-real-life.html
Use his post as a starting point.