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:
@@ -1,13 +1,16 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
REM ###################################################
|
REM ###################################################
|
||||||
REM # @description: #
|
REM # @description: #
|
||||||
REM # Opens Deploy-FirstBoot.ps1 in powershell with #
|
REM # Opens Deploy-FirstBoot.ps1 in powershell with #
|
||||||
REM # Process ExecutionPolicy set to Unrestricted #
|
REM # Process ExecutionPolicy set to Unrestricted #
|
||||||
REM # #
|
REM # #
|
||||||
REM # @project: IMGSystTools #
|
REM # @project: IMGSystTools #
|
||||||
REM # @author: Bram Prieshof #
|
REM # @author: Bram Prieshof #
|
||||||
REM ###################################################
|
REM ###################################################
|
||||||
|
|
||||||
echo Starting deployment script...
|
echo Starting nas connect script...
|
||||||
PowerShell.exe "Set-ExecutionPolicy -Scope Process Unrestricted -Force; C:\SysTools\DeployTools\Deploy-FirstBoot.ps1"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user