PowerShell

SCCM 1906 Co-management Capabilities Matrix

I am putting together a Co-management deep dive series in the coming weeks (**UPDATE** Here it is). One of the things that has intrigued me is the “Capabilities” value when looking at Co-management workloads. The values have changed in 1906 and can be found below Capability Workload 1 No Workloads – Co-management Configured 2 Compliance […]

SCCM 1906 Co-management Capabilities Matrix Read More »

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 return a wealth of information

Using PowerShell with Microsoft Graph to query Intune Devices Read More »

Identifying and Installing SCCM Client Software Updates Remotely with PowerShell and trigger a VMware Snapshot before Remediation – Part 1 of 3

Try saying that title again without taking a breath, phew. We have been playing with ADRs (Automatic Deployment Rules) for a while now. The teams are slowly coming around to the idea that we are now delivering server updates in a more controlled fashion than WSUS could ever provide with useful reports icing the top

Identifying and Installing SCCM Client Software Updates Remotely with PowerShell and trigger a VMware Snapshot before Remediation – Part 1 of 3 Read More »

Connect to SharePoint Online using PowerShell

So you want to do some PowerShell stuff in SharePoint Online. You will need the “SharePoint Online Global Administrator” permission to perform the connection. Before we do that, lets check if we have the SharePoint Online Management Shell already installed. 1. Launch PowerShell in Administrative mode and run:-

2. If it is not listed,

Connect to SharePoint Online using PowerShell Read More »

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, <domain>.mail.onmicrosoft.com) is added as a

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

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 with script execution and you

Signing PowerShell Scripts for an SCCM App Detection Method Read More »

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 UPN in Office 365 becomes

Office 365 Migration – User Attribute Discovery and Export using Powershell Read More »

Move-ActiveMailboxDatabase Error: Content index catalog files in the following state: ‘Failed’ Exchange 2010

So we came across this when attempting a “Move-ActiveMailboxDatabase” powershell command to mount a mailbox database copy in our DAG. We have a powershell script that mounts all DBS on one exchange server so we can do maintenance on the other. 

Move-ActiveMailboxDatabase Error: Content index catalog files in the following state: ‘Failed’ Exchange 2010 Read More »