Introduction
The Scripts feature in HP Workforce Experience Platform (WXP) helps you automate troubleshooting, maintenance, and configuration tasks across their fleet of devices. This feature enables you to proactively resolve issues, enforce standards, and maintain consistent device performance, without requiring manual intervention.
Use Scripts to:
Automate repetitive tasks across thousands of devices
Apply configurations and fixes consistently
Schedule or run scripts on demand
Reduce manual errors and improve operational efficiency
Target Audience
Primary audience:
IT administrators who create and deploy scripts to manage device health
Help desk personnel who use scripts to resolve common issues
HP partners who use the platform to manage their customers
Internal and external developers who integrate with the platform
Secondary audience:
Security teams enforcing compliance through automated scripts
IT operations managers overseeing execution and success of deployments
Decision-makers, such as product managers, sales team members, and C-suite executives
Key Features
Some of the core capabilities include:
Script Library: Provides a central location to upload, create, edit, and manage PowerShell and Bash scripts. This feature supports:
UI-based script creation and editing
Version history and audit trail
Metadata tagging for easy organization
RBAC support to control execution rights
Use the Script Library to maintain a trusted, reusable catalog of approved scripts and standardize configuration management across your fleet
Script Gallery: Offers a collection of HP-curated scripts built for common use cases. The gallery provides ready-to-use templates that simplify script deployment, reduce errors through pre-tested execution, and align with HP-recommended best practices. This feature supports:
BIOS and driver updates
System cleanup and performance optimization
Security hardening
Device diagnostics
Script Assignments: Allows you to apply scripts to selected device groups. It enables you to:
Run scripts immediately or on a recurring schedule
Target specific device groups or platforms
Track execution progress and status
View logs, cancel runs, or retry failed scripts
This ensures timely delivery of scripts and supports enterprise-scale automation with full visibility and control.
Use Cases
Some of the popular use cases are:
Automated troubleshooting
Scenario: Your team wants to address performance issues on devices across multiple offices.
Solution: Run a cleanup script to remove temporary files and optimize background processes.
Security compliance
Scenario: Your organization wants to enforce antivirus and encryption settings.
Solution: Deploy a script to apply Defender and BitLocker settings across all devices.
Remote support
Scenario: Your team wants to update printer configurations after a migration for remote users.
Solution: Push a script to remote devices to update settings automatically.
Routine maintenance
Scenario: Your organization wants to schedule regular cleanup jobs outside working hours.
Solution: Schedule recurring scripts for disk cleanup and registry repair.
FAQs
How long will a script keep trying to run on a device if the device is offline or unreachable?
WXP will try to run the script for up to 24 hours. After 24 hours, the job is canceled. If the script has a schedule to run again, WXP will try again at the next scheduled time.
When a script starts to run, how long will it continue before it times out?
The default timeout for a script is 20 minutes. You can change this value to any time between 1 and 720 minutes in the script settings.
Related Resources
For additional information, refer to the following articles:
Contact Us
For assistance, create a support case or email support@wxp.hp.com.