8
0
This commit is contained in:
KammM 2024-03-17 22:33:42 +01:00
commit 6c34c8c4f7
7 changed files with 29 additions and 11 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------------------
Version 1.0.0.0 - xx.11.2023
Version 1.0.0.0 - 30.11.2023
NEW: -
FIX: -
CHG: -

View File

@ -1,8 +1,9 @@
-------------------------------------------------------------------------------
Version 2.0.0.3 - 15.05.2022
Version 2.0.0.3 - 07.03.2024
NEW: -
FIX: -
CHG: - Removed old messages in code
FIX: - Error Folder will now only created if its necessary
CHG: -
REM: -
-------------------------------------------------------------------------------

View File

@ -1,12 +1,29 @@
@ECHO OFF
ECHO Skript bitte immer als lokaler Admin laufen lassen!
ECHO -------------------------------
ECHO.
REM ----------------------------------------------------------------------------
REM Copyright (c) 2024 by Digital Data GmbH
REM
REM Digital Data GmbH • Ludwig-Rinn-Strasse 16 • D-35452 Heuchelheim
REM Tel.: 0641/202360 • E-Mail: info-flow@digitaldata.works
REM ----------------------------------------------------------------------------
REM Creation Date / Author: 06.01.2024 / MK
REM Version Date / Editor: 27.02.2024 / MK
REM Version Number: 1.1.0.0
pushd "%~dp0"
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\ArchivedObjects \\DD-STO01\DD-STO01-A2$\ArchivedObjects
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\ServerObjects \\DD-STO01\DD-STO01-A2$\ServerObjects
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\SharedObjects \\DD-STO01\DD-STO01-A2$\SharedObjects
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\UserObjects \\DD-STO01\DD-STO01-A2$\UserObjects
SET DFSRSERVER=172.24.11.1
SET DFSRROOTPATH=\\dd-gan.local.digitaldata.works\dd-dfsr01
SET DFSRSERVERPATH=\\DD-STO01\DD-STO01-A2$
ping -n 1 %DFSRSERVER% >nul
IF %errorlevel% equ 0 (
ECHO Der Server %DFSRSERVER%, ist erreichbar!
dfsutil.exe client property state active %DFSRROOTPATH%\ArchivedObjects %DFSRSERVERPATH%\ArchivedObjects
dfsutil.exe client property state active %DFSRROOTPATH%\ServerObjects %DFSRSERVERPATH%\ServerObjects
dfsutil.exe client property state active %DFSRROOTPATH%\SharedObjects %DFSRSERVERPATH%\SharedObjects
dfsutil.exe client property state active %DFSRROOTPATH%\UserObjects %DFSRSERVERPATH%\UserObjects
) else (
ECHO Der Server %DFSRSERVER%, ist nicht erreichbar!
)
timeout /t 10
exit