scripting

Updated Intune Scripts and a Security Profile for the SMB

Updated Intune Scripts and a Security Profile for the SMB

Some years ago, Microsoft published a repo on GitHub describing how to use PowerShell to interact with the Microsoft Graph and create/manipulate objects within Intune. This was soon followed by another project, where they published three "Security profiles" as pictured below: Image credit: Microsoft Most of the configurations required...
Read more...

Deploying Conditional Access Policies via PowerShell

There is a new GitHub repository available from Microsoft: Manage Conditional Access policies like code. Similar to the infamous Intune samples repo from which I and many others have built their automated Intune setup scripts for new tenants,...
Read more...

How to quickly provision Microsoft 365 Business subscriptions for Exchange Online and ATP using PowerShell

Hey folks, Microsoft 365 Business is a really cool subscription for small businesses, and if you are doing these configurations for a lot of tenants, then you're probably going to want to automate some of the setup.  Today I'm going to share a script I use to...
Read more...

How to bulk create users in a hybrid environment with Office 365 Exchange Online

In a hybrid Exchange environment, user accounts are created on-premises, but then licensed through the Office 365 portal (to enable mailbox access). Admins often provision hybrid user accounts incorrectly, and sometimes this needs to be cleaned up after the fact.  But, if you want to do it right the first...
Read more...

Automate the deployment of guest virtual machines with PowerShell

Small businesses often bemoan the cost and complexity of implementing System Center. But who needs System Center when you've already got PowerShell?! In the previous post, I shared a series of snippets / scripts that I use to quickly configure a standalone Hyper-V host, including host name & timezone,...
Read more...

Automate the deployment of a standalone Hyper-V host server using PowerShell

In this article, I wanted to document a standard, standalone Hyper-V server deployment for a small business using nothing but PowerShell. The best practices for Hyper-V state that the role should be enabled on a server without the GUI (e.g. Core or Nano--although I rarely see this done in a small business setting). Best...
Read more...

Helping IT Consultants Succeed in the Microsoft Cloud

Have a Question? Contact me today.