Skip to content

Blogs Created by Daag van der Meer

Month: January 2021

Verbinding maken met alle Microsoft 365-services in een enkel PowerShell-venster – Microsoft 365 Enterprise | Microsoft Docs

Author Daag van der MeerPosted on January 26, 2021January 26, 2021Categories Uncategorized

O365 – Change default security settings

Azure Active Directory security defaults | Microsoft Docs

Author Daag van der MeerPosted on January 20, 2021January 20, 2021Categories Uncategorized

O365 – Powershell connect once

Because I’m testing I made this, so I dont need to fill in everytime the credentials, but checks if there is a connection.

AzureAD Connect

if($azureConnection.Account -eq $null){
$azureConnection = Connect-AzureAD
}

MSO Connect Check

if( $credential -eq $null){
$credential = Get-Credential
Connect-MsolService -Credential $credential
}

Author Daag van der MeerPosted on January 8, 2021January 8, 2021Categories Uncategorized

Disable Password Expiration Azure AD

Connect-AzureAD
Set-AzureADUser -ObjectId <SyncACCOUNT>@<DOMAIN>.onmicrosoft.com -PasswordPolicies DisablePasswordExpiration

And if you want all online created accounts disable Password expiration:
Get-AzureADUser -All $true | Set-AzureADUser -PasswordPolicies DisablePasswordExpiration

Author Daag van der MeerPosted on January 4, 2021January 4, 2021Categories Uncategorized

Recent Posts

  • IOS Conditional Access – force MDM
  • Android M365 mail config
  • Block MAM on android
  • Microsoft RoadMap
  • Topdesk create LDAPS certificate From DC

Archives

  • September 2022
  • March 2022
  • October 2021
  • September 2021
  • August 2021
  • April 2021
  • January 2021
  • December 2020
  • September 2020
  • July 2020
  • March 2020
  • May 2019
  • December 2018
  • November 2018
  • October 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • February 2017
  • December 2016

Categories

  • Active Directory
  • Barracuda Spamfilter
  • Domoticz
  • Exchange
  • Fritzbox
  • GPO
  • Hardware
  • Java
  • Landesk
  • Links
  • Linux
  • M365
  • MDT
  • Microsoft
  • MS-Dos Scripts
  • Outlook 2010
  • Outlook 2013
  • Powershell Script
  • PSTools
  • Raspberry
  • Registry key
  • SCCM
  • SNMP
  • SQL
  • Synology
  • Uncategorized
  • VB script
  • VMware
  • VPN
  • Windows
  • Windows 10
  • Windows 7
  • Windows Server 2012R2
Blogs Created by Daag van der Meer Proudly powered by WordPress