Skip to content

Instantly share code, notes, and snippets.

@Recast-team
Recast-team / Install_RecastRCTEnterpriseTools_Standalone.ps1
Created October 25, 2019 14:55
Installs the Recast Right Click Tools Client in Stand alone Mode.
<#Notes:
Assumptions:
!!Your Source folder has a subfolder called 3rdPartyTools with PsExec & Explorer++ in them... if you don't you'll need to Remove some lines in the script.
This Assumes you have Enterprise Tools - no Enterprise Server - and you have the license file in the source folder
Logs Script to "C:\ProgramData\Recast Software\RecastRCT_AppModel_Installer.log"
Configuration Items Not Currenlty Modified via this Script (You can still modify them in your custom configuration.xml that is copied during intial load.
@Recast-team
Recast-team / Install_RecastRCTEnterpriseTools_RMS.ps1
Created October 25, 2019 15:06
Installs the Recast Right Click Tools, designed when installing when you have a Recast Enterprise Server
<#Notes:
Assumptions:
!!Your Source folder has a subfolder called 3rdPartyTools with PsExec & Explorer++ in them... if you don't you'll need to Remove some lines in the script.
This Assumes you have Enterprise & The Enterprise Server... I'll have a Difference Script Created for Enterprise Standalone & Community Tools
Logs Script to "C:\ProgramData\Recast Software\RecastRCT_AppModel_Installer.log"
Configuration Items Not Currenlty Modified via this Script (You can still modify them in your custom configuration.xml that is copied during intial load.
General Tab
@Recast-team
Recast-team / Install_RecastRCTCommunityTools.ps1
Created October 26, 2019 06:05
Installs the Recast Right Click Tools Community MSI
<#Notes:
Assumptions:
!!Your Source folder has a subfolder called 3rdPartyTools with PsExec & Explorer++ in them... if you don't you'll need to Remove some lines in the script.
This was written for community tools.
Logs Script to "C:\ProgramData\Recast Software\RecastRCT_AppModel_Installer.log"
Configuration Items Not Currenlty Modified via this Script (You can still modify them in your custom configuration.xml that is copied during intial load.
Function Convert-FromUnixDate ($UnixDate) {
[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($UnixDate))
}
try
{
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
}
catch
{
$NetworkInfo = Get-CimInstance Win32_NetworkAdapterConfiguration | Where-Object {$_.DHCPEnabled -eq $false}
#Setup TS Environment
try
{
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
}
catch
{
<#
@RecastSoftware / @GWBLOK
V2020.01.27
Updated Script to Create "Operational" Folder and then move newly created Collections there.
Borrowed Code from Benoit Lecours
Made script pull addtional info dynamic, you shouldn't have to make any environmental chanages for script to work.
Script now also creates an "All Workstation" Collection and uses that as the limiting collection, unless one with that name already exist, then uses that.
Change the Limiting Collection info by updating: $LimitingCollection
You can easily modify the Collection Prefix now by changing these below:
$ModelColPrefix = "ModelCol"