Win11Accelerator is a PowerShell based utility that allows for the tagging of Windows 10 devices with their Windows 11 Feature Update risk score, to allow for a controlled update to Windows 11.
Win11Accelerator is currently in Public Preview, meaning that although the it is functional, you may encounter issues or bugs with the script.
Tip
If you do encounter bugs, want to contribute, submit feedback or suggestions, please create an issue.
Important
- Supports PowerShell 7 on Windows
Microsoft.Graph.Authenticationmodule should be installed, the script will detect and install if required.- Entra ID App Registration with appropriate Graph Scopes or using Interactive Sign-In with a privileged account.
- v0.3.4
- Updated filtering when getting Entra ID objects
- v0.3.3
- Improved interface and error handling
- v0.3.2
- Bug fixes for attribute assignment
- v0.3.1
- Bug fixes and update to parameter configurations
- v0.3.0
- Allows for automatic deployment of the selected Feature Update to the low risk group
- v0.2.4
- Updated to support creation of Dynamic Groups
- Included a whatIf mode
- Improved performance of functions
- Improved logic of attribute assignment
- v0.2.0
- Allows creation of Dynamic Groups
- v0.1.0
- Initial release
The PowerShell script requires the below Graph API permissions, you can create an Entra ID App Registration with the following Graph API Application permissions:
Device.ReadWrite.AllDeviceManagementManagedDevices.ReadWrite.AllDeviceManagementConfiguration.ReadWrite.AllUser.ReadWrite.AllDeviceManagementRBAC.Read.AllGroup.ReadWrite.All
Download the Win11Accelerator.ps1 script, and from the saved location in a standard or elevated PowerShell prompt run one of the following:
Run the script to assign Windows 11 24H2 Feature Update risk states to extensionAttribute 11 with warning prompts in whatIf mode where no changes are made:
.\Win11Accelerator.ps1 -featureUpdateBuild 24H2 -target device -extensionAttribute 11 -whatIf $trueRun the script to assign Windows 11 24H2 Feature Update risk states to extensionAttribute 10 with warning prompts:
.\Win11Accelerator.ps1 -featureUpdateBuild 24H2 -target device -extensionAttribute 10Tip
For large environments the initial run of the script may be interrupted by the authentication token expiring, please run the script again in the event this happens.
Following the initial run the script, you can suppress the warning prompts by running the script to assign Windows 11 24H2 Feature Update risk states to extensionAttribute 10 without warning prompts:
.\Win11Accelerator.ps1 -featureUpdateBuild 24H2 -target device -extensionAttribute 10 -firstRun $falseIf you want the script to create dynamic groups based on the extension attribute risk state, include the boolean parameter createGroups:
.\Win11Accelerator.ps1 -featureUpdateBuild 24H2 -target device -extensionAttribute 10 -createGroups $true -prefix 'Win11Acc-'This will allow for groups to be created with a prefix of Win11Acc-, only if a group with the same name does not already exist.
If you encounter any issues or have questions:
- Check the Issues page
- Open a new issue if needed
Thank you for your support.
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Nick Benton of odds+endpoints
