The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-Enable-IIS-Remote-fdb21036.
The sample script provides the below functionality: 1. Remotely enable the RemoteManagement in WMSVC on all the specified server 2. Enable the IIS Manager Credentials and Windows Credentials only. 3. Create a Test IIS user (non-admin) and add this test use to the concerned site.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery