Skip to content

Instantly share code, notes, and snippets.

<#
.SYNOPSIS
Menu driven options to assist with testing Windows Installer packages and writing the
read me text file.
.DESCRIPTION
Intended Use
This script is intended to be used as a quick method to test Windows Installer packagers
with the added option of creating the read me text file. The use of the script aids in
testing by removing the need to type the commands to install and uninstall repeatedly.
<#
.SYNOPSIS
Reusable script for staging many device driver packages to the Drivers Store.
.DESCRIPTION
Intended Use
This script was produced to stage device drivers for an App-V package. Because device drivers
or drivers in general can't be virtualised, a method is required to stage the drivers to the
operating system, what we call in App-V colloquial terms, outside of the bubble.
<#
.SYNOPSIS
Manages a shortcut in the desired location for App-V using the appvve hook.
.DESCRIPTION
Intended Use
Creates or removes a shortcut on the target system with the desired target,
working directory and swicthes.
<#
.SYNOPSIS
Script to assist with deploying App-V packages to users, for user publishing based testing.
.DESCRIPTION
Intended Use
This script was produced to assist in publishing packages to users, removing the arduous task
of discovering the target users SID.
<#
.SYNOPSIS
Scans for vulnerabilities via a predefined TXT/CSV, extracts MSI's and App-V if necessary.
.DESCRIPTION
Code Snippet Credits
* #https://stackoverflow.com/questions/35789888/powershell-exclude-folders-in-get-childitem
 
Version History
<#
.SYNOPSIS
Enables Windows 10 Features based on a CSV, with the option to undo/remove.
.DESCRIPTION
The CSV file should contain a header, then each feature name that needs to be enabled on a new line.
Update the housekeeping section with required information.
Example CSV contents below.
Features
<#
.SYNOPSIS
Reusable script to stage/unzip large deployment packages, then launch the
script to trigger the silent install.
.DESCRIPTION
Intended Use
This script was produced to stage a large deployment package with many files,
<#
.SYNOPSIS
Script to resolve Configuration Manager Client (Enforcement) Error 0x87d01290 when processing
App-V packages.
.DESCRIPTION
Intended Use
To resolve an issue with Enforcement Error 0x87d01290 on App-V clients, where software is
$verbosePreference = 'Continue'
$Computers = Import-Csv C:\LocalWhereEver\List_0x87d01290.txt
$GatherLogsHere = "C:\LocalWhereEver\0x87d01290_RemoteLogs"
Foreach ($Computer in $Computers)
{Write-Verbose "Working on $($Computer.Computers)"
If (((Test-NetConnection -ComputerName $Computer.Computers -Port 3389).TcpTestSucceeded))
{Write-Verbose ' Computer is awake.'
If (Test-Path \\$($Computer.Computers)\C$\Windows\Temp\Fix-ConfigMgrClientError0x87d01290.log)
{Copy-Item -Path "\\$($Computer.Computers)\C$\Windows\Temp\Fix-ConfigMgrClientError0x87d01290.log" -Destination "$GatherLogsHere\$($Computer.Computers)_Fix-ConfigMgrClientError0x87d01290.log"}}
<#
.SYNOPSIS
SCCM script detection method to be used in conjunction with
Fix-ConfigMgrClientError0x87d01290.ps1 script.
.DESCRIPTION
Intended Use
To resolve an issue with Enforcement Error 0x87d01290 on App-V clients, where software is