Friday, May 02, 2008

Saturday, January 12, 2008

Citrix - Check name of DSN file Citrix is referencing (ODBC)

Registry Key:
HKLM\Software\Citrix\IMA\DataSourceName

Citrix - Check whether a server is using Direct or Indirect mode to access Datastore

Registry Key:
HKLM\Software\Citrix\IMA\LastPSserver
If the value is a hostname other than the localhost, the datastore is being accessed via Indirect mode (i.e. locally hosted Access or MSDE database on one of the Citrix presentation servers). If the value is not present the server is using Direct mode.

When running in Indirect mode:-
HKLM\Software\Citrix\IMA\PSSERVER
This key indicates the server which is hosting the local access database.

Sunday, June 17, 2007

.NET Class Library Reference

http://msdn2.microsoft.com/en-us/library/aa388745.aspx

Specficially for .NET 1.1
http://msdn2.microsoft.com/en-us/library/aa719441(VS.71).aspx

Saturday, May 05, 2007

FSO Copy Files / Folders

Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
FileSystemObject.CopyFile source,destination,1

FileSystemObject.CopyFolder source,destination,1
ARGUMENTS
source , destination, overwrite

N.b
VBScript create object syntax:
Set objFSO = CreateObject("Scripting.FileSystemObject")
WSH create object syntax:
Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")

VBS & WSH do treat the above differently if parameters are used - see:
http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_lubv.mspx?mfr=true
heading "Comparing VBScript CreateObject and GetObject Functions with WSH".
 

Friday, December 01, 2006

Sunday, November 12, 2006

VBScript Define and Call Subroutines

Define a Subroutine
Sub subroutineName (passedArg1, passedArg2,....)
Dim .....
Set .....
End Sub

Call a Subroutine
Call subroutineName (inputArg1, inputArg2)

PowerShell

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

Vista Bitlocker Drive Encryption

Technical Overview
http://www.microsoft.com/technet/windowsvista/security/bittech.mspx

Saturday, November 11, 2006

Download WMI Admin Tools link

http://www.microsoft.com/downloads/details.aspx?FamilyId=6430F853-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en

Runas CLI

Using Alternate Credentials from Command Line:
Runas /user:username application

Change Default Script Host

Change default script host to CScript:
CScript.exe //H:CScript

Change default script host to WScript:
CScript.exe //H:WScript

Sunday, October 29, 2006

Using ADSI Authentication / Encryption

http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec04/hey1213.mspx
http://windowssdk.msdn.microsoft.com/en-us/library/ms677047.aspx
http://windowssdk.msdn.microsoft.com/en-us/library/ms679913.aspx

ADSI SSL Port

When performing secure authentication with SSL using a bind in ADSI, the Servers SSL port must be 636.
See microsoft support article:
http://support.microsoft.com/kb/817583

Link to ADSI SDK 2.5

Its old but still very useful:
http://www.microsoft.com/technet/archive/winntas/downloads/adsi25.mspx?mfr=true

Sunday, October 22, 2006

Citrix Default Ports

Citrix XML Service: 80
Citrix SSL Relay: 443
ICA Session (Client<->Server): 1494
ICA Browsing (Client/Server<->Server): 1604 UDP
IMA (Server<->Server): 2512
IMA (Management Console<->Server): 2513
Session Reliability (Client<->Server): 2598
Access Suite License Server (Server<->License Server): 27000