I am not sure if Win10 IoT supports vbscript.
It needs the command line tool "devcon.exe"
I copied it from my bigger solution, i didnt checked for missing code.
Today i would write it with powershell.
But you will get the idea.
Set goFileSystem = CreateObject( "Scripting.FileSystemObject" )
Set oWshShell = CreateObject("WScript.Shell")
Set oWshSysEnv = ...