Hi,
This Script will used to Disable the Consumer Features On Windows 10 Enterprise and Education Editions.
Note:
1) Please run this script as a System User.
2)Please restart the machine to reflect the changes to the endpoint.
3)This script is only applicable to Windows 10 Enterprise and Education Editions