Automating Intune Application Packaging

On the surface, packaging applications for deployment with Intune seems simple: Wrap an installer using the IntuneWinAppUtil.exe utility; provide silent installation and uninstallation commands; provide a detection method; and call it a day, right? Practically speaking, however, there are ample opportunities for human error. Naturally, the solution is automation! This One Zero One automation script attempts to “normalize” application deployment […]

Update Visual Studio Code Updates Settings with PowerShell

On Windows systems, Visual Studio Code settings are stored in a subfolder of the User profile. %APPDATA%\Code\User\settings.json There is no global settings file, so if you are deploying in an enterprise environment where updates are managed with something like Microsoft Endpoint Manager (Intune), you might wish to disable VSCode’s update check so it doesn’t nag your users who may not […]

Removing AppX Packages with PowerShell

Uninstalling an AppxPackage will remove it from the current user’s start menu and applications list, but it will continue to appear for other users unless the AppxProvisionedPackage is also removed. Use ozo-remove-appx-packages in an Administrative PowerShell to loop through a list of AppxPackages and (a) remove each package for the current user and (b) remove corresponding AppxProvisionedPackage (when found). Relevant […]

Adding Registry Keys and Values with PowerShell

This script interrogates the registry to determine if the user-defined subkey exists. If the key does not exist, it will be created. It will then create or update values according to a user-defined array containing lists of value names, values, and types: Obtain this script by cloning or downloading from GitHub where it is licensed under the GPL 2.0. Relevant […]