How to generate random computer names for lab deployments using SCCM OSD

For my lab environment I use the below described approach to generate random computernames for my clients. The script does the following: Read the Task Sequence Package Name Based on the name set the appropriate prefix Generate a random number between 100 and 1000 Generate the new computer name based on Prefix + random number To implement this do the following: Put the script listed below into a package Add the script to the TS Read More …

List Task Sequence Variables and Values Script

For years I have been using the following script from myITforum to list Task Sequence Environment Variables and Values Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment") For Each oVar In oTSEnv.GetVariables WScript.Echo oVar & "=" & oTSEnv(oVar) Next Because there are so many variables, the only useful way to use the script is to pipe the output into a file, then open that file and search for the variable and its value. So I have created the created Read More …