Kixtart UDF Library

This UDF library is compiled and formatted on a regular basis from my production library. Any file prefixed with "Lib-" is a library of related functions in a single file.

Note that Libraries of functions and functions of similar type (ie Time related) may be grouped together.

AdCreateGroup()
Description:
  Creates an active directory group
Version:
  1.0 - 2009/12/08
Syntax:
  AdCreateGroup(Container, Name, Type [, IsSec] [, IsMail[:email]] [, Desc] [, SAMname])

AddFont()
Description:
  Adds a font to the local font database
Version:
  1.0 - 2009/01/07
Syntax:
  AddFont(FontFilespec [, Force])

AddPrinter1()
Description:
  Add IP,LPT, or COM Printers locally or remotely.
Version:
  1.2.0 - 2007/01/26
Syntax:
  AddPrinter(Port,PrinterType,[DriverInf],[PrinterDesc],[remotepc],[Default],[LPR])

AddPrinter()
Description:
  Add IP,LPT, or COM Printers locally or remotely. Also, add PrintServer
Version:
  2.0.0 - 2009/11/03
Syntax:
  AddPrinter(Port, PrinterType [, DriverInf] [, PrinterName] [, remotepc] [, Default] [, PortName] [, Share])

AddShortcut()
Description:
  Adds a shortcut to the specified location
Version:
  1.0 - 2007/03/27
Syntax:
  AddShortcut(Name, Group, Exe, Args, StartDir, IconPath, IconIndex, Public)

AdGroupMember()
Description:
  List or Modify an AD Group's contents
Version:
  1.0 - 2009/12/15
Syntax:
  AdGroupMember(Action, Group [, Object])

ADSIObjectInfo()
Description:
  Get or Set an AD object attribute via ADSI
Version:
  1.0 - 2013/11/01
Syntax:
  ADSIObjectInfo([Object] [, Attribute] [, Value])

ADSIUserInfo()
Description:
  Get or Set a user attribute via ADSI
Version:
  2.0 - 2010/01/11
Syntax:
  ADSIUserInfo([User] [, Attribute] [, Value])

ADSIUserStatus()
Description:
  Returns the status of a user account
Version:
  1.0 - 2004/03/14
Syntax:
  ADSIUserStatus(UserName [, Opt, DOMAIN])

AppVer()
Description:
  Returns the version of a configured application component
Version:
  1.0 - 00/00/0000
Syntax:
  AppVer(appname [, server])

Arch() / Is64Bit()
Description:
  Returns a value depending on OS architecture (not CPU architecture)
Version:
  1.0 - 2012/10/13
Syntax:
  Arch()

ArrayAdd()
Description:
  Combines 2 arrays into one
Version:
  1.0 - 2014/01/11
Syntax:
  ArrayAdd(Array1, Array2)

ArrayJoin()
Description:
  Combines 2 arrays into one
Version:
  1.0 - 2020/08/08
Syntax:
  ArrayAdd(Array1, Array2)

Associate()
Description:
  Create, Update, Add, or Delete OPEN and EDIT file associations
Version:
  2.0 - 2014/12/22
Syntax:
  Associate(Extension, Type [, Description] [, OPEN command [, EDIT command] [, Add] [, System] [, Icon] [, UFlag])

UtoA() and AtoU()
Description:
  Converts Unicode to ASCII and ASCII to Unicode
Version:
  1.0 - 2008/10/05
Syntax:
  UtoA(string) or AtoU(string [, termflag])

Base64()
Description:
  Performs Base64 Encode/Decode operations
Version:
  1.0 - 2011/10/08
Syntax:
  Base64(string[, mode])

Bool()
Description:
  return True if Flag is "non-zero", "T", "Y", or "ON"
Version:
  1.1 - 2014/03/14
Syntax:
  Bool(flag [,other_true] [,default])

CheckSum()
Description:
  Generates MD5, SHA-1, SHA-384, SHA-256 & SHA-512 hashes from string or file
Version:
  2.0 - 2019-03-25
Syntax:
  CheckSum(SrcData [, Type] [, InputType] [, CPath])

CheckSumK()
Description:
  Generates MD5, SHA-1, SHA-384, SHA-256 & SHA-512 hashes from a file
Version:
  1.4 - 2016/06/22
Syntax:
  CheckSumK($strFileName, optional $strHashType)

ClientName()
Description:
  Returns the name of the client computer when connecting via RDP/ICA
Version:
  1.0 - 2012/10/14
Syntax:
  ClientName()

CompareVerString()
Description:
  Compares two version strings ("." delimited)
Version:
  1.1 - 2011/09/27
Syntax:
  CompareVerString(Version1, Version2)

ComputerInGroup()
Description:
  Checks the local computer for membership in one or more groups
Version:
  1.0 - 2010/01/22
Syntax:
  ComputerInGroup(Groups)

CopyFiles()
Description:
  Recursively copy files from a source to destination,
Version:
  1.1 - 2014/12/27
Syntax:
  CopyFiles(Src, Dst [, MD] [, Rec] [, silent])

CopyFiles2()
Description:
  Recursively copy files from a source to destination,
Version:
  1.0 - 2007/01/31
Syntax:
  CopyFiles2(Src, Dst [, MD] [, Rec])

CreateGUID()
Description:
  Creates a GUID (globally unique identifier)
Version:
  1.0 - 2003/09/19
Syntax:
  CREATEGUID([FORMAT])

csv()
Description:
  Converts between CSV record and array
Version:
  1.4 - 2020/08/09
Syntax:
  csv(Record [, IgnoreErr] [, DelimChar])

DirList()
Description:
  Returns an array with a list of files in a given directory
Version:
  1.3g
Syntax:
  DirList(DirName [, Options])

DirPlus()
Description:
  Returns an array containing directory files and folders
Version:
  2.34 - 2005/09/20
Syntax:
  DirPlus(Path [,Options])

DispResult()
Description:
  Displays any type of data
Version:
  1.0 - 2018/06/01
Syntax:
  DispResult(Data)

Edit()
Description:
  Performs a line edit on data, either newline-delimited string or array
Version:
  1.0 - 2020/08/09
Syntax:
  Edit(Data, Action [, Line] [, D1] [, D2])

EnumIni()
Description:
  Enumerates sections or keys of an INI file
Version:
  2.0 - 2004/10/16
Syntax:
  EnumIni(File [, Section])

FileIO()
Description:
  Read or write file data using an array
Version:
  1.2 - 2013/04/15
Syntax:
  FileIO(File, Mode [, Data] [, OPTS])

fInGroup()
Description:
  Checks 1 or more groups for membership by the current user
Version:
  1.0 - 2013/09/17
Syntax:
  fInGroup(Group[, Group2...]

fMsg()
Description:
  Consolidated message display/logging function
Version:
  1.2 - 2014/12/27
Syntax:
  fMsg(Msg, LMsg, Nl, Mode, Opt, R, C)

fMsg2()
Description:
  Consolidated message display/logging function - Debugging Version
Version:
  1.2 - 2014/12/27
Syntax:
  fMsg(Msg, LMsg, Nl, Mode, Opt, R, C)

FolderMod()
Description:
  Determines if any changes were made to a folder structure
Version:
  1.0 - 2009/04/09
Syntax:
  FolderMod(Root, Datestamp [, Options])

FolderModCheck()
Description:
  Determines if any changes were made to a folder structure
Version:
  1.0 - 2009/02/24
Syntax:
  FolderModCheck(Root, Datestamp [, Exclude])

fSetM() / fGetM()
Description:
  fSetM: Sets/Gets an environment var on the local or target server
Version:
  1.0 - 2002/06/11
Syntax:
  fSetM: fSetM(Var=Value [, server]) fGetM: $VAR = fGetM(Value [, server])

FTPget() - Deprecated in ITCG Coding - see URL() for full functionality
Description:
  gets file from ftp or http server and saves it in specified file
Version:
  1.3 - 2015/09/23
Syntax:
  FTPget(URL, TARGET, USERNAME, PASSWORD, FORCE)

GetAdminName()
Description:
  Returns the localized name for a specified admin user or group
Version:
  1.0 - 2020/03/15
Syntax:
  GetAdminName(name)

GetDefBrowser()
Description:
  Returns a 3-element array with the default browser name, version, and path
Version:
  1.0 - 2019/10/15
Syntax:
  GetDefBrowser()

GetExtFileProperties()
Description:
  Get Extended File Properties / Attributes of Files
Version:
  1.2.2 - 2013/03/06
Syntax:
  GetExtFileProperties($FQFN, $attribute)

GetFolderDate()
Description:
  Gets the folder date and time
Version:
  1.2 - 2017/03/25
Syntax:
  GetFolderDate(Folder [, Which])

GetHbaInfo()
Description:
  Gets data from all fibre channel HBA
Version:
  1.0a - 2014/08/17
Syntax:
  GetHbaInfo(Target)

GetIPinfo() - DEPRECATED - Unsupported on W-7 & higher
Description:
  Gathers a computers IP address, subnet mask, and default gateway on
Version:
  1.1 - 2004/07/23
Syntax:
  $IPinfo = GetIPinfo()

GetLDAPData()
Description:
  Return an array of data from Active Directory using the LDAPQuery UDF
Version:
  1.0 - 2013/08/02
Syntax:
  GetLDAPData(Type [, Qualifier] [, Paths] [, Depth] [, Root] [, AttList])

GetLogName()
Description:
  Returns a guaranteed-unique file name for logging or temp files.
Version:
  1.0 - 2002/07/23
Syntax:
  GetLogName(FilePath [, NumDigits, DateStampFlag])

GetMachineList()
Description:
  Returns a list of all computers in a specified domain
Version:
  1.0 - 2003/03/19
Syntax:
  GetMachineList(domain_name)

GetMSKeys()
Description:
  Returns an array of Product;License_Key data for all installed MSft products
Version:
  1.0 - 2014/01/11
Syntax:
  GetMSKeys()

GetMyPublicIP()
Description:
  Identify the public IP address of an Internet connection
Version:
  1.2 - 2019/01/25
Syntax:
  GetMyPublicIP([URL], [Phrase], [Offset], [LDelim], [RDelim])

GetNetConnections()
Description:
  Lists network connectinos
Version:
  1.0 - 2007/02/15
Syntax:
  GetNetConnections()

GetNetInfo()
Description:
  Returns data by matching an IP address to a subnet list
Version:
  2.2 - 2008/01/20
Syntax:
  GetNetInfo(IP_Addr [, Field] [, File])

GetObjectDN()
Description:
  Returns an LDAP DN string for a computer, user, or group object
Version:
  1.0 - 2011/12/28
Syntax:
  GetObjectDN([Object_Name])

GetObjectOU()
Description:
  Returns the OU string for the current user (default) or computer
Version:
  1.2 - 2009/08/10
Syntax:
  GetUserOU([Object] [, Computer])

GetPage() - Deprecated in ITCG Coding - See URL() for full functionality
Description:
  Loads an (uncached version of a) webpage into a variable.
Version:
  1.1 - 2003/09/05
Syntax:
  GetPage(STRING)

GetResourceBySrv()
Description:
  Returns an array of DNS SRV record data
Version:
  1.1 - 2009/11/11
Syntax:
  GetResourceBySrv(IpAddr [, Short] [, Type] [, NoSlaves])

GetShortcutProperties()
Description:
  Returns a specific shortcut property, or an array of all properties
Version:
  1.0 - 2007/11/08
Syntax:
  GetShortcutProperties(File [, Property])

GetStr()
Description:
  returns a string, according to defined rules
Version:
  1.1 - 2010/09/29
Syntax:
  GetStr(Count, [Secure],[Allowed])

GetTmpFN()
Description:
  Returns a unique filespec in the system temp folder
Version:
  1.0 - 2003/08/17
Syntax:
  GetTmpFN(ID)

GetURL() - Deprecated in ITCG Coding - See URL() for full functionality
Description:
  Gets the HTML from a given web page or FTP site.
Version:
  1.0 - 2003/12/02
Syntax:
  GetURL(URL[, USERNAME] [, PASSWORD])

GetUserOU()
Description:
  Returns the OU string for the current user
Version:
  1.1 - 2008/07/20
Syntax:
  GetUserOU(Object)

GroupMember()
Description:
  List or Modify a Group's contents
Version:
  1.0 - 2010/01/05
Syntax:
  GroupMember(Action, Target, Group [, Object])

GroupMembers()
Description:
  Returns an array of all group members of the specified group
Version:
  1.0 - 2001/11/26
Syntax:
  GroupMembers(Target, Group, [FLAG])

Hash()
Description:
  Creates and maintains a set of associative arrays
Version:
  1.2 - 2013/11/29
Syntax:
  Varies - multiple functions in this file

HostIsServer(), HostIsWkstn()
Description:
  Returns a Boolean status for server or workstation tests
Version:
  1.0 - 2016/02/03
Syntax:
  HostIsServer() or HostIsWkstn()

HWInfo() - DEPRECATED in ITCG CODING - SEE WMISysInfo()
Description:
  Returns an array containing system hardware configuration
Version:
  1.0 - 2002/03/08
Syntax:
  HWInfo([hostname][, pAuth])

Include()
Description:
  Loads a KIX library (UDF)- checks multiple locations
Version:
  1.0 - 2002/09/17
Syntax:
  Include(IncludeFile [,AltLibPath [, Flag ]] )

Ini2Ary()
Description:
  Enumerates all data of an INI file
Version:
  1.1 - 2005/03/11
Syntax:
  Ini2Ary(File)

IniArray() / ReadIniArray() / WriteIniArray() / EnumIniArray()
Description:
  Uses an array image of an INI file to allow large files and fast operation
Version:
  1.5 - 2020/07/23
Syntax:
  IniArray(filename [,array] [,options])

InOU()
Description:
  Returns True if the current user or computer is a member of the named OU
Version:
  1.1 - 2009/08/12
Syntax:
  InOU(OU[ , strict][ , computer])

Install()
Description:
  Copies all files from SourcePath to DestinationPath
Version:
  1.0 - 2007/03/31
Syntax:
  Install(Sourcepath, DestinationPath)

InSubnet()
Description:
  Determines if a specific IP address is in a given network subnet
Version:
  1.0 - 2008/01/20
Syntax:
  InSubnet(Address, Network)

IPConfig()
Description:
  Gets/Sets the IP Configuration for a specified interface
Version:
  1.0 - 2010/09/25
Syntax:
  IPConfig(NICID [, data])

IsInSubnet()
Description:
  Checks if a given IP address is in a specified subnet
Version:
  2.2 -
Syntax:
  IsInSubnet(IPADDRESS, NETWORKID [,SUBNETMASK, RETURN])

IsSSD()
Description:
  Determines if a disk is SSD or Rotating Media
Version:
  1.0 - 2014/12/05
Syntax:
  IsSSD(Drive [, MfrList] [,ReturnVSA])

kfExec()
Description:
  Executes a command and returns STDOUT/STDERR via Kixforms.DLL
Version:
  1.1 - 2020/04/23
Syntax:
  kfExec(Command [, What] [, Pointer])

kfNSLookup()
Description:
  Return a name/address pair via NSLookup
Version:
  1.0 - 2007/10/25
Syntax:
  kfNSLookup(Target)

kfPing()
Description:
  Pings a host, returns status or IP address
Version:
  1.0 - 2007/10/25
Syntax:
  kfPing(host, [Flag], [Wait])

kfVer()
Description:
  Exits if not running minimum KixForms version
Version:
  2.0 - 2009/03/01
Syntax:
  kfVer([Version])

Kix2Htm()
Description:
  Formats a Kixtart Function as a colorized HTML document for web presentation.
Version:
  1.2 - 2008/07/16
Syntax:
  Kix2HTM(SrcTxt, C_Table, A_Table, F_Table, C_Table, Border, Body, LLW)

KixVer()
Description:
  Exits if not running minimum Kix or Beta version
Version:
  1.0 - 2003/05/19
Syntax:
  KixVer(ver [,SoftErr [,BRC]])

LDAPQuery()
Description:
  Uses ADODB to retrieve information from Active Directory.
Version:
  1.0 - 2005/06/20
Syntax:
  LDAPQuery(WHAT, [FROM], [FILTER], [ORDER BY], [SCOPE], [USER], [PASSWORD])

Lib-DB() - Database Interface Function Library
Description:
  Open a connection to a database using ADODB
Version:
  1.11 - 2004/03/07 - (minor code changes)
Syntax:
  Varies - multiple functions in this file

Lib-TC - Scheduled Tasks Control Function Library
Description:
  Initializes the Task and Trigger arrays
Version:
  3.0 - 2012/07/15
Syntax:
  Varies - multiple functions in this file

Lib-WU - WSUS Control Function Library
Description:
  check the version of the update agent - update it if it isn't current
Version:
  1.2 - 2012/05/01
Syntax:
  Varies - multiple functions in this file

Lib-XL - Excel Function Library
Description:
  Instantiates the MS Excel application
Version:
  1.2a - 2020/08/02
Syntax:
  Varies - multiple functions in this file

ListCompare()
Description:
  Compares two delimited lists and returns a pair of arrays of what's missing
Version:
  1.0 - 2020/07/29
Syntax:
  ListCompare(List1, List2, Delimiter)

ListNestedGroups()
Description:
  Returns a list of all groups that the specified account is a member of.
Version:
  1.0 - 2006/03/23
Syntax:
  ListNestedGroups(Account [, Nested])

ListTrim()
Description:
  Trims the trailing delimiter from a delimited list
Version:
  1.0 - 2020/07/29
Syntax:
  ListTrim(List, Delimiter)

LuhnMod()
Description:
  Generate / Check a string using a form of Luhn's Mod algotithm
Version:
  1.0 - 2010/10/08
Syntax:
  LuhnMod(string [, flag] [, length])

LuhnModCk()
Description:
  Generate / Check a string of digits using Luhn's Mod
Version:
  1.0 - 2010/10/08
Syntax:
  LuhnModCk(Text [, flag] [, length])

MapDrive()
Description:
  Maps a UNC path to the specified drive letter
Version:
  1.5 - 2013/03/30
Syntax:
  MAPDRIVE(DRIVE, UNC [, Persistence] [, Label] [, ReMap] [, User] [, Password])

MappedDrives()
Description:
  returns a list of drive mappings via WSH
Version:
  1.0 - 4/17/2008
Syntax:
  MappedDrives()

MappedPrinters()
Description:
  returns a list of print mappings via WSH
Version:
  1.0 - 4/17/2008
Syntax:
  MappedPrinters()

mAscan()
Description:
  Ascan() for multidimensional arrays
Version:
  1.0 - 2009/02/18
Syntax:
  mAscan(ARRAY, EXPRESSION, START, DIMENSION, [ASCAN_FLAGS])

md5()
Description:
  Returns an MD5 checksum, or verifies an MD5 checksum
Version:
  1.0 - 2007/07/15
Syntax:
  md5(file [,compare])

MDPath()
Description:
  Creates a directory path on local or remote system
Version:
  1.0 - 2002/08/18
Syntax:
  MDPath(Path)

Memory()
Description:
  Returns the Available Physical RAM in a local or remote system
Version:
  4.0 - 2013/11/02
Syntax:
  Memory([system])

MoveOU()
Description:
  Moves an object from one OU path to another.
Version:
  1.1 - 2017/09/15
Syntax:
  MoveOU(ObjectName, SourceDN, TargetDN)

Msg() / LMsg() / EMsg() / Abend() / Dbg() - DEPRECATED in ITCG CODING-See fMsg()
Description:
  Writes message text to the console and/or a defined logfile
Version:
  2.0 - 2009/10/19
Syntax:
  Msg(text,[NoNL] [,TFlag])

NacStatus()
Description:
  Returns TRUE if the local system is NAC isolated
Version:
  1.0 - 2012/02/22
Syntax:
  NacStatus()

NetPrinters()
Description:
  Network Printer Management function
Version:
  1.0 - 2010/01/27
Syntax:
  NetPrinters(printer, [command])

AddNetShortcut() / ListNetShortcut
Description:
  Adds a shortcut to Network Neighborhood / Lists existing shortcuts
Version:
  1.0 - 2014/10/10
Syntax:
  AddNetShortcut(Name, Path) / ListNetworkShortcut()

NicInfo()
Description:
  Returns an array of arrays containing descriptions of each NIC
Version:
  1.5 - 2015/08/27
Syntax:
  NicInfo([target] [,WMIAuth])

NSLookup()
Description:
  Returns a name/address pair, given a name or address
Version:
  1.2 - 2016/03/04
Syntax:
  NSLookup(ID [, SERVER] [, 4|6)

NTFSPerms()
Description:
  get and set NTFS permissions
Version:
  1.2 - 2007/10/22
Syntax:
  NTFSPerms($cmds,$object,Optional $trustee)

OpenFile()
Description:
  Opens file based on specified parameters. Supports overwriting a file.
Version:
  1.0 -
Syntax:
  OpenFile(FileName, Mode, Create, Overwrite)

OSInfo() - DEPRECATED in ITCG CODING - SEE WMISysInfo()
Description:
  Returns an array containing operating system information
Version:
  2.0 - 2007/10/08
Syntax:
  OSInfo([hostname] [,WMIAuth])

OSver()
Description:
  Returns the O/S version from the local or remote system
Version:
  1.1 - 2016/02/03
Syntax:
  OSver([target])

OutlookSignature()
Description:
  Sets/Retrieves the Outlook signature for the defined/default profile & account
Version:
  1.1 - 2009/07/02
Syntax:
  OutlookSignature([SigName] [, Profile] [, NewReply])

PageFile()
Description:
  Defines the pagefile size & location
Version:
  1.0 - 2003/04/14
Syntax:
  PageFile(Drives, [Update], [Target])

PartOfDomain()
Description:
  Determines if the local computer is a member of a domain or workgroup
Version:
  1.0 - 2015/04/08
Syntax:
  PartOfDomain()

PathInfo()
Description:
  Returns information about the System PATH
Version:
  2.0 - 2009/03/12
Syntax:
  PathInfo([host])

PathSplit()
Description:
  Returns a 4 element array with Server, Share, Path, and File
Version:
  3.0 - 2009/11/06
Syntax:
  PathSplit("path")

ping()
Description:
  ping - Pings a host
Version:
  2.0 - 2007/10/20
Syntax:
  ping(host, [FLAG], [Wait])

PinIt()
Description:
  Pins a shortcut to the start menu
Version:
  1.2 - 2010/07/29
Syntax:
  PinIt(Path, Name [, String])

PrinterList()
Description:
  Creates an array/list of Printers, and optionally their ports installed,
Version:
  1.3.1 - 2006/05/10
Syntax:
  Printerlist([remotepc] [, displaymode])

PSList() - DEPRECATED in ITCG CODING - SEE WMIProcessList()
Description:
  Returns a list of processes, or detail about a specific process
Version:
  1.0 - 2003/03/21
Syntax:
  PSList([Process] [, computer])

QSort() (originally "qs()")
Description:
  Sorts a 1-dimension array
Version:
  1.0
Syntax:
  qsort(array)

QuickSort()
Description:
  Sort an array
Version:
  1.1 - 2004/09/10
Syntax:
  QuickSort(Array, [IndexCol])

ReadEventlog()
Description:
  Retrieves events from the eventlog
Version:
  1.6 - 2017/11/17
Syntax:
  ReadEventlog(EventLog[, EvtID][, Computer][, DateTime][, UserName][, Password])

ReadUnicodeFile()
Description:
  Reads a Unicode formated text file and returns an array
Version:
  1.0.0 - 2013/05/15
Syntax:
  ReadUnicodeFile(File)

ReParseDir()
Description:
  Parse and intelligently rewrite directory string, removing all "..\" references
Version:
  1.0 - 2014/12/16
Syntax:
  ReParseDir(DirPath)

RepCheck()
Description:
  Determines if a folder replication is needed
Version:
  1.0 - 2008/01/22
Syntax:
  RepCheck(Root, RefFile [, Exclusions] [,FullScan])

Sanity()
Description:
  Performs a "sanity check" on KiX scripts
Version:
  1.4 - 2019-09-17
Syntax:
  Sanity( ScriptName [, LogName] [, Flags] )

SendMail()
Description:
  Sends an email through a local or specified smtp server using CDO
Version:
  1.0 - 2011/04/18
Syntax:
  SendMail(to,from [,subject] [,body] [,body type] [,attachment]

SendMailBA()
Description:
  Sends mail from an array using BLAT.EXE
Version:
  1.1 - 2019/09/16
Syntax:
  SendMailBA(MessageData)

SendMailCA()
Description:
  Sends mail from an array using CDO
Version:
  1.0 - 2019/09/16
Syntax:
  SendMailCA(MessageData)

SetDnsSRV()
Description:
  Creates a DNS SRV record (with defaults for SWDIST)
Version:
  1.0 - 2009/10/19
Syntax:
  SetDnsSRV(Priority, Weight, DnsIp [, DnsDomain] [, RecordType] [, Port] [, Hostname])

ShadowCopyDrives()
Description:
  Returns a list of drives with ShadowCopy enabled
Version:
  1.1 - 2020/06/26
Syntax:
  ShadowCopyDrives([WorkDir])

SNVerify()
Description:
  Formats a server name with leading "\\" & trailing "\"
Version:
  1.0 - 2003/08/18
Syntax:
  SNVerify(server [, Reverse])

SoftLink()
Description:
  Creates a shortcut at path linking to file at targetpath
Version:
  1.2.1 - 2005/12/22
Syntax:
  SoftLink(Path,TargetPath[,Arguments[,StartDir[,IconPath]]])

StringReplace()
Description:
  Replaces text substrings within a string
Version:
  1.0 - 2009/08/29
Syntax:
  StringReplace(Src, S1, S2 [, Start] [, Count])

SV()
Description:
  Prevent non-tokenized scripts from running if modified
Version:
  1.0 - 2009/08/29
Syntax:
  SV()

SvcCtl() - DEPRECATED in ITCG CODING - SEE WMISvcMgr()
Description:
  Starts/Stops service and controls service start type
Version:
  1.0 - 2003/02/11
Syntax:
  SvcCtl(Cmd, Service, [Server], MonitorMode)

SvcList() - DEPRECATED in ITCG CODING - SEE WMISvcMgr()
Description:
  Returns a list of system services an dtheir status
Version:
  1.0 - 2002/04/19
Syntax:
  SvcList([Service, Server])

ActiveTimeZone()
Description:
  Retrieves the Active Timezone or Active Timezone Bias
Version:
  1.0 - 2005/08/15
Syntax:
  ActiveTimeZone([BIAS])

cTime() - DEPRECATED in ITCG CODING - SEE TIMECONVERT()
Description:
  Converts a cTime time into Kixtart format
Version:
  1.2 - 2014/12/28
Syntax:
  CTIME(SECONDS[, OFFSET])

DateCalc() - DEPRECATED in ITCG CODING - SEE TIMEDIFF() & TIMECONVERT()
Description:
  Calculates days between 2 dates or returns a date string
Version:
  1.12 - 2005/03/31
Syntax:
  DateCalc( Date1, Date2|Modifier, [SingleDigit] )

DateTimeUTC()
Description:
  Returns the local time represented as UTC
Version:
  1.1 - 2020/04/23
Syntax:
  DateTimeUTC()

DateUniversal()
Description:
  Returns a ISO-Standard date/time string (YYYY/MM/DD HH/MM/SS) from local PC
Version:
  1.0 - 2018/06/20
Syntax:
  DateUniversal([Mode])

DeltaTime() - DEPRECATED in ITCG CODING - SEE TIMEDIFF()
Description:
  Calculates the time difference between two given times
Version:
  1.1 - 2004/04/07
Syntax:
  DeltaTime(Start,End)

GetTimeNtp()
Description:
  Get current time from NTP
Version:
  1.0 - 2019/12/24
Syntax:
  GetTimeNtp([Target] [,Flag] [, Method])

fnInteger8Date()
Description:
  Returns the Date/Time of an Integer8 date object in YYYY/MM/DD HH:MM:SS format.
Version:
  1.0 - 2005/08/17
Syntax:
  fnInteger8Date(OBJDATE [, BIAS])

IntlDate()
Description:
  Returns the date provided in locale-specific format
Version:
  1.0 - 2019/10/26
Syntax:
  IntlDate(date)

MSDate()
Description:
  Converts between Kix and MS format dates
Version:
  1.0 - 2017/04/08
Syntax:
  MSDate(Date)

NextRunDate()
Description:
  Calculates next possible run date/time for a given index, weekday, & Time
Version:
  1.1a - 2016/03/04
Syntax:
  NextRunDate(Array)

StandardizedTime()
Description:
  Convert a local timestamp to YYYY/MM/DD HH:MM:SS format for standard Kix processing
Version:
  1.0 - 2020/02/28
Syntax:
  StandardizedTime(Date, Time)

TimeConvert()
Description:
  Converts time formats between cTime and Kix Time
Version:
  2.0 - 2007/01/20
Syntax:
  TimeConvert(CValue [, Epoch])

TimeDiff()
Description:
  Calculates the time difference between two given date/time strings.
Version:
  2.4 - 2019/10/01
Syntax:
  TimeDiff(Start [, End] [, Format] [, MSec])

TimeFix()
Description:
  Reformats Time Values to YYYY/MM/DD HH:MM:SS
Version:
  1.2 - 2020/07/02
Syntax:
  TimeFix(DateString [, SrcFormat] [, NoTime])

WeekDay()
Description:
  Returns the numeric weekday value or day name for a given date
Version:
  1.0 - 2013/12/20
Syntax:
  WeekDay(date[, fDName)

Touch()
Description:
  Sets the last modified timestamp on a file, creating the file if necessary
Version:
  1.0 - 2008/06/11
Syntax:
  Touch(FilePath [,TimeStamp])

UtoA() and AtoU()
Description:
  Converts Unicode to ASCII and ASCII to Unicode
Version:
  1.0 - 2008/10/05
Syntax:
  UtoA(string) or AtoU(string [, termflag])

uniq()
Description:
  Removes duplicates from a 1-dimension array
Version:
  2.0 - 2014/01/13
Syntax:
  uniq(array)

Url()
Description:
  Perform various URL-based operations
Version:
  1.4 - 2020/04/24
Syntax:
  Url(url[, type][, header][, body][, user, password][, force] [, target])

WebTimeFormat()
Description:
  Returns a time string suitable for checking file time via http
Version:
  1.0 - 2019/03/06
Syntax:
  WebTimeFormat(timestamp [, fAdjust])

WinActStatus()
Description:
  Returns the Windows Activation Status
Version:
  1.0 - 2015/09/09
Syntax:
  WinActStatus([fVerbose])

WirelessNetworkInfo()
Description:
  Returns the Wireless Network configuration data
Version:
  1.0 - 2015/09/09
Syntax:
  WirelessNetworkInfo([WorkDir])

WMIAuthentication()
Description:
  Authenticates against a local or remote WMI provider
Version:
  1.2 - 2003/05/26
Syntax:
  WMIAuthentication([sComputerName, sUserName, sPassword, sNameSpace])

WMIConfirm()
Description:
  Checks the version of WMI and confirms successful connection
Version:
  1.3 - 2007/04/02
Syntax:
  WMIConfirm([Target] [,objPointer])

WMIExec()
Description:
  Executes a process on a local or remote system
Version:
  1.0 - 2008/03/10
Syntax:
  WMIExec(Command [,host] [,AuthPtr])

WMIInstalledProducts()
Description:
  Reports the installed software products
Version:
  1.1 - 2014/01/24
Syntax:
  WMIInstalledProducts([Target] [,AuthPtr])

WMIMappedDrives()
Description:
  Return a list of mapped drives from a computer
Version:
  1.0 - 2008/03/24
Syntax:
  WMIMappedDrives([, AuthPtr])

WMIMemory()
Description:
  Returns the amount of Physical RAM in a local or remote system
Version:
  1.0 - 2007/04/26
Syntax:
  Memory([Target] [,WMIAuthPtr])

WMINicInfo()
Description:
  Returns an array of arrays containing descriptions of each NIC
Version:
  1.0 - 2008/11/01
Syntax:
  WMINicInfo([target] [,WMIAuth])

WMIPathInfo()
Description:
  Returns information about the system path
Version:
  1.0 - 2008/11/04
Syntax:
  WMIPathInfo([Target] [, AuthPtr])

WMIProcessKill()
Description:
  Terminates a specific process by numeric PID
Version:
  1.0 - 2007/10/20
Syntax:
  WMIProcessKill(Process [, Target] [, AuthPtr])

WMIProcessList()
Description:
  Return a list of process info from a computer
Version:
  1.1 - 2009/02/20
Syntax:
  WMIProcessList([Process] [, Target] [, AuthPtr] [, CFlag])

WMIQuery()
Description:
  Queries WMI information from supported systems
Version:
  2.4.2 - 2007/04/02
Syntax:
  WMIQuery(what, from, [computer], [where], [where_arg], [objAuth])

WMIRemoteExec()
Description:
  Uses WMI to create a process on a remote PC
Version:
  2.0 -
Syntax:
  WMIRemoteExec(COMMAND [, COMPUTER] [, USERNAME] [, PASSWORD])

WMIShutdown()
Description:
  Shuts down a computer (default is local)
Version:
  1.0 - 2008/03/10
Syntax:
  WMIShutdown([func] [, Force] [, Computer] [, AuthPtr])

WMISvcMgr()
Description:
  Manage windows services
Version:
  1.1 - 2008/04/15
Syntax:
  WMISvcMgr(Action, [Service] [, SvcData] [, Computer] [, AuthPtr])

WMISysInfo()
Description:
  Returns an array of system information needed by inventory apps.
Version:
  1.3 - 2014/01/07
Syntax:
  WMISysInfo([Target] [,AuthPtr])

WMISysRole()
Description:
  Returns the Domain Role of a local or remote system
Version:
  1.0 - 2012/01/06
Syntax:
  WMISysRole([system] [,WMIAuthPtr])

WMIUptime()
Description:
  Calculates the length of time the system has been up.
Version:
  1.1 - 2007/04/05
Syntax:
  WMIUptime([Target] [,AuthPtr])

wshExec()
Description:
  Runs a specified command and returns STDOUT and STDERR data
Version:
  1.0
Syntax:
  wshExec(Command [, DFlag])

wshPipe()
Description:
  Runs a specified command and returns STDOUT and STDERR data
Version:
  2.3 - 2017/04/23
Syntax:
  wshPipe(Command [, MaxDelay] [, Part])

wshShortCut()
Description:
  Creates Shortcuts for files or Web pages
Version:
  1.3.4
Syntax:
  wshShortCut(shortcutname, targetpath [,arguments] [,startdir] [,iconpath] [,style] [,Description])