Find Exchange Mailboxes tied to disabled accounts
Get-User -RecipientTypeDetails UserMailbox | where {$_.UseraccountControl -like “*accountdisabled*”} | Export-Csv C:\temp\disabledwmail.csv
Get-User -RecipientTypeDetails UserMailbox | where {$_.UseraccountControl -like “*accountdisabled*”} | Export-Csv C:\temp\disabledwmail.csv
Pause Azure AD Sync by opening Azure AD Connect. You should see this prompt Create the users new AD Account make sure that the UPN is set correct and the proxy address has an entry …
1.If an active directory account is accidentally deleted first thing to do is check if the Active Directory recycle bin is enabled. 2.If the Recycle bin would show as an OU in the root of …
Ran in to an issue where someone was migrating domains to a new domain and needed to re-set up Azure AD Connect. Did some pre-planning and exported all users including their ImmutableID’s $msolcred = get-credential …
If you want to be able to configure other applications like Google Chrome, Mozilla Firefox, Office 2016, etc. You will need to search for the admx files online Google Chrome (https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip) Mozilla Firefox (https://github.com/mozilla/policy-templates/releases/download/v1.7/policy_templates_v1.7.zip) Office …
Download the newer Administrative templates from Microsoft’s website. ( I pulled Windows 10 1809 templates from here (https://www.microsoft.com/en-us/download/details.aspx?id=57576) Install or extract the administrative template files to a folder. Copy all the administrative templates to C:\Windows\Sysvol\domain\policies\PolicyDefinitions …
Why would we want to create a central store? This syncs all policy definitions to all Domain controllers so that if you update or add admx files they are available on all domain controllers and …
net stop w32time w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org” /reliable:yes net start w32time w32tm /resync
1- Create DNS stubzone for each other domains or set up conditional forwarding. – New Zone on DNS – Choose stub zone – To all DNS servers running on domain controllers in this domain/forest – …
Added the following registry entry to the NPS server HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan\PPP\EAP\13 New REG_DWORD named TlsVersion Changed the Value to 0xf00 which sets tls to 1.1 and 1.2 otherwise it could be set as below. TLS 1.0 …