From ef5babd56df31fe927a87ea6cbaac64aac5357ed Mon Sep 17 00:00:00 2001 From: Elliot Chernofsky <35854880+emtuls@users.noreply.github.com> Date: Thu, 25 Jan 2024 23:53:05 -0500 Subject: [PATCH] fix getlapspasswords shortcut commands --- packages/getlapspasswords.vm/getlapspasswords.vm.nuspec | 2 +- packages/getlapspasswords.vm/tools/chocolateyinstall.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/getlapspasswords.vm/getlapspasswords.vm.nuspec b/packages/getlapspasswords.vm/getlapspasswords.vm.nuspec index c8f882e0..b3f80970 100644 --- a/packages/getlapspasswords.vm/getlapspasswords.vm.nuspec +++ b/packages/getlapspasswords.vm/getlapspasswords.vm.nuspec @@ -2,7 +2,7 @@ getlapspasswords.vm - 0.0.0.20230713 + 0.0.0.20240125 kfosaaen PowerShell function to pull the local admin passwords from LDAP, stored there by LAPS. diff --git a/packages/getlapspasswords.vm/tools/chocolateyinstall.ps1 b/packages/getlapspasswords.vm/tools/chocolateyinstall.ps1 index f6e9fe69..bb5cd604 100644 --- a/packages/getlapspasswords.vm/tools/chocolateyinstall.ps1 +++ b/packages/getlapspasswords.vm/tools/chocolateyinstall.ps1 @@ -7,6 +7,6 @@ $category = 'Credential Access' $ps1Url = 'https://raw.githubusercontent.com/kfosaaen/Get-LAPSPasswords/2aeffed5dc16c0d7be91ba67b79cfaaf1da1eecd/Get-LAPSPasswords.ps1' $ps1Sha256 = '2256ef01ad1a82633abc376246f0d05784a26f16fc99f1b66e6d42a3fafa2eb4' -$ps1Cmd = 'Import-Module; Get-Help Get-LAPSPasswords' +$ps1Cmd = '. .\Get-LAPSPasswords; Get-Help Get-LAPSPasswords' VM-Install-Single-Ps1 $toolName $category $ps1Url -ps1Sha256 $ps1Sha256 -ps1Cmd $ps1Cmd