Aussie owned and operated, with 23+ years of industry experience, Gold Coast InfoTech is delighted to support all of your business technology requirements.

Gallery

Contacts

success@goldcoastinfotech.com.au

1800 291 071

Scripts, Commands, Registry

Scripts for AWS S3 powershell Upload and Download of Folders and Subfolders

UPLOAD LOCAL FOLDER and SUBFILES to S3 #Load AWS Powershell Extensions import-module “C:\Program Files (x86)\AWS Tools\PowerShell\AWSPowerShell\AWSPowerShell.psd1” #Set AWS Creds to connect to S3. The S3 user should have a specific IAM policy to lock them down to this specific bucket only. See here for example s3 policy Set-AWSCredentials -AccessKey <BUCKETUSERACCESSKEY> -SecretKey <SECRETKEY> -StoreAs default #Upload […]

General Scripts, Commands, Registry

Citrix Storefront Filtering

How to configure filtering for Citrix Storefront From our initial testing the Citrix Storefront Filtering are STORE specific, if you want different filters or one store for apps and another store for desktops you need to configure another separate store. From elevated PS prompt set execution-policy = unrestricted c:\program files\citrix\receiver storefront\scripts\ImportModules.ps1 Note: the siteid is […]

Scripts, Commands, Registry WALK THROUGH

Dynamically display the PVS environment detail on users desktop with BGINFO

I want all PVS servers to dynamically display their environment on the desktop when a users logs into the desktop. This can be achieved by: 1) adding a new ‘personality’ variable to each device in PVS 2) scripting the import of the variables from the c:personality.ini file to the windows registry 3) setting BGINFO to […]

Scripts, Commands, Registry

VBSCRIPT to merge multiple text files

Const ForReading = 1 Set objFSO = CreateObject(“Scripting.FileSystemObject”) Set objOutputFile = objFSO.CreateTextFile(“output.txt”) strComputer = “.” Set objWMIService = GetObject(“winmgmts:\” & strComputer & “rootcimv2”) Set FileList = objWMIService.ExecQuery _ (“ASSOCIATORS OF {Win32_Directory.Name=’c:temp’} Where ” _ & “ResultClass = CIM_DataFile”) For Each objFile In FileList Set objTextFile = objFSO.OpenTextFile(objFile.Name, ForReading) strText = objTextFile.ReadAll objTextFile.Close objOutputFile.WriteLine strText Next […]

Scripts, Commands, Registry WALK THROUGH

List of common Citrix Netscaler session policy expressions

My (non exhaustive) list of helpful Netscaler session policies expressions for EPA. SCAN REGISTRY (Advanced free-form) CLIENT.REG(‘HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters_Domain’).VALUE == domain.local CLIENT.REG(‘HKEY_LOCAL_MACHINE_64\\SOFTWARE\\McAfee\\AVEngine_AVDatVersion’).VALUE == 6198. CLIENT.REG(‘HKEY_LOCAL_MACHINE\\SOFTWARE\\McAfee\\AVEngine_AVDatVersion’).VALUE == 6198. CHECK FOR FILE EXISTENCE CLIENT.FILE(‘C:\\WindowsCompany_Laptop.txt’) CHECK FOR RUNNING PROCESS CLIENT.APPLICATION.PROCESS(firewall.exe) EXISTS CHECK OS VERSION (Match any expresssion) CLIENT.OS(winxp).SP == 2 CLIENT.OS(win7) EXISTS DETECT (or not) CITRIX RECEIVER (Match any) REQ.HTTP.HEADER […]

KBArticles Scripts, Commands, Registry

Use Appsense Personalisation to capture Windows Automatic and Custom destinations

To backup the New windows 7 start menu ‘jump lists’ links for things like recent items for Word, excel etc open the EM Agent and get it to copy the following folders at log on and logoff At Logon copy the following \homeservershare%username%WINDOWSRecentAutomaticDestinations and \homeservershare%username%WINDOWSRecentCustomDestinations (including subfolders) TO %APPDATA%MicrosoftWindowsRecentAutomaticDestinations and %APPDATA%MicrosoftWindowsRecentCustomDestinations At logoff Reverse the […]

KBArticles REGISTRY Scripts, Commands, Registry

Default user registry keys for citrix User Profile manager or Appsense Hive in and Out

These are the keys we imported and exported before finally using Appsense Personalisation These were used in conjunction with a mandatory profile. Remember that a mandatory profile will not work well with I.E or user based certificates. There is another post here about changing the user to look like a ‘non mandatory’ user for the duration […]