Andrew Barnes (aka Scriptimus Prime)
-
Recent Posts
April 2026 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Archives
Categories
- 70-680 videos
- 70-681
- Andrew Barnes
- Answer Files
- Automation
- BDE
- bootstrap.ini
- Conditions
- ConfigMgr
- customsettings.ini
- Deployment
- Desired State Configuration
- Desktop Virtualization
- DomainJoin
- Drivers
- Free MCTS Videos
- HP N40L MicroServer
- Hydration Kit
- Internet Explorer
- IP Address
- KMS
- Lite Touch
- MAK
- MCTS
- MDT
- MDT 2010
- MDT 2012
- MDT Media
- MDT Scripting
- MDT Video Links
- microsoft certification program
- Microsoft Certified
- microsoft certified solutions
- Microsoft Deployment Toolkit
- microsoft kb
- microsoft update
- Migration
- new certifications
- Office 2010
- P2V
- Packages
- PowerShell
- Regional Settings
- SCCM
- SCCM Scripting
- script
- Scripting
- Scripting Techniques
- Scripting ZTIUtility
- software
- task sequence
- technology
- Testlab
- Tips
- Training
- Troubleshooting
- UFD
- USMT
- Variables
- VBScript
- Video Links
- Vista
- VMware
- Volume Activation
- Windows 7
- Windows 7 Deployment
- Windows 8
- Windows 10
- Windows Server 2012
- Windows SIM
- Windows Updates
- WinPE
- XP
- Zero Touch
- ZTIUtility
Meta
Tag Archives: Scripting
LTI/ZTI PowerShell: Deployment Script logging
The task sequence step “Run PowerShell Script” has some cool features. One of which is the way it handles information returned from the Write-Host, Write-Warning and Write-Error cmdlets. MDT collects Information(Write-Host), Warnings(Write-Warning) and Errors(Write-Error) returned from a cmdlet in a … Continue reading
Posted in MDT 2010, MDT 2012, PowerShell, SCCM, Scripting
Tagged Microsoft Deployment Toolkit, PowerShell, SCCM, Scripting
2 Comments
LTI/ZTI PowerShell: Comment Based Help
I recommend using PowerShell comment based help to document your deployment scripts as described on Technet in about_Comment_Based_Help. This makes your scripts self documenting so colleagues can see who wrote it, what it does and examples and parameter usage. Below, … Continue reading
Posted in Deployment, MDT 2010, MDT 2012, PowerShell, SCCM, Scripting
Tagged MDT Scripting, Microsoft Deployment Toolkit, PowerShell, SCCM, Scripting
Leave a comment
LTI/ZTI PowerShell: Accessing Task Sequence Variables
In order to create more useful scripts in your Lite/Zero-Touch deployments, you will need access to the deployment variables. In MDT 2012 you can now access these Task Sequence variables from 2 new PSDrives called TSEnv: and TSEnvList:. Now these drives … Continue reading
Posted in Deployment, MDT 2010, MDT 2012, SCCM, Scripting
Tagged Lite Touch, PowerShell, Scripting, Zero Touch
13 Comments
MDT Powershell: Importing device drivers from organised folders
Below is my import drivers to MDT PowerShell script, also uploaded to the script repository here. My last post focused on creating a driverstore structure. Now it’s time to import your hard work into MDT. This script will import all your … Continue reading
Posted in MDT 2010, MDT 2012, PowerShell, Scripting
Tagged Drivers, MDT Scripting, Scripting
8 Comments
MDT PowerShell: Creating a New Deployment Share
When you perform Actions in MDT you can use the View Script function to replicate the PowerShell commands that you run. This is so you can store them in a custom script to build up your own automation task(s). Clicking … Continue reading
MDT Scripting: Using VBScript Expressions in customsettings.ini file
I received an email from one of my readers: I’m trying to deploy to a mixed physical / VM environment using the serial number for the OSDComputername. However, on my VMs (VM Ware) the VM serial number is full of … Continue reading
Posted in MDT 2010, MDT 2012, Scripting
Tagged customsettings.ini, Microsoft Deployment Toolkit, Scripting, VBScript
12 Comments
PowerShell: Hello World
Alright, it’s time I started blogging about PowerShell. In fact it’s so long overdue that I really don’t know were to get started. There are so many great resources and blogs available now that most people who are motivated to … Continue reading
MDT Scripting: Managing Registry Keys
There are times during deployments when you may need to manage the registry. For example, finding out what Internet Explorer version the machine is using. Or also, creating keys to run programs at start-up etc. Fortunately, there is a utility … Continue reading
MDT Scripting: Handling Files
I’ve always wanted to blog about undocumented features and today’s that day. Recently, I’ve been demonstrating how you can save time on scripting by using the various classes in the ZTIUtility.vbs when creating your custom deployment scripts. However, there’s no … Continue reading
MDT Scripting: Managing Log Files
During deployments, MDT has a powerful logging process. All the logs generated are in a format similar to SCCM so you can use the Trace32 tool to view the log files in a GUI. Your custom scripts will generate individual log files … Continue reading