Nützliches

Hier einige nützliche Sachen bezüglich Microsoft:

FSMO Rollen

I`ll show you two quick ways to check FSMO roles on Windows 2003 server. 1. open command line and type :netdom query fsmo2. copy this code to notepad and save as fsmo.vbs script :Set objRootDSE = GetObject(”LDAP://rootDSE”)Set objSchema = GetObject _(”LDAP://” & objRootDSE.Get(”schemaNamingContext”))strSchemaMaster = objSchema.Get(”fSMORoleOwner”)Set objNtds = GetObject(”LDAP://” & strSchemaMaster)Set objComputer = GetObject(objNtds.Parent)WScript.Echo “Forest-wide Schema … mehr lesenFSMO Rollen

Posted in Microsoft | Tagged , , , | Kommentare deaktiviert für FSMO Rollen

Exchange Logfiles

Remove Exchange Log Files: Remove old Exchange Log Files Artikel Befehl inkl. Internet Information Service Folder für 14 Tage: gci ‚C:\Program Files\Microsoft\Exchange Server\V15\Logging‘,’C:\inetpub\logs‘ -Directory | gci -Include ‚*.log‘,’*.blg‘ -Recurse | ? LastWriteTime -lt (Get-Date).AddDays(-14) | Remove-Item Enable Circular Logging: Set-MailboxDatabase {Database-Name} -CircularLoggingEnabled $True net stop „Microsoft Exchange Information Store“ net start „Microsoft Exchange Information Store“

Posted in Microsoft | Tagged , , , , , , | Leave a comment

Lokaler Admin auf Startseite anzeigen

How to show Built-In Admin Account on Welcome Screen Umschalt+STRG+F3

Posted in Microsoft | Tagged , , , | Leave a comment

PowerShell Befehle

Verbindung zu Office365:Install-Module -Name AzureADInstall-Module MSOnline $credential = Get-Credential Connect-MsolService -Credential $credential Office 365 AD Sync Befehle:Import-Module ADSync Start-ADSyncSyncCycle -PolicyType Delta Start-ADSyncSyncCycle -PolicyType Initial MAC Adresse per Powershell ansehen: Get-NetAdapter | select name, macaddress | sort macaddress Send Email per Powershell Command: Send-MailMessage -SmtpServer IPorMailServerName -To Emailto@xyz.ch -From EmailFrom@xyz.ch -Subject „It`s me Ronald“ -Body „Send … mehr lesenPowerShell Befehle

Posted in Microsoft | Tagged , , , , , , , , , | Leave a comment

Softwareverteilung

PDQ Deploy von Adminarsenal super Gratis Softwareverteilungs Tool Super Tipps über Softwareverteilung per GPO

Posted in Microsoft | Tagged , , , , , , | Leave a comment

eOpen Volume Licensing Link

Microsoft Volume Licensing Url ehemals eOpen

Posted in Microsoft | Tagged , , , | Leave a comment

Windows Zeitserver konfigurieren

How to set Windows Time Service on Windows Server w32tm /config /manualpeerlist:%DCNAME%.%DOMAIN%.local,ptbtime1.ptb.de,pool.ntp.org,time.windows.com /syncfromflags:manual /reliable:yes /update Erklärung:syncfromflags:manual -> heisst: manuelle Peerliste verwendenreliable:yes -> heisst: yes=er selber dient als Zeitsource Server no=kein Zeitsource Server

Posted in Microsoft | Tagged , , , | Leave a comment