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 […]

Customizing the AlmaLinux Installer Media

This article shows you how to customize the AlmaLinux (or Red Hat Enterprise Linux, or Rocky Linux, or CentOS Linux) installer media to include a kickstart file and additional file assets. Commands prepended with # should be run as root while commands prepended with $ should be run as your regular user. Prerequisites A basic AlmaLinux workstation installation (temporary is […]

Automating Rdiff-backup with Bash

Rdiff-backup is a robust and well-documented tool for performing reverse differential backups. It is particularly well suited for using Linux and SSH to perform incremental backups of remote Linux systems. This onezeroone.dev script automates the use of rdiff-backup to perform incremental backups of one or more remote Linux systems over SSH to a dedicated local volume. It will: For documentation […]

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 […]

Loading