Skip to content

Instantly share code, notes, and snippets.

View kirannhegde's full-sized avatar

Kiran Narayan Hegde kirannhegde

  • Citrix Systems
  • Bangalore
View GitHub Profile
import-module au
$domain = 'https://github.com'
$releases = "$domain/git-for-windows/git/releases/latest"
function global:au_BeforeUpdate {
Get-RemoteFiles -Purge -NoSuffix
}
function global:au_SearchReplace {
@{
#Taken from: https://gallery.technet.microsoft.com/scriptcenter/Get-MsiDatabaseProperties-09d9c87c/file/106224/1/Get-MsiDatabaseProperties.ps1
Function Get-MsiDatabaseProperties () {
<#
.SYNOPSIS
This function retrieves properties from a Windows Installer MSI database.
.DESCRIPTION
This function uses the WindowInstaller COM object to pull all values from the Property table from a MSI
.EXAMPLE
Get-MsiDatabaseProperties 'MSI_PATH'
.PARAMETER FilePath