anchor.diff:  {
       Write-Output @'
   Hostname,Port,Username,AuthType,Value,Alias
  -# 1行目はヘッダー情報となります。編集しないでください。
  +# In the first line, Header information is written. Please do not edit!
   
  -# 以下を参照の上、記載例のように設定してください。
  -# ホスト名,ポート番号,ユーザ名,認証タイプ[password|publickey],値[パスワード|keyディレクトリ配下の秘密鍵の名前],sshコマンドの引数とする任意のエイリアス文字列を指定。UPN表記を推奨。
  +# Please refer to the following and set it like the description example.
  +# Hostname,PortNumber,Username,AuthenticationType[password|publickey],Value[Passphrase|NameOfSecretKey],Set an alias character string as an argument of ssh command. UPN notation is recommended.
   
  -# 以下、記載例。
  +# description example:
   www.example.com,22,admin,publickey,id_rsa,admin@www.example.com
   192.168.1.100,22,root,password,P@ssw0rd,root@192.168.1.100
   '@ > $csv_file
  
positive.code: ################
  # constant
  ################
  ### 作業ディレクトリ
  #[System.String] $base_dir = "$env:Userprofile"             # ベースディレクトリ
  [System.String] $base_dir = "$env:Userprofile\GoogleDrive" # ベースディレクトリ
  [System.String] $ssh_dir  = "$base_dir\ssh"                # teraterm起動ディレクトリ
  [System.String] $log_dir  = "$ssh_dir\log"                 # teratermログ出力ディレクトリ
  [System.String] $key_dir  = "$ssh_dir\key"                 # 秘密鍵設置ディレクトリ
  [System.String] $csv_file = "$ssh_dir\hosts.csv"           # ログイン情報CSVファイル
  [System.String] $tt_install_uri = "https://ja.osdn.net/frs/redir.php?m=ymu&f=%2Fttssh2%2F67179%2Fteraterm-4.94.exe"
  [System.String] $tt_install_exe = "$env:USERPROFILE\Downloads\teraterm-4.94.exe"
  
  
negative.code: 
  if ($args[0])
  {
      ### $args[0] = Alias. UPN notation is recommended.
      [System.String] $ssh_alias = $args[0]
      [System.Array] $ssh_args = $args[0] -split "@"
      [System.String] $ssh_log = "$log_dir\" + $ssh_args[1] + "_" + $ssh_args[0] + "_" + $date + "_" + $time + ".log"
      
      ### Get a match with the value of $args[0] and the value of Alias in CSV.
      [System.Array] $csv_data = Import-Csv $csv_file | Where-Object { $_.Alias -eq $ssh_alias }
      
      ### If there is a match between the value of $args[0] and the value of Alias in CSV,
      if ($csv_data)
      {
          ### Create arguments to pass to ttermpro.exe.
          [System.String] $opt_host = "ssh2://" + $csv_data[0].Hostname + ":" + $csv_data[0].Port
          [System.String] $opt_user = "/user=" + $csv_data[0].Username
          [System.String] $opt_auth = "/auth=" + $csv_data[0].AuthType
  