From 3dc8b11719457f1a96bca80c42815cecf2db71ba Mon Sep 17 00:00:00 2001 From: Tony Phipps Date: Wed, 2 Oct 2024 13:21:56 -0600 Subject: [PATCH] Update Get-Software.psm1 --- Modules/Get-Software.psm1 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Modules/Get-Software.psm1 b/Modules/Get-Software.psm1 index 0d2a3ce..08c4760 100644 --- a/Modules/Get-Software.psm1 +++ b/Modules/Get-Software.psm1 @@ -1,14 +1,19 @@ -function Get-Software { +function Get-Software { <# .SYNOPSIS - Gets installed software. + Collects information on all currently installed software on the system. .DESCRIPTION - Gets installed software. + Collects information on all currently installed software on the system. .EXAMPLE Get-Software + .EXAMPLE + Get-Software | + Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID | + Export-Csv -NoTypeInformation ("c:\temp\Software.csv") + .EXAMPLE Invoke-Command -ComputerName remoteHost -ScriptBlock ${Function:Get-Software} | Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID |