Install RSAT from PowerShell
This script will detect if RSAT is installed, and if it’s not, then install. At the end it will return as $true or $false.
This script will detect if RSAT is installed, and if it’s not, then install. At the end it will return as $true or $false.
To create a package deployment for Visual Studio Code (VS Code) with Auto Update disabled you must do the following. Install the version of Visual Studio Code you plan to deploy. Browse to: C:\Program Files\Microsoft VS Code\resources\app Open the “product.json” file and remove the following line:“updateUrl”: “https://update.code.visualstudio.com”, Save the “product.json” file to the location of […]
The following code will query the WMI database for installed applications that match what is specified and then invoke the Uninstall() command. This PowerShell command comes very handy when writing removal scripts. Then after you know the exact product name, use the following command to uninstall. Since I’m using the match command, I would recommend […]
I wrote this script to run during an operating system upgrade, you can capture the current Power Config and store it to the system drive. Then after the system has upgraded, you can run the following command to restore the Power Config. If you use SCCM, this can be added as a PowerShell script before […]
I wrote this script to detect the disk number and assign it a variable in the SCCM task sequence. Most hardware manufactures always set the default disk to 0. However, there are some instances where that is not the case. Running this script before the task sequence formats the hard drive will assign the correct […]