Ilya Bukshteyn Christian Schacht
I had a customer report an issue with gathering the logs from the system. Upon investigation, the command and instructions to get the logs have changed and do not work properly.
https://docs.microsoft.com/en-us/MicrosoftTeams/rooms/rooms-operations#collecting-logs-on-microsoft-teams-rooms
PowerShell error:
C:\rigel\x64\scripts\provisioning\ScriptLaunch.ps1 : A parameter cannot be found that matches parameter name
'ExecutionPolicy'.
At line:1 char:73
+ ... ioning\ScriptLaunch.ps1 CollectSrsV2Logs.ps1 -ExecutionPolicy unrestr ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [ScriptLaunch.ps1], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,ScriptLaunch.ps1
Here is what I have been able to run to gather the logs successfully:
- Set-ExecutionPolicy Unrestricted
- c:\rigel\x64\scripts\provisioning\ScriptLaunch.ps1 CollectSrsV2Logs.ps1