Added nas connect to deployment script

will check if `MountNAS.cmd` exists an start it if true, to connect the smb shares to the system
This commit is contained in:
Bram Prieshof
2022-03-18 14:59:09 +00:00
parent 8a43f937cc
commit 71ab0008fb

View File

@@ -9,5 +9,8 @@ REM # @project: IMGSystTools #
REM # @author: Bram Prieshof #
REM ###################################################
echo Starting nas connect script...
if exist C:\SysTools\DeployTools\MountNAS.cmd start /wait C:\SysTools\DeployTools\MountNAS.cmd
echo Starting deployment script...
PowerShell.exe "Set-ExecutionPolicy -Scope Process Unrestricted -Force; C:\SysTools\DeployTools\Deploy-FirstBoot.ps1"