param($dotnetsymbolVersion=$null)$ErrorActionPreference="Stop"Set-StrictMode-Version2.0.$PSScriptRoot\..\tools.ps1$verbosity="minimal"functionInstalldotnetsymbol($dotnetsymbolVersion){$dotnetsymbolPackageName="dotnet-symbol"$dotnetRoot=InitializeDotNetCli-install:$true$dotnet="$dotnetRoot\dotnet.exe"$toolList=&"$dotnet"toollist--globalif(($toolList-like"*$dotnetsymbolPackageName*")-and($toolList-like"*$dotnetsymbolVersion*")){Write-Host"dotnet-symbol version $dotnetsymbolVersion is already installed."}else{Write-Host"Installing dotnet-symbol version $dotnetsymbolVersion..."Write-Host"You may need to restart your command window if this is the first dotnet tool you have installed."&"$dotnet"toolinstall$dotnetsymbolPackageName--version$dotnetsymbolVersion--verbosity$verbosity--global}}Installdotnetsymbol$dotnetsymbolVersion