}

Blog

Lees hier de laatste IGA-ontwikkelingen

WMI: translate share to local path on remote server

On Error Resume Next strServer = wscript.arguments(0) strShare = wscript.arguments(1) Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\" & strServer & "rootcimv2")

Lees meer

VBScript: create IIS virtual directory with content redirection

Option Explicit On Error Resume Next Dim ServObj Dim VdirObj Dim VdirName Dim VdirPath Dim VdirResourceContent VdirName = wscript.arguments(0) VdirPath = wscript.arguments(1) VdirResourceContent = wscript.arguments(2) & ",EXACT_DESTINATION"

Lees meer

Oracle: create, grant user select and connect

CREATE USER "[username]" PROFILE "DEFAULT" IDENTIFIED BY "[username]" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK GRANT "CONNECT" TO "[username]" GRANT "[table]" TO "[username]"

Lees meer

WMI: get the last logon and logged on user from an exchange mailbox

The script below uses the Exchange server and the legacyExchangeDN as input and outputs the mailbox last logon time in Exchange and the connected user.

Lees meer

Beaufort: check for duplicate pers_nr on the same sofi_nr

In every HR-system you can have the situation that an employee leaves the company and re-joins about a year later. The company can register the user using the old record or create an entirely new employee record. In the latter case, HR to AD synchronizations will not work properly unless you check for this situation. Using the sofi_nr, which is unique for an identity, you can see if there are other employee records with a later contract end date for the same sofi_nr.

Lees meer