5 lines
223 B
Batchfile
5 lines
223 B
Batchfile
@echo off
|
|
REM Ensure PowerShell execution regardless of local policy
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "\\domain_name\SYSVOL\domain_name\scripts\Printers\PrinterDriverInstall.ps1"
|
|
exit /b %ERRORLEVEL%
|