Niels Kok
Blogs, Articles, and Posts
Automate Applocker configuration for Intune
(nielskok.tech)
I wrote a post a while ago about automating the creation of the Applocker policy for intune. You can
By: Niels Kok submitted:Oct 17 2025
I wrote a post a while ago about automating the creation of the Applocker policy for intune. You can
find it here. This post is a prequel to that post. This post shows you how to automate your Applocker configuration which you can upload with the previous post to Microsoft Intune.
By: Niels Kok submitted:Oct 17 2025
Automating cleanup Entra Joined AVD hosts
(nielskok.tech)
This post is about automating the cleanup for Entra Joined Azure Virtual Desktop (AVD) hosts.
By: Niels Kok submitted:Dec 15 2023
This post is about automating the cleanup for Entra Joined Azure Virtual Desktop (AVD) hosts.
By: Niels Kok submitted:Dec 15 2023
Azure DevOps Library Group Powershell
(nielskok.tech)
This blog post is creating an Azure DevOps library group via Powershell.
By: Niels Kok submitted:Jan 19 2024
This blog post is creating an Azure DevOps library group via Powershell.
By: Niels Kok submitted:Jan 19 2024
Create an Image in Nerdio using PSNerdio
(nielskok.tech)
The next part! Create an image in Nerdio using PSNerdio. So, the next step is of course creating an
By: Niels Kok submitted:Aug 15 2025
The next part! Create an image in Nerdio using PSNerdio. So, the next step is of course creating an
image in Nerdio. We want to do that automatically via PSNerdio. So, let's add some CMDlets to the module to make sure we can do everything from code. Link to the GitHub repo.
By: Niels Kok submitted:Aug 15 2025
Deploy dynamic hostpools using PSNerdio
(nielskok.tech)
New part of the PSNerdio series! This is the final part and it's about how to deploy dynamic
By: Niels Kok submitted:Sep 26 2025
New part of the PSNerdio series! This is the final part and it's about how to deploy dynamic
hostpools using PSNerdio!
By: Niels Kok submitted:Sep 26 2025
Endpoint Manager Packaging Script Pt.1
(nielskok.tech)
I created an Endpoint Manager Packaging Script which downloads the installer, packages it, uploads
By: Niels Kok submitted:Jun 16 2022
I created an Endpoint Manager Packaging Script which downloads the installer, packages it, uploads
it to Intune and assigns it. But first things first, credits to Nickolaj Andersen and his module who made it all possible.
By: Niels Kok submitted:Jun 16 2022
Enrich your image using PSNerdio
(nielskok.tech)
New part of the PSNerdio series! This part is about how to enrich your image using PSNerdio. So, we
By: Niels Kok submitted:Aug 29 2025
New part of the PSNerdio series! This part is about how to enrich your image using PSNerdio. So, we
are adding scripted actions, applications and schedules to the image. This allows you to create a complete image via PSNerdio.
By: Niels Kok submitted:Aug 29 2025
Get Installed Language from Domain Computers/Servers
(nielskok.tech)
This is a quick short blog about how to get the installed language from domain
By: Niels Kok submitted:Jul 14 2023
This is a quick short blog about how to get the installed language from domain
By: Niels Kok submitted:Jul 14 2023
Get latest Windows release
(nielskok.tech)
Maybe you heard of this already but I found this hidden gem (at least for me) where you can easily
By: Niels Kok submitted:Jan 23 2026
Maybe you heard of this already but I found this hidden gem (at least for me) where you can easily
get the latest Windows release in PowerShell. The module is written by Jose Schenardie. You can find it here in the PowerShell gallery. So, what does it actually do?
By: Niels Kok submitted:Jan 23 2026
Intune Drift Control PowerShell
(nielskok.tech)
This is my latest training exercise, building configuration drift control for Microsoft Intune with
By: Niels Kok submitted:Jun 13 2025
This is my latest training exercise, building configuration drift control for Microsoft Intune with
PowerShell and the pester module. I wanted to be able to check my clients configuration against my own baseline for Microsoft Intune. Of course, there are many tools out there that can do this for you. Like Andrew Taylor's EUCToolbox.
By: Niels Kok submitted:Jun 13 2025
Linking all required resources to Nerdio via PSNerdio
(nielskok.tech)
Second part of the series! This part is about linking all required resources to nerdio via PSNerdio.
By: Niels Kok submitted:Aug 8 2025
Second part of the series! This part is about linking all required resources to nerdio via PSNerdio.
So, in the previous part of this series I mentioned that the PowerShell module created by Nerdio needs some love. I wanted to link my resourcegroups to Nerdio and that CMDlet was not working.
By: Niels Kok submitted:Aug 8 2025
Reprovision/Restore Windows 365 Devices
(nielskok.tech)
This blog is about showing another example of our Powershell module called PSCloudPC.
By: Niels Kok submitted:Feb 17 2023
This blog is about showing another example of our Powershell module called PSCloudPC.
By: Niels Kok submitted:Feb 17 2023
Schedule PowerShell Script Intune
(nielskok.tech)
This is a blog post about how to schedule a PowerShell script via Intune. Of course, we would like
By: Niels Kok submitted:Feb 23 2024
This is a blog post about how to schedule a PowerShell script via Intune. Of course, we would like
this to be built-in within Microsoft Intune but we are not there yet. Hopefully, this will be an option in the future. We would like to schedule app installs and scripts via Microsoft Intune directly.
By: Niels Kok submitted:Feb 23 2024
Projects, Scripts, and Modules
Deploy Windows 365 via Powershell
(nielskok.tech)
Stefan Dingemanse and I built a Powershell Module to deploy Windows 365 more easily.
By: Niels Kok submitted:Jan 20 2023
Stefan Dingemanse and I built a Powershell Module to deploy Windows 365 more easily.
By: Niels Kok submitted:Jan 20 2023
Update to PSCloudPc
(nielskok.tech)
Stefan Dingemanse and I made an update to our PowerShell module called PSCloudPc. This PowerShell
By: Niels Kok submitted:Nov 28 2025
Stefan Dingemanse and I made an update to our PowerShell module called PSCloudPc. This PowerShell
module enables you to manage Windows 365 via PowerShell with easy to use command lets. The MSGraph powershell module requires you to construct JSON body's. We made this in to easy to use "one-liners" Check out our Project website.
By: Niels Kok submitted:Nov 28 2025
View All API Permissions Microsoft Graph
(nielskok.tech)
I couldn't find this myself quickly in the Microsoft docs. So I decided to write...
By: Niels Kok submitted:Oct 28 2022
I couldn't find this myself quickly in the Microsoft docs. So I decided to write...
By: Niels Kok submitted:Oct 28 2022
