{"id":9464,"date":"2024-03-12T22:45:31","date_gmt":"2024-03-12T13:45:31","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=9464"},"modified":"2024-03-12T22:45:32","modified_gmt":"2024-03-12T13:45:32","slug":"post-9464","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2024\/03\/12\/post-9464\/","title":{"rendered":"\u53e4\u3044Windows\u306ePowershell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u308b\u3068\u6587\u5b57\u5316\u3051\u3059\u308b"},"content":{"rendered":"\n<p>\u53e4\u3044Windows\uff08Windows Server 2008 R2\uff09 \u306ePowershell\uff08Ver 2.0\uff09\u3067\u3001\u30e1\u30fc\u30eb\u3092\u9001\u4ed8\u3059\u308b\u3068\u3001\u300c-Encoding\u300d\u3067UTF8\u3092\u6307\u5b9a\u3057\u3066\u3044\u3066\u3082\u6587\u5b57\u5316\u3051\u3059\u308b\u4e8b\u8c61\u306b\u906d\u9047\u3057\u305f\u3002<\/p>\n\n\n\n<p>Powershell\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001Windows10\u3067\u3001VS Code\u3092\u4f7f\u3063\u3066\u66f8\u304d\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u306fUTF8\u306b\u3057\u3066\u3044\u308b\u3002\u305d\u3053\u3067\u958b\u767a\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u3001\u53e4\u3044Windows\u306b\u6301\u3063\u3066\u884c\u3063\u3066\u5b9f\u884c\u3059\u308b\u3002\u5b9f\u884c\u306f\u554f\u984c\u306a\u304f\u3067\u304d\u308b\u306e\u3060\u304c\u3001\u305d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u9001\u3089\u308c\u3066\u304f\u308b\u30e1\u30fc\u30eb\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3046\u3002<\/p>\n\n\n\n<p>Powershell\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\uff08.ps1\uff09\u3092\u307f\u3066\u307f\u308b\u3068\u3001BOM\u306a\u3057\u3067\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u3002\u3053\u308c\u3092BOM\u3042\u308a\u3067\u4fdd\u5b58\u3057\u306a\u304a\u3057\u3066\u3001\u53e4\u3044Windows\u74b0\u5883\u3067\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3001\u6587\u5b57\u5316\u3051\u304c\u89e3\u6d88\u3057\u305f\u3002\u53e4\u3044Windows\u74b0\u5883\u306e\u30e1\u30e2\u5e33\u3067\u306f\u3001\u6587\u5b57\u5316\u3051\u305b\u305a\u306b\u958b\u3051\u305f\u304c\u3001Powershell\u306e\u5b9f\u884c\u74b0\u5883\u3060\u3068\u3001BOM\u304c\u306a\u3044\u3068SJIS\u3067\u958b\u3044\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u3053\u3053\u3067\u6587\u5b57\u5316\u3051\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>Powershell\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306f\u3001UTF\u306e\u5834\u5408\u306f\u3001BOM\u3042\u308a\u3067\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53e4\u3044Windows\uff08Windows Server 2008 R2\uff09 \u306ePowershell\uff08Ver 2.0\uff09\u3067\u3001\u30e1\u30fc\u30eb\u3092\u9001\u4ed8\u3059\u308b\u3068\u3001\u300c-Encoding\u300d\u3067UTF8\u3092\u6307\u5b9a\u3057\u3066\u3044\u3066\u3082\u6587\u5b57\u5316\u3051\u3059\u308b\u4e8b\u8c61\u306b\u906d\u9047\u3057\u305f\u3002 Power [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[13],"class_list":["post-9464","post","type-post","status-publish","format-standard","hentry","category-windows","tag-powershell"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/9464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=9464"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/9464\/revisions"}],"predecessor-version":[{"id":9465,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/9464\/revisions\/9465"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=9464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=9464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=9464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}