Import and Activate Power Scheme

How to import a power scheme and then activate it? Let’s consider the following power scheme: Name: Corporate-Balanced Power Scheme GUID: dam2e870-e11b-4b99-88d9-9bec021a7dbs This power scheme has been saved as mypowerscheme.pow . Import Power Scheme powercfg.exe /import mypowerscheme.pow dam2e870-e11b-4b99-88d9-9bec021a7dbs . . Activate Power Plan powercfg.exe /s dam2e870-e11b-4b99-88d9-9bec021a7dbs . . Result The following power plan is created … Read more

PADT – Registry

PowerShell Application Deployment Toolkit is a tool very powerful to manage the registry: Adding, modifying, deleting registry keys and registry values Adding HKEY CURRENT USER registry entries for all existing user profiles + default user, to avoid Active Setup Modifying the value of environment variables (for example the PATH environment variable)   1. Import REG … Read more

PADT – System Commands

PowerShell Application Deployment Toolkit is a tool very powerful to manage systems: Silent install commands Start or stop services Kill processes Wait a process not existing anymore before continuing Manage scheduled tasks Environment variables There are many possibilities, not forgetting that all old batch commands are compatible with PowerShell too. Here is a memento of … Read more


PowerShell Application Deployment Toolkit is a tool very powerful to use MSIEXEC: Installing using MSI Installing using MSI with MST Patching using MSP Uninstalling… Log files are created in the same folder as the log file of the main script.The log folder is defined in the file AppDeployToolkit\AppDeployToolkitConfig.xml. For example: <Toolkit_LogPath>$envSystemDrive\Logs</Toolkit_LogPath>   MSI MSI must be … Read more

PADT – User Interface

With PowerShell Application Deployment Toolkit, it is possible to use a user interface (GUI). The “Installation Prompt” displays a window with a button allowing the user to launch himself the installation and a countdown to enforce the installation after timeout. The “Installation Welcome” displays a window informing the user that some applications must be closed … Read more

PowerShell App Deployment Toolkit

1. PowerShell App Deployment Toolkit 1.1 Introduction The PowerShell App Deployment Toolkit provides a set of functions to perform common application deployment tasks and to interact with the user during a deployment. It simplifies the complex scripting challenges of deploying applications in the enterprise, provides a consistent deployment experience and improves installation success rates. The … Read more