Martin Bengtsson
Blogs, Articles, and Posts
Automatically remind users to update iOS with e-mails and custom notifications using Microsoft Intune Powershell SDK
(imab.dk)
The story here is, that iOS is getting updates quite frequently, and a lot of enterprises (including
By: Martin Bengtsson submitted:Jun 15 2022
The story here is, that iOS is getting updates quite frequently, and a lot of enterprises (including
myself), are managing those iOS devices as private BYOD devices enrolled through the Company Portal. As of such, keeping the devices up to date is the end-user's responsibility and something that's often forgotten and neglected. So what if we could send those devices and users a kind reminder automatically, both as a custom notification directly on the device, but also as an e-mail? Microsoft Intune Powershell SDK to the rescue!
By: Martin Bengtsson submitted:Jun 15 2022
Automatically remove and disable unwelcome objects from privileged on-premises Active Directory groups using Microsoft Sentinel
(imab.dk)
Introduction Active Directory is a prime target for attackers - and for most organizations something
By: Martin Bengtsson submitted:Oct 27 2023
Introduction Active Directory is a prime target for attackers - and for most organizations something
that's considered the crown jewels. This is due to Active Directory still being the bread and butter for most organizations in regard to authentication and authorization. When it comes to security, automation is your best friend and keeping a close eye on privileged group membership should be on top of your list. This post will walk you through, how you can make sure no unwelcome objects make their way into privileged groups in on-premises AD, by leveraging Microsoft Sentinel and its option to run playbooks automated. This breaks down to Microsoft Sentinel generating an alert, which triggers the associated Playbook, which triggers a Logic app, which triggers a Runbook in an Automation Account, which ultimately runs a PowerShell script on an on-premises server.
By: Martin Bengtsson submitted:Oct 27 2023
Comparing Security Baselines in Endpoint Manager using PowerShell and Microsoft Graph API
(imab.dk)
Security Baselines, and those for Windows 10 in particular, consist of a lot settings. So I wondered
By: Martin Bengtsson submitted:Jun 16 2022
Security Baselines, and those for Windows 10 in particular, consist of a lot settings. So I wondered
what's changed and started browsing and comparing the various settings via the admin portal. Then I realized how that's not very optimal, and began looking for alternatives. I eventually got myself into trying something new, and went on to compare the Security Baselines Profiles using Powershell and the Microsoft Graph. The result of that journey is this post.
By: Martin Bengtsson submitted:Jun 16 2022
Configure ‘Allow logon locally’ automatically using PowerShell and Microsoft Intune
(imab.dk)
I know Microsoft Intune has the ability to configure this particular user rights assignment natively
By: Martin Bengtsson submitted:May 17 2024
I know Microsoft Intune has the ability to configure this particular user rights assignment natively
already. At time of writing, the new security baseline for Windows 11 23H2 in Intune configure this as well, restricting local logons to the built-in groups: Users and Administrators. This solution does something else. This solution grabs the currently logged on user and configures the 'Allow logon locally' policy to ONLY allow this very user as well as Administrators to be able to log on locally.
By: Martin Bengtsson submitted:May 17 2024
Customize your Windows 11 (23H2 and onwards) taskbar during OSD with ConfigMgr using just PowerShell
(imab.dk)
Approximately two years ago, I authored a blog post detailing how to customize the taskbar in
By: Martin Bengtsson submitted:Oct 4 2024
Approximately two years ago, I authored a blog post detailing how to customize the taskbar in
Windows 11.
By: Martin Bengtsson submitted:Oct 4 2024
Reduce your attack surface by disabling NetBIOS using PowerShell and Microsoft Intune
(imab.dk)
Introduction If you are working with device management and IT security in general, you have probably
By: Martin Bengtsson submitted:Apr 5 2024
Introduction If you are working with device management and IT security in general, you have probably
heard about the recommendation to disable the legacy protocol NetBIOS in Windows. If this is news to you, there's some interesting reading for you in this article: Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay, Sub-technique T1557.001 - Enterprise | MITRE ATT&CK NOTE: Before disabling anything, make sure you do your due diligence and monitor your environment for NetBIOS traffic, so you don't accidently break stuff!
By: Martin Bengtsson submitted:Apr 5 2024
Uninstall any application in a jiffy using PowerShell and Microsoft Intune
(imab.dk)
Introduction This post is a just a quick follow up on my previous post: Uninstall any application in
By: Martin Bengtsson submitted:Jan 5 2024
Introduction This post is a just a quick follow up on my previous post: Uninstall any application in
a jiffy using PowerShell and Configuration Manager I received a few questions whether the PowerShell script can be used with Microsoft Intune instead of Microsoft Configuration Manager. And sure! This post will explain one of many approaches available with Intune.
By: Martin Bengtsson submitted:Jan 5 2024
Projects, Scripts, and Modules
Install-NewRDCMan.ps1
(github.com)
Install the new Remote Desktop Connection Manager (RDCMan) with PowerShell
By: Martin Bengtsson submitted:Jun 16 2022
Install the new Remote Desktop Connection Manager (RDCMan) with PowerShell
By: Martin Bengtsson submitted:Jun 16 2022