anchor.diff:      exit 1
   }
   
  -### teratemrインストールディレクトリからttermpro.exeを検索し、ttermpro.exeのフルパスを取得する
  +### Search for ttermpro.exe from the directory where teraterm was installed and get the full path of ttermpro.exe.
   [System.String] $ssh_client = Get-ChildItem -recurse "C:\Program Files*\teraterm" | Where-Object { $_.Name -match "ttermpro" } | ForEach-Object { $_.FullName }
   ### 
   if (-Not ($?) -Or -Not (Test-Path -Path $ssh_client))
  
positive.code:         [System.Array] $opt_array = @($opt_host,$opt_user,$opt_auth,$opt_value,$opt_dir,$opt_log,"/ssh-v","/LA=J")
  
      }
      ### $args[0]の値と、CSV内のAliasの値で、一致するものが存在しない場合
      else
      {
          ### CSVの内容を表示
          Get-Item $csv_file
          Import-Csv $csv_file | Where-Object { ($_.Alias) } | Select-Object Username,Hostname,Alias | Format-Table -AutoSize
          [Console]::ReadKey() | Out-Null
  
negative.code:     [System.Array] $opt_array = @($opt_dir,$opt_log,"/ssh-v","/LA=J")
  }
  
  ### Run teraterm.
  $ssh_process = Start-Process -FilePath $ssh_client -ArgumentList $opt_array -PassThru -Wait
  ### Change attribute of teraterm log file to read only.
  Set-ItemProperty -Path $ssh_log -Name Attributes -Value Readonly
  ### Display the contents of teraterm log file (personal preference...).
  Get-Content -Path $ssh_log
  ### Output contents of teraterm log file to screen.
  Write-Output "$(Get-Date -Format yyyy-MM-ddThh:mm:sszzz) [INFO]: Log file: $ssh_log"
  ### TeraTerm abnormal termination: A case where an already established ssh session is forcibly terminated due to network disconnection or the like.
  if ($ssh_process.ExitCode -ne 0)
  {
      Write-Output "$(Get-Date -Format yyyy-MM-ddThh:mm:sszzz) [ERROR]: ttermpro.exe exit code NOT equal 0."
  