Merge 6dede51bf7 into 9064a66938
This commit is contained in:
commit
3fd6c1a0db
1 changed files with 7 additions and 1 deletions
|
|
@ -1,2 +1,8 @@
|
||||||
REM This file is intended to be used when the toast notification script is used with scheduled tasks with the Hidden.vbs file. See the documentation for further details
|
REM This file is intended to be used when the toast notification script is used with scheduled tasks with the Hidden.vbs file. See the documentation for further details
|
||||||
powershell.exe -file "C:\ProgramData\ToastNotificationScript\PendingReboot\New-ToastNotification.ps1" -Config "\\YourNetworkPath\ToastNotificationScript\Configs\config-toast-pendingreboot.xml"
|
|
||||||
|
IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
|
||||||
|
SET pspath="C:\Windows\SysNative\WindowsPowerShell\v1.0\powershell.exe"
|
||||||
|
) ELSE (
|
||||||
|
SET pspath="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
|
||||||
|
)
|
||||||
|
%pspath% -file "C:\ProgramData\ToastNotificationScript\PendingReboot\New-ToastNotification.ps1" -Config "\\YourNetworkPath\ToastNotificationScript\Configs\config-toast-pendingreboot.xml"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue