Progress
This commit is contained in:
14
apps/C7025-Vynohradska/check.ps1
Normal file
14
apps/C7025-Vynohradska/check.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
$PathIntune = "$Env:Programfiles\Intune"
|
||||
|
||||
$PackageName = "Printer"
|
||||
$PrinterName = "Xerox Versalink C7025 - Vznohradská"
|
||||
|
||||
Start-Transcript -Path "$PathIntune\Log\$PackageName-install.log" -Force
|
||||
|
||||
$PrinterExist = Get-Printer -Name $PrinterName -ErrorAction SilentlyContinue
|
||||
if ($PrinterExist) {
|
||||
Write-Output "Found it!"
|
||||
}
|
||||
0
|
||||
|
||||
Stop-Transcript
|
||||
Reference in New Issue
Block a user