Quarantine
Windows Updates
Windows 10 November Update
Duplicate One Drive Icons
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace delete one drive data Dwords
Computer\HKEY_CLASSES_ROOT\CLSID
change DWORD to 0
Use mail flow rules to set the spam confidence level
Force Domain Take over
Set-ExecutionPolicy RemoteSignedInstall-Module -Name MSOnline
connect-msolservice -credential $msolcred
get-msoldomain
new-msoldomain -name xxx.com.au
get-msoldomainverificationdns -Domainname xxx.com.au -Mode DnsTxtRecord
confirm-msoldomain -Domainname xxx.com.au -ForceTakeover Forceget-msoldomain
Can not sign into office
https://portal.office.com/Account/#home
Connect to exchange
Connect to Exchange Online PowerShell
Stop Exchange server AutoDiscover
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri $null$ServerName = "XXXXXX"
Set-ClientAccessServer -identity $ServerName -AutoDiscoverServiceInternalUri $null
Devices sign out
rundll32.exe keymgr.dll, KRShowKeyMgrdelete HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
Sign out of Teams Private account
Send you self a meeting request ! and you get the sign out page.Office not Signing in
Computer\HKEY_USERS\S-1-12-1-946349693-1126191204-3485289904-43290853\Software\Microsoft\Office\16.0\Common\Identity
EnableADAL 0 dword
DisableADALatopWAMOverride 1 dword
Create Mailboxes local and on tenant
Outlook bypasses AutoDiscover and connects directly to Office 365
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\outlook\autodiscover DWORD: ExcludeExplicitO365Endpoint Value = 1
Or Disable MAPI on office 365
Force AD Sync
Import-Module "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1"
Start-ADSyncSyncCycle -PolicyType Delta
start-ADSyncSyncCycle -PolicyType Initial
Force Online Archiving
Start-ManagedFolderAssistant -Identity user@example.com
Get-Mailbox -RecipientTypeDetails UserMailbox -ResultSize unlimited | ForEach {Start-ManagedFolderAssistant $_.Identity}
Teams External Control
Force Domain Sync
Import-Module "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1"
Start-ADSyncSyncCycle -PolicyType Delta
Start-ADSyncSyncCycle -PolicyType Initial
regsvr32 /u adsiedit.dll
regsvr32 adsiedit.dll
http://activedirectoryfaq.com/2014/10/ad-attribute-editor-missing-make-search-visible/
Public Folders
get-mailbox "admin@xxx.onmicrosoft.com"| fl *default*
get-mailbox -resultsize unlimited | set-mailbox -defaultpublicfoldermailbox "pfstore"
get-organizationConfig |Fl publicFoldersEnabled
Get-Mailbox "admin@xxx.onmicrosoft.com" | ft *eff*
get-CASMailbox "admin@xxx.onmicrosoft.com" |ft *public*
Set-CASMailbox "admin@xxx.onmicrosoft.com" -PublicFolderClientAccess $true
Get-Mailbox -PublicFolder | fl *hier*
get-mailbox -PublicFolder
get-mailbox -PublicFolder |update-publicfoldermailbox -invokeSynchronizer -FullSync
------------------------
ad-attribute-editor-missing-make-search-visible
Register ASDI Edit
regsvr32 /u adsiedit.dll
regsvr32 adsiedit.dll
Azure Latency Test
Azure Pricing Calculator
Add users to local administrators
net localgroup administrators /add "AzureAD\UserUpn"
Managing network drives with intune
https://www.anoopcnair.com/managing-network-drive-mappings-with-intune/
Resource Calendars
Get-CalendarProcessing -Identity Room@xyz.com.au | FL
Set-CalendarProcessing -Identity Room@xyz.com.au -DeleteSubject $False -AddOrganizerToSubject $False
Get-MailboxFolderPermission Room@xyz.com.au:\Calendar
Set-MailboxFolderPermission -Identity "Room@xyz.com.au" -User default -AccessRights PublishingAuthor
Voip Telecom Teams
Set-CsPhoneNumberAssignment -Identity "email address" -PhoneNumber "+613Phone number" -PhoneNumberType DirectRouting
Grant-CsOnlineVoiceRoutingPolicy -Identity "Teams email address" -PolicyName "VC VoiceRoutingPolicy"
Grant-CsTenantDialPlan -Identity "email address" -policyname "Voip dial plan"
See all numbers
Get-CsOnlineUser | Where-Object { $_.LineURI -notlike $null } | ft DisplayName,UserPrincipalName,LineURI