Run Chrome kiosk mode in windows 10 assigned access
This worked for me, but I had to change this line:
"`nEnabled is set to " + $DefaultShellObject.IsEnabled()
To this:
"`nEnabled is set to " + $DefaultShellObject.Shell
I know this is months after you asked but I just did this and it is working. Your line should look like this:
$ShellLauncherClass.SetCustomShell($KioskUser_SID, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --kiosk http://my.website.com", ($null), ($null), $restart_shell)