Autopilot is an essential tool for managing and deploying Windows devices in the enterprise. However, before deploying Autopilot, it’s important to ensure that your environment meets the necessary prerequisites. This can be a time-consuming and error-prone process, which is why we’re excited to introduce a new script that automates the prerequisite checking process. The new script, called Autopilot Prerequisite Checker, is a PowerShell script that checks whether your environment meets the prerequisites for deploying Autopilot. The script checks for the following prerequisites: Tenant checks: Device checks: User checks: Network checks: The script is easy to use and can be run … Continue reading
Tag Archives: PowerShell
Download all OneDrive files for a user using PowerShell
Microsoft Intune – New Updates in PowerShell Scripts
Microsoft Intune is one of those brilliant products that has helped to optimize IT infrastructure for many businesses. It’s a platform that can transform your business into a modern workplace. And its capabilities are almost without limit. If you want to upload PowerShell scripts in Intune, there is the Microsoft Intune management extension (IME) that you can use for that. This management extension can enhance Mobile Device Management (MDM) resulting in a simpler move to modern management. With all this done, you can then run these scripts on Windows 10 devices. PowerShell scripts are important in a lot of different … Continue reading
List Packages that run in user context (Run with user’s rights)
Introduction After last weeks post with the script sample to list Packages that run in user context, there where some good feedback from people still using packages, and requiring a list of packages that install within the user context (Run with user’s rights / Execution mode as user) It seemed that many was still using Packages, either as a result of legacy migration or to avoid some application re-packaging. So here is the followup post, with a new script to list all packages and package with programs that run in user context. From my point of view, its still the … Continue reading
List Applications that run in user context (Install for User)
Introduction When deploying applications sometimes they are created to install within the active users context. This means that the actual installation requires the users to have the needed permissions to the filesystem, registry and etc. In some cases local administrative rights are needed to perform the application installation, this is not a good practice. As applications mature for the modern design of the Windows Operating System or we choose to remove the users administrative rights due to security reasons, we may need to list and change the behavior of existing Applications. This script was created to list applications that is … Continue reading
Setting up the lab environment – Hyper-V
The host was installed with Windows Server 2016. This means Hyper-V is a feature that we just need to enable – yay! Open a elevated PowerShell prompt Run the command: Install-WindowsFeature -Name Hyper-v -IncludeManagementTools -Restart The command will automatically reboot once installed NOTE: In some cases you will have to enable Intel-VT in BIOS. You can read more about the system requirements here: Systems Requirements for Hyper-V on Windows Server 2016 For the actual setup of guests machines, I will be running mostly Windows Server 2016, Windows 10 and maybe a Linux guest or two. Don’t forget to review: Supported … Continue reading
Setting up the lab environment – Deduplication
The next step for the lab or so-called home data center: Installing and Configuring Deduplication I was going to use a USB stick for the Windows Server 2016 OS. The main reason for this: DEDUPLICATION. I did start out with a USB stick, but due to performance issues this was changed – read the follow-up post (https://blog.thomasmarcussen.com/follow-up-on-the-home-datacenter-hardware/) The reason for having the OS on a separate volume: Deduplication is not supported on system or boot volumes. Read more about Deduplication here: About Data Deduplication Let’s get started Installing and Configuring Deduplication Open an elevated PowerShell prompt Execute: Import-Module ServerManager Execute: Add-WindowsFeature … Continue reading