PowerShellめも
String.format的なやつ
Write-Host("Serial Number : {0}" -f $serialNumber)
Postコマンド
$body = @{ param1="a"; param2="b" } | ConvertTo-Json ; $body = [Text.Encoding]::UTF8.GetBytes($body) ; $url = "http://localhost:8080/hoge"
Invoke-RestMethod -ContentType 'application/json' -Method "POST" -Uri $url -Body $body