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

Example AlmaLinux Kickstart

This is an example kickstart for a typical system with a single disk (nvme0n1) and a single network adapter (ens160). These values may need to be changed to suit your environment. It will copy additional Assets to the target system as described in Customizing the AlmaLinux Installer Media. The resulting system uses LUKS full-disk encryption (the LUKS and root user […]

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

Common Elements for Windows Answer Files

An answer file makes it possible to deploy Windows with “zero touch”, meaning that all of the installation parameters are specified and the installation will proceed without further input from the technician. Warning! If your answer file is fully automated and includes a partitioning scheme, you run the risk of unintentionally wiping out a production system if you accidentally boot […]

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