This commit is contained in:
2020-08-22 17:45:37 +02:00
parent 2efebb0b7e
commit 373b157cb4
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
tell application "Finder"
try
mount volume "smb://ds-pohle.local/consulting"
end try
end tell

View File

@@ -0,0 +1,9 @@
# Find invalid Objects in Exchange
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
Get-Mailbox -ResultSize Unlimited | findstr "Warning"
Get-Contact -ResultSize Unlimited | findstr "Warning"
Get-DistributionGroup -ResultSize Unlimited | findstr "Warning"
Get-DynamicDistributionGroup -ResultSize Unlimited | findstr "Warning"
Get-PublicFolder -ResultSize Unlimited -Recurse | findstr "Warning"

View File

@@ -0,0 +1,47 @@
@echo off
rem : DeleteProfile.cmd - Löschen eines Benutzerprofils auf einer Windows 10 Station
rem : Christian Pohle, verwendet DelProf2 von Helge Klein https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/
rem : v1.0 22.8.2020 - Erste VErsion
rem : Outfit
title Delete Profile
color 17
rem : Change to actual Dir
cd /d %0\..\
rem : Check Parameters
IF [%1] == [] GOTO GetParms
IF [%2] == [] GOTO GetParms
set PCNAME==%1
set USERNAME==%2
goto RunIT
:GetParms
rem : Get Command Line Parameters
echo.
echo Aufruf
echo DeleteProfile PCNAME USERNAME
echo.
echo oder geben Sie die Daten jetzt hier ein:
echo.
set /p PCNAME="Name des PC auf dem das Profil geloescht werden soll? "
set /p USERNAME="Logon Name des Benutzer, dessen Profil geloescht werden soll? "
goto RunIT
:RunIT
rem : Start Remote Registry Service
sc \\%PCNAME% config RemoteRegistry start=demand
sc \\%PCNAME% start RemoteRegistry
rem : Delete Profile
DelProf2 /c:%PCNAME% /id:%USERNAME%
rem : Stop Remote Registry Service
sc \\%PCNAME% stop RemoteRegistry
sc \\%PCNAME% config RemoteRegistry start=disabled
GOTO End
:End