Upload
dell-world
View
77
Download
1
Tags:
Embed Size (px)
Citation preview
1Dell World User Forum
UFIL517: Scripting
Andrew Lubchansky, Senior TrainerErik Ragan, Senior Trainer
Dell WorldUser Forum
2Dell World User Forum
Agenda
• K1000 Scripting Overview
• K2000 Scripting Overview
• Custom Scripts
3 Dell World User Forum
K1000 Scripting Overview
4Dell 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!
5Dell 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
6Dell 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
Dell World User Forum
Demo: Scripting Walkthrough
8 Dell World User Forum
K2000 Scripting Overview
9Dell 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
10Dell 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
Dell World User Forum
Demo: Join Domain and OU
12 Dell World User Forum
Custom Scripts
13Dell 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!
Dell World User Forum
Demo: Create MI with AutoIt
17 Dell World User Forum
Thank you.
18 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