Update samy.ps1
This commit is contained in:
2
samy.ps1
2
samy.ps1
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user