{"blog_title":"Muni Bus","published":"2023-12-27 23:55:35","version":"1.0","image_url":null,"title":"\u3010PowerShell\u3011\u77ed\u3044\u7c21\u5358\u306a\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b","blog_url":"https://munibus.hatenablog.com/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmunibus.hatenablog.com%2Fentry%2F2023%2F12%2F27%2F235535\" title=\"\u3010PowerShell\u3011\u77ed\u3044\u7c21\u5358\u306a\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b - Muni Bus\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"munibus","provider_name":"Hatena Blog","categories":["PowerShell"],"width":"100%","height":"190","url":"https://munibus.hatenablog.com/entry/2023/12/27/235535","author_url":"https://blog.hatena.ne.jp/munibus/","type":"rich","description":"\u6587\u5b57\u5217\u578b\u306e\u5909\u6570\u3067\u914d\u5217\u3092\u4f5c\u308a\u3001\u305d\u308c\u3092Out-File\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306b\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u6e21\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3059\u308c\u3070\u3088\u3044\u3002-Encoding\u30aa\u30d7\u30b7\u30e7\u30f3\u306bdefault\u3092\u6307\u5b9a\u3059\u308b\u3068\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u30b7\u30d5\u30c8JIS\u3067\u51fa\u529b\u3059\u308b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5404\u8981\u7d20\u3092\u51fa\u529b\u3057\u305f\u5f8c\u306bCR+LF\u3092\u52a0\u3048\u3066\u3001\u4e00\u8981\u7d20\u4e00\u884c\u3068\u306a\u308b\u3088\u3046\u306b\u51fa\u529b\u3059\u308b\u3002\u3053\u308c\u3092\u3059\u3079\u3066\u5358\u7d14\u306b\u9023\u7d50\u3055\u305b\u305f\u3044\u306e\u3067\u3042\u308c\u3070\u3001-NoNewline\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3002 PS > $s = \"01\", \"\u30a2\u30b0\u30cd\u30b9\u30c7\u30b8\u30bf\u30eb\", \"\u9234\u6728\u307f\u306e\u308a\"PS > $s | Out-File -Encoding default temp.txtPS > Get-Content .\\temp.txt01\u30a2\u30b0\u30cd\u30b9\u2026"}