Update samy.ps1

This commit is contained in:
2025-12-17 22:00:33 -05:00
parent d13a193e1d
commit 4b8c0baba1

View File

@@ -2290,7 +2290,7 @@ function Invoke-SamyPrinterInstall {
) )
try { try {
$profile = Get-SamyPrinterProfile -ClientCode $ClientCode -ProfileName $ProfileName $profile = Get-SvsPrinterProfileLocal -ClientCode $ClientCode -ProfileName $ProfileName
$targetName = $profile.DisplayName $targetName = $profile.DisplayName
if ($PSCmdlet.ShouldProcess($targetName, "Install printer")) { if ($PSCmdlet.ShouldProcess($targetName, "Install printer")) {