Merge branch 'main' of http://git.dd:3000/AppStd/Skriptentwickung
This commit is contained in:
commit
6c34c8c4f7
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 1.0.0.0 - xx.11.2023
|
Version 1.0.0.0 - 30.11.2023
|
||||||
NEW: -
|
NEW: -
|
||||||
FIX: -
|
FIX: -
|
||||||
CHG: -
|
CHG: -
|
||||||
|
|||||||
Binary file not shown.
@ -1,8 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 2.0.0.3 - 15.05.2022
|
Version 2.0.0.3 - 07.03.2024
|
||||||
NEW: -
|
NEW: -
|
||||||
FIX: -
|
FIX: - Error Folder will now only created if its necessary
|
||||||
CHG: - Removed old messages in code
|
CHG: -
|
||||||
REM: -
|
REM: -
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -1,12 +1,29 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
ECHO Skript bitte immer als lokaler Admin laufen lassen!
|
REM ----------------------------------------------------------------------------
|
||||||
ECHO -------------------------------
|
REM Copyright (c) 2024 by Digital Data GmbH
|
||||||
ECHO.
|
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"
|
pushd "%~dp0"
|
||||||
|
|
||||||
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\ArchivedObjects \\DD-STO01\DD-STO01-A2$\ArchivedObjects
|
SET DFSRSERVER=172.24.11.1
|
||||||
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\ServerObjects \\DD-STO01\DD-STO01-A2$\ServerObjects
|
SET DFSRROOTPATH=\\dd-gan.local.digitaldata.works\dd-dfsr01
|
||||||
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\SharedObjects \\DD-STO01\DD-STO01-A2$\SharedObjects
|
SET DFSRSERVERPATH=\\DD-STO01\DD-STO01-A2$
|
||||||
dfsutil.exe client property state active \\dd-gan.local.digitaldata.works\dd-dfsr01\UserObjects \\DD-STO01\DD-STO01-A2$\UserObjects
|
|
||||||
|
|
||||||
|
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
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user