Skip to content

Instantly share code, notes, and snippets.

@gwalkey
gwalkey / gist:b168d532b472333e96663cf607bf84eb
Last active March 16, 2025 12:00
Create a NuGet Package to Install a Powershell Module
Download the CLI Version of NuGet
https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
--Create Work Paths
md c:\nuget
md c:\nuget\source
md c:\nuget\publish
-- One-Time - Create local NuGet Repo/feed using a local drive path
cd c:\nuget
@indented-automation
indented-automation / Get-InstalledSoftware.ps1
Last active March 19, 2025 15:51
Get-InstalledSoftware
function Get-InstalledSoftware {
<#
.SYNOPSIS
Get all installed from the Uninstall keys in the registry.
.DESCRIPTION
Read a list of installed software from each Uninstall key.
This function provides an alternative to using Win32_Product.
.EXAMPLE
Get-InstalledSoftware