Scripts

15 posts

Get Users from Azure AD with a large number of Registered Devices

The Challenge One of the challenges when managing an Azure AD Hybrid Join implementation is monitoring the number of devices registered to each Azure AD user. The default “limit” in Azure AD is 20 devices for each user. This number can quickly be reached in a shared computer environment, especially […]

Deploy RSAT for Windows 10 1809 using SCCM

Starting Windows 10 1809 Remote Server Administration Tools (RSAT) is now included as a set of “Features on Demand”. In the following post we will show you how to deploy individual features with SCCM. The RSAT tools are added using the “Add-WindowsCapability” cmdlet https://docs.microsoft.com/en-us/powershell/module/dism/add-windowscapability?view=win10-psBecause we are deploying each feature with […]

Using PowerShell with Microsoft Graph to query Intune Devices

What is Microsoft Graph? Microsoft Graph connects resources across Office 365 services. Using https://graph.microsoft.com you can connect to these services and access a wealth of resources, relationships and intelligence. You can read more on Microsoft Graph at https://docs.microsoft.com/en-us/graph/overview How do I use Microsoft Graph? If you have a requirement to […]

Identifying and Updating SCCM Collection Evaluations with PowerShell

I’ve seen this subject discussed and explained very well in other blogs. The following post is my approach and understanding on managing Collection Evaluations using a bit of PowerShell (ok so there is some SQL stuff in here too).  Collection Evaluations A Collection Evaluation occurs on a defined schedule, event […]

O365 – How to add a mail.onmicrosoft.com smtp address using PowerShell

So you are on-boarding user mailboxes to Exchange Online and your user does not have a <domain>.mail.onmicrosoft.com smtp address. STOP. Your mailbox migration will fail without it. (Maybe you know this and this is why you are here 🙂 ) If you used the Exchange Hybrid Configuration Wizard, by default, […]

Signing PowerShell Scripts for an SCCM App Detection Method

In this blog post we will look at signing the PowerShell scripts we use in the “App Detection Method” when distributing apps with ConfigMgr. The PowerShell Execution Policy can be modified in Client Settings to allow ConfigMgr to execute unsigned scripts. If your environment needs to be a bit tighter […]

Office 365 Migration – User Attribute Discovery and Export using Powershell

Identity is key. I cannot emphasise this enough as you begin to move workloads into Exchange Online, SharePoint Online and Skye for Business Online. One of the first pieces of advice you should have been given is the user UPN should match the primary SMTP address. Here is why:- The […]