Forum Discussion
Richard Eklund
Dec 03, 2019Brass Contributor
Error running CreateSRSMedia.ps1 - Microsoft Teams Rooms USB image creation
When I run CreateSRSMedia.ps1 under an Administrator PowerShell console, I get an error: “Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version". At line:1 cha...
- Dec 04, 2019
I finally figured it out. I have a profile.ps1 in my WindowsPowerShell directory in my documents folder. I didn't use it anymore, but had a "Write-Host" line in there, which I didn't comment out from when I did.
I was able to replicate it by deleting the contents of profile.ps1 and putting write-host "Test" in the file. Launching powershell then gives the error. If I delete it or delete the contents of profile.ps1 so there is no write-host entries, it works fine. Write-Output also gives the error when launching this script.
I tried a few other commands, such as changing directories, and it worked fine, but write-host or write-output in the profile.ps1 broke the script.
nasimiro
Jan 31, 2024Copper Contributor
You only need the correct OS matched with the mentioned hash value and file size.after that, you can proceed to further steps.Anyway, I have already built the MTRs image iso file. Anyone can boot the iso and install the image in any device. It is very feasible and time saver.u can knock me on WhatsApp for OS services and installation procedure (+8801844504725)