SharePoint Online Authentication in Powershell for CSOM when Legacy Authentication is disabled for tenant or Multi Factor Authentication is enabled for user

This post is a contribution from Sohail Sayed, an engineer with the SharePoint Developer Support team SharePoint Online Authentication in Powershell for CSOM when Legacy Authentication is disabled for tenant or Multi Factor Authentication is enabled for user Authentication using SharePointOnlineCredentials class will work only if Legacy auth is enabled. If you tenant administrator has…


Kalenderwoche 43/2018 für IT-Experten im Rückblick: Exchange Server 2019, SharePoint Server 2019, PowerShell und mehr

Was hat sich in der vergangenen Woche für IT-Professionals getan? Gab es wichtige Ankündigungen oder neue Wissensressourcen? Unser TechNet Blog-Team hat zehn interessante Links für Sie zusammengestellt. Viel Spaß beim Stöbern! Exchange Server 2019 ab sofort verfügbar (engl.) Offiziell verfügbar: SharePoint Server 2019 (engl.) Jetzt verfügbar: Skype for Business Server 2019 (engl.) Finale Version von…


Get SPO sites with filter using SPOSitePropertiesEnumerableFilter

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team To get list of all OneDrive for Business sites of the tenant, with SharePoint Online Management Shell, run Get-SPOSite -Template “SPSPERS”   This will return all OneDrive for Business sites. It can be done with CSOM APIs as well….


Creating symbolic links with PowerShell DSC

Background In an Azure Windows VM you automatically get a temporary disk drive mapped to D: (on Linux it’s mapped to /dev/sdb1). It is temporary because the storage is assigned from the local storage on the physical host. So if your VM is re-deployed (due to host updates, host failures, resizing, etc.), the VM is…


Extending Hardware Inventory for System Center Configuration Manager

Hello everyone, Jonathan Warnken here, and I am a Premier Field Engineer (PFE) for Microsoft. I primarily support Configuration Manager and I have been getting a lot of questions recently on how to collect custom information and include it in the device inventory within Configuration Manager. I wanted to share one way to accomplish this that…


Resetting WMI repository – dos and dont’s

Today’s topic: Resetting WMI Repository dos and dont’s Some people like Windows Management Instrumentation (WMI) because of its power – some just hate it. The ones who hate it often claim that the WMI repository is not really reliable and often gets corrupt / unusable. Even though this may happen – it’s not a usual scenario. Anyhow -…


O365 Groups tidbit – Using PowerShell to manage groups

Hello All, I have written before about groups and how they function in Office 365, so I thought now I would touch on how we can manage them and more specifically how we can manage them with PowerShell. First of all to use PowerShell to manage O365 Groups you need to make sure you have…


SCOM Gray Agents in VMM – Report & Email

A customer had a number of agents hosted in VMM, and often a VM would hang after patching. It was “Running” according to VMM but not actually responsive. This script helped identity these Gray Agents. They also had VMs hosted in Azure, and those were identifiable by naming convention. It relies on the VMM and…


Script to delete decommissioned servers in SCOM

This is a modified version of Tim McFadden’s script. This script will take a text file containing the FQDNs of agents which need to be removed from SCOM. Note this process is for when a server has been decommissioned but was never removed from SCOM. If you are instead trying to remove the agent from…