diff --git a/samy.ps1 b/samy.ps1 index c0877a8..bd7cd1c 100644 --- a/samy.ps1 +++ b/samy.ps1 @@ -2290,7 +2290,7 @@ function Invoke-SamyPrinterInstall { ) try { - $profile = Get-SamyPrinterProfile -ClientCode $ClientCode -ProfileName $ProfileName + $profile = Get-SvsPrinterProfileLocal -ClientCode $ClientCode -ProfileName $ProfileName $targetName = $profile.DisplayName if ($PSCmdlet.ShouldProcess($targetName, "Install printer")) {