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.
This PowerShell script will check the registry for the last time the Group Policy ran, calculate the current date and compare to a set value (30 Days). It will the result is greater than the set value it will return $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 script will detect check if the CCMSetup binaries are locally installed. If they are available, it will use those binaries to run the remove/install. If they are not it will reach out to the UNC path specified in the script and copy them locally for the removal/install. Please note that the system has […]
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 […]