Another kickstarting blog post, getting into the swing of things again after a somewhat lacking period.
Now, RDCman has been revived and arrived last week in a new version 2.8.
For fun and giggles, I did a short PowerShell script which uninstalls the old version (2.7, registered with windows installer) and downloads the new version 2.8 directly from live.sysinternals.com.
This is a little something on the script itself and how to put that to use with ConfigMgr.
The old RDCman was put into the grave some time ago, but has now been revived into the Sysinternals suite. The old version, was a downloadable .msi and was registered with the Windows installer once installed.
My PowerShell script, which is found on my GitHub page here Powershell/Install-NewRDCMan.ps1 at master · imabdk/Powershell (github.com) comes with two parameters:
- This will look for the old RDCman installation. If found, this will be uninstalled automatically and the new RDCman will be downloaded and installed from the Internet. The new RDCman will be installed into C:\Program Files\SysinternalsSuite
- Uninstall the new RDCMan and removes installation directory C:\Program Files\SysinternalsSuite
Create a regular package in ConfigMgr and create two programs running:
NOTE: You can make this a tad more delicious by creating it as an application, but that will require that you come up with some sort of detection method.
- powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\Install-NewRDCMan.ps1 –Install
- powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\Install-NewRDCMan.ps1 –Uninstall