Install AzureAD Powershell module

MS Online is an old module to manage the Azure/Office 365 from PowerShell. Azure Active Directory PowerShell for Graph (AzureAD) is a modern PowerShell module for interacting with Azure infrastructure. The module …

Install RSAT tools

Install the Remote Server Administration Tools Install-WindowsFeature -IncludeAllSubFeature RSAT -WhatIf Install-WindowsFeature -IncludeAllSubFeature RSAT Verify if the Remote Server Administration Tools is already installed. Get-WindowsFeature  -Name rsat Windows 10 Get-WindowsCapability -name …

Exchange check current version

Via Powershell Via Exchange Management Shell The AdminDisplayVersion value shows the Exchange version in the format : “MajorVersion.ServicePack.CumulativeUpdate/UpdateRollup.MinorVersion” Via webbrowser (if maps is enabled) : https://<serverFQDN>/mapi/emsmdb/ For Office 365 use https://outlook.office.com/mapi/emsmdb/ Now …

Exchange Online create dynamic distribution groups

Start a Powershell session with Exchange online $UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session -DisableNameChecking #Create Dynamic distribution groupNew-DynamicDistributionGroup -Name Test-Dynamic …

Use Powershell to trigger Windows updates SCCM client

When SCCM does not show the windows updates this Powershell can be used. [ code language = “powershell”] $Server=’hostname’ #https://docs.microsoft.com/en-us/archive/blogs/charlesa_us/triggering-configmgr-client-actions-with-wmic-without-pesky-right-click-tools #Trigger SSCM trigger Schedule 113 – Scan by Update Source …

Exchange Online PowerShell V2

The Exchange Online PowerShell V2 module also known as EXO V2 enables admins to connect to the Exchange Online environment to retrieve data, create new objects, update existing objects, remove …