Scripting offers the most flexibility and power of any tool in your toolbox. In this session we'll discover what makes scripts so powerful, some use cases, and learn how and when to apply scripts to accomplish nearly anything! Learn more: http://dell.to/1GDYpr8
4. Dell World User Forum
What exactly is Scripting?
• Powerful and flexible tool to accomplish tasks in your environment
• Group Policy Supplement
– RDP Connections
– Drive Mapping
– Printer Deployment
– UAC
– Software and Hardware settings
• Includes wizards!
5. Dell World User Forum
OK, so how exactly does Scripting work?
• Different types of scripts
– Online K-Script
– Offline K-Script
– Online Shell Script
• Can use labels, target different Operating Systems, run in different accounts, run
scheduled or on-demand, and use multiple dependencies
• Uses basic logical steps to control behavior
6. Dell World User Forum
Scripting Steps Overview
Verify a condition
exists (File, Directory,
Registry Key, etc.)
Take Action!
On Verify failure, take
action (installer, script,
etc.)
On Remediation
success, take action
(Script, Status, etc.)
On Remediation
failure, take action
(Script, Status, etc.)
Verify
On Success
Remediation
Remediation
Success
Remediation
Failure
9. Dell World User Forum
Task Engine Changes
• Things to remove
– start /wait (for .EXE/.MSI)
– DOS commands in Application tasks
– call (for bat)
– “quotes”
• Things to add
– cscript.exe (prior to .VBS)
– Reboot Required checkbox
• Need some assistance
– K2 Advisor – Scan/Identify tasks that need to be changed
10. Dell World User Forum
Working with PowerShell
• PowerShell commands no longer run as direct command lines
• New process
– Save .ps1 file
– Create .bat script with PowerShell commands
– ZIP .ps1 and .bat script together
– Upload as Application task
– Command line is name of .bat
13. Dell World User Forum
Custom Scripts
• Want the automation of Managed Installs with the power of Scripting?
• Want to force a full Inventory after a Managed Install?
• Automate with AutoIt!
16. Dell World User Forum
KACE Support Portal Migrating to Dell Software Support Portal
• Starting in November, all KACE
Support Portal material will be
migrated to the Dell Software Support
Portal
• All service requests will be submitted
online or by phone
• Same great content
– Knowledge base articles
– Video tutorials
– Product documentation
– JumpStart training
• Check out the Support Portal Getting
Started videos
Editor's Notes
Show where the wizards are (not details)
Create a new script and walk through:
Script Types
Online Kscript
Offline Kscript
Online Shell Script
Deploy Options
OS Options
Windows Run-As
Select a Windows OS above
Notify Options
Schedule Options
Dependencies
Tasks
Show AutoIt JAVA Script
Explain functionality basics
Log File
Process Ending
JAVA Uninstall Records – Pause and show where to get these in K1000
JAVA Install – Talk about how to get MSI and CAB file
Modify Registry
Force complete Inventory update
ZIP MSI, CAB, and Script
Find new (or correct version) JAVA record in Software Inventory
Upload ZIP to JAVA Software Inventory Record
Create Managed Installation for above JAVA record
Create SMART Label for JAVA for ALL other version but above version
Force TEST to check-in
Profit!
TIME PERMITTING
TIME PERMITTING
In K1000, create Software Inventory record for USMT
Show BAT Script and what it is going to do
In K2000 go and download a MIG file
Explain moving USMT and MIG file to shared location
Upload BAT script to USMT Software Inventory record and choose Supported Windows OSes
Add to user console library with install option of BAT script name