{"id":349,"date":"2021-04-09T18:03:49","date_gmt":"2021-04-09T09:03:49","guid":{"rendered":"https:\/\/techmania.rensa.jp.net\/?p=349"},"modified":"2024-01-30T16:26:57","modified_gmt":"2024-01-30T07:26:57","slug":"powershell0002","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/powershell0002\/","title":{"rendered":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u8a18\u4e8b\u3067\u306f PowerShell \u3067\u96fb\u5b50\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092 Script \u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u304b\u3089\u5b9f\u884c\u307e\u3067\u3092\u624b\u9806\u3068\u3057\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u307e\u305f\u3001\u5b9f\u7528\u7de8\u3068\u3057\u3066\u3001Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306b\u4f34\u3046\u969c\u5bb3\u691c\u77e5\u30e1\u30fc\u30eb\u306e\u81ea\u52d5\u9001\u4fe1\u306e\u5b9f\u88c5\u65b9\u6cd5\u3082\u63b2\u8f09\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3088\u3051\u308c\u3070\u305d\u3061\u3089\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<p>PowerShell \u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306f<span class=\"markerYellow\"><strong>\u226aSend-MailMessage\u226b<\/strong><\/span>\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u5229\u7528\u3057\u3066PowerShell\u304b\u3089\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<br>\u305d\u308c\u3067\u306f\u65e9\u901f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\" id=\"\u524d\u63d0\u6761\u4ef6\">\u524d\u63d0\u6761\u4ef6<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30e1\u30fc\u30eb\u9001\u4fe1\u53ef\u80fd\u306a SMTP \u30b5\u30fc\u30d0\u3092\u4fdd\u6709\u3057\u3066\u3044\u308b\u3053\u3068<\/li>\n\n\n\n<li>PowerShell Script \u306e\u5b9f\u884c\u304c\u5fc5\u8981\u3068\u306a\u308b\u305f\u3081\u5bfe\u8c61\u30de\u30b7\u30f3\u306e ExecutionPolicy \u304c <strong>RemoteSigned<\/strong> \u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068<\/li>\n<\/ul>\n\n\n<p>\u3082\u3057 ExecutionPolicy \u8a2d\u5b9a\u524d\u3067\u3042\u308c\u3070\u7ba1\u7406\u8005\u6a29\u9650\u3067 PowerShell \u3092\u8d77\u52d5\u3057\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"ExecutionPolicy \u5909\u66f4\u30b3\u30de\u30f3\u30c9\">Set-ExecutionPolicy RemoteSigned<\/pre><\/div>\n\n\n\n<h3 id=\"outline__1_2\" class=\"wp-block-heading\" id=\"\u5b9f\u884c\u53ef\u80fd\u74b0\u5883\">\u5b9f\u884c\u53ef\u80fd\u74b0\u5883<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Windows PowerShell \u304c\u5b9f\u884c\u53ef\u80fd\u306a OS Version \u3067\u3042\u308c\u3070\u3001Windows10 \u3084 Windows Server \u3069\u3061\u3089\u3067\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n<div style=\"margin-top:4%;\">\n<a href=\"https:\/\/techmania.jp\/\"><\/a><p style=\"text-align:center; text-decoration:underline black; font-weight:bold;\">\u3042\u306a\u305f\u306e<span style=\"color: red;\">\u3054\u5e0c\u671b\u306b\u6cbf\u3063\u305f\u6848\u4ef6<\/span>\u304c\u5fc5\u305a\u898b\u3064\u304b\u308a\u307e\u3059<br>\u3010\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u5411\u3051\u3011<span style=\"color: red;\">\u9ad8\u53ce\u5165<\/span>\u30fb<span style=\"color: blue;\">\u597d\u5f85\u9047<\/span>\u306e\u6848\u4ef6\u3092\u3054\u7d39\u4ecb<\/p><\/a>\n<\/div>\n<div style=\"text-align:center; margin-top:1%;\"><a href=\"https:\/\/techmania.jp\/\"><img decoding=\"async\" style=\"filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.3)); width:300px;\" alt=\"TECH MANIA \u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\" src=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2024\/01\/fl1.png\"><\/a><\/div>\n<div>\n<a href=\"https:\/\/techmania.jp\/\"><\/a><p style=\"margin-top: 1%;text-align:center; text-decoration:underline black; font-weight:bold;\">\u226b\u307e\u305a\u306f\u7c21\u5358<span style=\"color: blue;\">60<\/span>\u79d2\u3067<span style=\"color: red;\">\u7121\u6599\u304a\u554f\u3044\u5408\u308f\u305b<\/span>\u304b\u3089\u226a<\/p><\/a>\n\n\n<h3 id=\"outline__1_3\" class=\"wp-block-heading\" id=\"shellscript-\u672c\u4f53\">\u624b\u9806<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. \u30e1\u30fc\u30eb\u9001\u4fe1\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002<\/strong><\/p>\n\n\n<p><span class=\"markerYellow\"><strong>\u300cmail_send.ps1\u300d<\/strong><strong>\u30d5\u30a1\u30a4\u30eb<\/strong><\/span>\u3092\u4efb\u610f\u306e\u5834\u6240\u3067\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>Script \u306e\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u3092\u74b0\u5883\u306b\u5247\u3057\u305f\u3082\u306e\u3078\u5909\u66f4\u3057\u305f\u3082\u306e\u3092\u8a18\u8ff0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3001\u30e1\u30fc\u30eb\u9001\u4fe1\u7528 SMTP \u30b5\u30fc\u30d0\u30fc\u3084\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u30b5\u30a4\u30c8\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u5909\u66f4\u3059\u308c\u3070\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">$MailParam = @{\n        SmtpServer = \"&lt;SMTP \u30b5\u30fc\u30d0\u30c9\u30e1\u30a4\u30f3&gt;\";\n        From = \"&lt;\u9001\u4fe1\u5143\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&gt;\";\n        To = \"&lt;\u9001\u4fe1\u5148\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&gt;\";\n        Subject = \"&lt;\u4ef6\u540d&gt;\"\n        Body = \"&lt;\u672c\u6587&gt;\"\n        Encoding = [System.Text.Encoding]::UTF8\n      }\n      Send-MailMessage @MailParam<\/pre><\/div>\n\n\n<p>\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u6982\u8981\u3092\u4ee5\u4e0b\u306b\u8a18\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u306e\u3067\u3001\u8a2d\u5b9a\u306e\u53c2\u8003\u306b\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<br>\u5fc5\u9808\u3067\u306a\u3044\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td> *smtp<\/td><td> IP \u30a2\u30c9\u30ec\u30b9 \u307e\u305f\u306f SMTP \u30b5\u30fc\u30d0 \u306e\u30c9\u30e1\u30a4\u30f3<\/td><\/tr><tr><td> *from<\/td><td> \u9001\u4fe1\u5143\u30a2\u30c9\u30ec\u30b9<\/td><\/tr><tr><td> *to<\/td><td> \u9001\u4fe1\u5148\u30a2\u30c9\u30ec\u30b9<\/td><\/tr><tr><td> cc<\/td><td> Cc \u9001\u4fe1\u5148\u30a2\u30c9\u30ec\u30b9<\/td><\/tr><tr><td> bcc<\/td><td> \u975e\u516c\u958b\u9001\u4fe1\u5148\u30a2\u30c9\u30ec\u30b9<\/td><\/tr><tr><td> *subject<\/td><td> \u4ef6\u540d<\/td><\/tr><tr><td> *body<\/td><td> \u672c\u6587<\/td><\/tr><tr><td> port<\/td><td> SMTP \u30dd\u30fc\u30c8<\/td><\/tr><tr><td> Encoding<\/td><td> \u6587\u5b57\u30b3\u30fc\u30c9\u306e\u6307\u5b9a<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#72787e\" class=\"has-inline-color\">\u203b\u74b0\u5883\u306b\u5fdc\u3058\u3066\u9069\u5b9c\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u4e00\u822c\u7684\u306a\u74b0\u5883\u3067\u3042\u308c\u3070 UTF8 \u3092\u6307\u5b9a\u3057\u3066\u3044\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p>* \u30fb\u30fb\u30fb\u5fc5\u9808\u30d1\u30e9\u30e1\u30fc\u30bf<\/p>\n\n\n<p class=\"wp-block-paragraph\"><strong>2. \u5b9f\u969b\u306b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u307f\u308b\u3002<\/strong><\/p>\n\n\n<p>\u624b\u98061\u3067\u4f5c\u6210\u3057\u305f ps1 \u30d5\u30a1\u30a4\u30eb\u3092 PowerShell \u304b\u3089\u5b9f\u884c\u3059\u308b\u304b\u3001\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u4e0a\u304b\u3089 ps1 \u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u958b\u304f\u3053\u3068\u3067\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<br>\u8a2d\u5b9a\u3057\u305f\u5185\u5bb9\u3067\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u975e\u5e38\u306b\u77ed\u3044\u624b\u9806\u3067\u3057\u305f\u304c\u3001\u30e1\u30fc\u30eb\u9001\u4fe1\u306f\u975e\u5e38\u306b\u7c21\u5358\u306b\u5b9f\u73fe\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u5b9f\u7528\u7de8\u3068\u3057\u3066 Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u305f\u969b\u306b\u6b63\u5e38\u5024\u3067\u3042\u308b response code200 \u4ee5\u5916\u304c web \u30b5\u30a4\u30c8\u304b\u3089\u8fd4\u5374\u3055\u308c\u305f\u969b\u306b\u81ea\u52d5\u3067\u901a\u77e5\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3068\u3044\u3063\u305f\u5b9f\u88c5\u3092\u884c\u3046\u5834\u5408\u306e\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">PowerShell \u3067 Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3068\u30e1\u30fc\u30eb\u901a\u77e5<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:ps decode:true \" title=\"health_checker.ps1\">$urls = @(\n  \"https:\/\/xxx.com\/\",\n  \"http:\/\/yyy.com\/\"\n)\nfor ($i = 0; $i -lt $urls.Length; $i++){\n    $request = curl $urls[$i]\n    $responseCode = $request.StatusCode\n    if( $responseCode -eq 200 ) {\n      # \u6b63\u5e38\u6642\u306e\u51e6\u7406\u304c\u3042\u308c\u3070\u3053\u3053\u306b\n    } else {\n      # \u60f3\u5b9a\u3057\u3066\u3044\u306a\u3044 response code \u306e\u5834\u5408\u306e\u51e6\u7406\u3092\u3053\u3053\u306b\n      $MailParam = @{\n        SmtpServer = \"&lt;SMTP \u30b5\u30fc\u30d0\u30c9\u30e1\u30a4\u30f3&gt;\";\n        From = \"&lt;\u9001\u4fe1\u5143\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&gt;\";\n        To = \"&lt;\u9001\u4fe1\u5148\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9&gt;\";\n        Subject = $urls[$i] + \":health checker server error\"\n        Body = \"response failer - url : \" + $urls[$i] + \"`n Correspondence contents : `n The server may be down.\"\n        Encoding = [System.Text.Encoding]::UTF8\n      }\n      Send-MailMessage @MailParam\n    }\n}<\/pre><\/div>\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002<br>\u66f4\u306b\u8e0f\u307f\u8fbc\u3080\u3068\u3001\u30a8\u30e9\u30fc\u306e\u691c\u77e5\u306f\u624b\u52d5\u3067\u306f\u306a\u304f\u81ea\u52d5\u3067\u884c\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3067\u3059\u3088\u306d\u3002<br>ps1 \u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u3067\u5b9a\u671f\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3082\u8a18\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u305d\u3061\u3089\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\" id=\"\u88dc\u8db3-\u81ea\u52d5\u3067\u5b9a\u671f\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\">\u88dc\u8db3\uff1a\u81ea\u52d5\u3067\u5b9a\u671f\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/h3>\n\n\n<p>\u81ea\u52d5\u5316\u3092\u3059\u308b\u5834\u5408\u3001Windows \u3067\u3042\u308c\u3070\u300c\u30bf\u30b9\u30af\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u300d\u304c\u4fbf\u5229\u3067\u3059\u3002<br>Linux \u3067\u3042\u308c\u3070 cron \u3068\u805e\u304f\u3068\u99b4\u67d3\u307f\u306e\u3042\u308b\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br>\u30bf\u30b9\u30af\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u306e\u767b\u9332\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u516c\u958b\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br>Web \u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046 PowerShell Script \u3092\u7d39\u4ecb\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001PowerShell \u3092\u672c\u624b\u9806\u3067\u767b\u9332\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\nhttps:\/\/techmania.jp\/blog\/windows0001\/\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [{\n    \"@type\": \"Question\",\n    \"name\": \"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u306f\uff1f\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"\u30e1\u30fc\u30eb\u9001\u4fe1\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u300cmail_send.ps1\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u4efb\u610f\u306e\u5834\u6240\u3067\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\nScript \u306e\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u3092\u74b0\u5883\u306b\u5247\u3057\u305f\u3082\u306e\u3078\u5909\u66f4\u3057\u305f\u3082\u306e\u3092\u8a18\u8ff0\u3057\u307e\u3057\u3087\u3046\u3002\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"\u5b9f\u884c\u53ef\u80fd\u74b0\u5883\u306f\uff1f\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"Windows PowerShell \u304c\u5b9f\u884c\u53ef\u80fd\u306a OS Version \u3067\u3042\u308c\u3070\u3001Windows10 \u3084 Windows Server \u3069\u3061\u3089\u3067\u3082\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"\u81ea\u52d5\u3067\u5b9a\u671f\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306f\uff1f\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"\u81ea\u52d5\u5316\u3092\u3059\u308b\u5834\u5408\u3001Windows \u3067\u3042\u308c\u3070\u300c\u30bf\u30b9\u30af\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u300d\u304c\u4fbf\u5229\u3067\u3059\u3002\nLinux \u3067\u3042\u308c\u3070 cron \u3068\u805e\u304f\u3068\u99b4\u67d3\u307f\u306e\u3042\u308b\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\"\n    }\n  }]\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"\u672c\u8a18\u4e8b\u3067\u306f PowerShell \u3067\u96fb\u5b50\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092 Script \u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u304b\u3089\u5b9f\u884c\u307e\u3067\u3092\u624b\u9806\u3068\u3057\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u5b9f\u7528\u7de8\u3068\u3057\u3066\u3001Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306b\u4f34\u3046\u969c\u5bb3\u691c\u77e5\u30e1\u30fc\u30eb\u306e\u81ea\u52d5\u9001\u4fe1\u306e\u5b9f\u88c5\u65b9\u6cd5\u3082\u63b2\u8f09\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3088\u3051\u308c\u3070\u305d\u3061\u3089\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 PowerShell \u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306f\u226aSend-MailMessage\u226b\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u5229\u7528\u3057\u3066Power [&hellip;]","protected":false},"author":2,"featured_media":351,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_ps.jpg","fifu_image_alt":"PowerShell \u3067 Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3068\u30e1\u30fc\u30eb\u901a\u77e5","footnotes":""},"categories":[13],"tags":[12,64,60],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-powershell","tag-web","tag-treatment"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"K.S\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/techmania.jp\/blog\/powershell0002\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TechMania |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania\" \/>\n\t\t<meta property=\"og:description\" content=\"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/techmania.jp\/blog\/powershell0002\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1368\" \/>\n\t\t<meta property=\"og:image:height\" content=\"196\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-04-09T09:03:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-30T07:26:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#blogposting\",\"name\":\"PowerShell\\u3067\\u30e1\\u30fc\\u30eb\\u3092\\u9001\\u4fe1\\u3059\\u308b\\u65b9\\u6cd5 | TechMania\",\"headline\":\"PowerShell\\u3067\\u30e1\\u30fc\\u30eb\\u3092\\u9001\\u4fe1\\u3059\\u308b\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/keita-sugiyama\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/rensa\\\/images\\\/techmania\\\/common\\\/ai_catch_ps.jpg\",\"width\":1000,\"height\":560,\"caption\":\"PowerShell \\u3067 Web \\u30b5\\u30a4\\u30c8\\u306e\\u30d8\\u30eb\\u30b9\\u30c1\\u30a7\\u30c3\\u30af\\u3068\\u30e1\\u30fc\\u30eb\\u901a\\u77e5\"},\"datePublished\":\"2021-04-09T18:03:49+09:00\",\"dateModified\":\"2024-01-30T16:26:57+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#webpage\"},\"articleSection\":\"Windows, PowerShell, web, \\u51e6\\u7406\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/techmania.jp\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/windows\\\/#listItem\",\"name\":\"Windows\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/windows\\\/#listItem\",\"position\":2,\"name\":\"Windows\",\"item\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/windows\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#listItem\",\"name\":\"PowerShell\\u3067\\u30e1\\u30fc\\u30eb\\u3092\\u9001\\u4fe1\\u3059\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#listItem\",\"position\":3,\"name\":\"PowerShell\\u3067\\u30e1\\u30fc\\u30eb\\u3092\\u9001\\u4fe1\\u3059\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/windows\\\/#listItem\",\"name\":\"Windows\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\",\"name\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30ec\\u30f3\\u30b5\",\"description\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30ec\\u30f3\\u30b5\\u306f\\u3001\\u81ea\\u793e\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\\u904b\\u7528\\u3092\\u8ef8\\u306b\\u300c\\u30aa\\u30a6\\u30f3\\u30c9\\u30e1\\u30c7\\u30a3\\u30a2\\u904b\\u55b6\\u300d\\u300c\\u5404\\u30e1\\u30c7\\u30a3\\u30a2\\u306e\\u5e83\\u544a\\u904b\\u7528\\u300d\\u300c\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u306e\\u80b2\\u6210\\u300d\\u300c\\u30b7\\u30b9\\u30c6\\u30e0\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u30ea\\u30f3\\u30b0\\u4e8b\\u696d\\u300d\\u3092\\u5c55\\u958b\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\\u6e29\\u5ea6\\u3092\\u611f\\u3058\\u308b\\u30af\\u30ea\\u30a8\\u30a4\\u30c6\\u30a3\\u30d6\\u3068\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u30ea\\u30f3\\u30b0\\u3067\\u793e\\u4f1a\\u306b\\u8ca2\\u732e\\u3057\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/\",\"telephone\":\"+81364575500\",\"foundingDate\":\"2011-02-18\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/images\\\/techmania\\\/thumbnail\\\/images\\\/logo2.webp\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/keita-sugiyama\\\/#author\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/keita-sugiyama\\\/\",\"name\":\"K.S\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6bd6535ef5e0e8862fea5d210a4ec1b6618f7bc7b1af4290349ee72d6905b664?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"K.S\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#webpage\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/\",\"name\":\"PowerShell\\u3067\\u30e1\\u30fc\\u30eb\\u3092\\u9001\\u4fe1\\u3059\\u308b\\u65b9\\u6cd5 | TechMania\",\"description\":\"\\u5f0a\\u793e\\u3067\\u306f\\u3061\\u3087\\u3063\\u3068\\u3057\\u305f\\u51e6\\u7406\\u3092\\u8ffd\\u52a0\\u3057\\u305f\\u3044\\u5834\\u5408\\u306b PowerShell \\u3092\\u4f7f\\u7528\\u3059\\u308b\\u306e\\u3067\\u3059\\u304c\\u3001\\u5148\\u65e5\\u5f0a\\u793e\\u3067\\u516c\\u958b\\u3057\\u3066\\u3044\\u308b\\u30b5\\u30a4\\u30c8\\u306e\\u751f\\u5b58\\u78ba\\u8a8d\\u3092\\u884c\\u3046\\u51e6\\u7406\\u3092\\u8ffd\\u52a0\\u3057\\u305f\\u3044\\u3068\\u3044\\u3046\\u4e8b\\u4f8b\\u304c\\u3042\\u308a\\u307e\\u3057\\u305f\\u3002\\u7c21\\u5358\\u306b\\u4f5c\\u6210\\u3067\\u304d\\u307e\\u3059\\u306e\\u3067\\u5171\\u6709\\u3057\\u305f\\u3044\\u3068\\u601d\\u3044\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/keita-sugiyama\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/keita-sugiyama\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/rensa\\\/images\\\/techmania\\\/common\\\/ai_catch_ps.jpg\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#mainImage\",\"width\":1000,\"height\":560,\"caption\":\"PowerShell \\u3067 Web \\u30b5\\u30a4\\u30c8\\u306e\\u30d8\\u30eb\\u30b9\\u30c1\\u30a7\\u30c3\\u30af\\u3068\\u30e1\\u30fc\\u30eb\\u901a\\u77e5\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/powershell0002\\\/#mainImage\"},\"datePublished\":\"2021-04-09T18:03:49+09:00\",\"dateModified\":\"2024-01-30T16:26:57+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/\",\"name\":\"TechMania\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania","description":"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","canonical_url":"https:\/\/techmania.jp\/blog\/powershell0002\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#blogposting","name":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania","headline":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5","author":{"@id":"https:\/\/techmania.jp\/blog\/author\/keita-sugiyama\/#author"},"publisher":{"@id":"https:\/\/techmania.jp\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_ps.jpg","width":1000,"height":560,"caption":"PowerShell \u3067 Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3068\u30e1\u30fc\u30eb\u901a\u77e5"},"datePublished":"2021-04-09T18:03:49+09:00","dateModified":"2024-01-30T16:26:57+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#webpage"},"isPartOf":{"@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#webpage"},"articleSection":"Windows, PowerShell, web, \u51e6\u7406"},{"@type":"BreadcrumbList","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/techmania.jp\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/windows\/#listItem","name":"Windows"}},{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/windows\/#listItem","position":2,"name":"Windows","item":"https:\/\/techmania.jp\/blog\/category\/windows\/","nextItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#listItem","name":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#listItem","position":3,"name":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/windows\/#listItem","name":"Windows"}}]},{"@type":"Organization","@id":"https:\/\/techmania.jp\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793e\u30ec\u30f3\u30b5","description":"\u682a\u5f0f\u4f1a\u793e\u30ec\u30f3\u30b5\u306f\u3001\u81ea\u793e\u30b3\u30f3\u30c6\u30f3\u30c4\u904b\u7528\u3092\u8ef8\u306b\u300c\u30aa\u30a6\u30f3\u30c9\u30e1\u30c7\u30a3\u30a2\u904b\u55b6\u300d\u300c\u5404\u30e1\u30c7\u30a3\u30a2\u306e\u5e83\u544a\u904b\u7528\u300d\u300c\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u80b2\u6210\u300d\u300c\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u4e8b\u696d\u300d\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u3002\u6e29\u5ea6\u3092\u611f\u3058\u308b\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u3068\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3067\u793e\u4f1a\u306b\u8ca2\u732e\u3057\u307e\u3059\u3002","url":"https:\/\/techmania.jp\/blog\/","telephone":"+81364575500","foundingDate":"2011-02-18","logo":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/logo2.webp","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#organizationLogo"},"image":{"@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/techmania.jp\/blog\/author\/keita-sugiyama\/#author","url":"https:\/\/techmania.jp\/blog\/author\/keita-sugiyama\/","name":"K.S","image":{"@type":"ImageObject","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/6bd6535ef5e0e8862fea5d210a4ec1b6618f7bc7b1af4290349ee72d6905b664?s=96&d=mm&r=g","width":96,"height":96,"caption":"K.S"}},{"@type":"WebPage","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#webpage","url":"https:\/\/techmania.jp\/blog\/powershell0002\/","name":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania","description":"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/techmania.jp\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#breadcrumblist"},"author":{"@id":"https:\/\/techmania.jp\/blog\/author\/keita-sugiyama\/#author"},"creator":{"@id":"https:\/\/techmania.jp\/blog\/author\/keita-sugiyama\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_ps.jpg","@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#mainImage","width":1000,"height":560,"caption":"PowerShell \u3067 Web \u30b5\u30a4\u30c8\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3068\u30e1\u30fc\u30eb\u901a\u77e5"},"primaryImageOfPage":{"@id":"https:\/\/techmania.jp\/blog\/powershell0002\/#mainImage"},"datePublished":"2021-04-09T18:03:49+09:00","dateModified":"2024-01-30T16:26:57+09:00"},{"@type":"WebSite","@id":"https:\/\/techmania.jp\/blog\/#website","url":"https:\/\/techmania.jp\/blog\/","name":"TechMania","inLanguage":"ja","publisher":{"@id":"https:\/\/techmania.jp\/blog\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"TechMania |","og:type":"article","og:title":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania","og:description":"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","og:url":"https:\/\/techmania.jp\/blog\/powershell0002\/","og:image":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png","og:image:secure_url":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png","og:image:width":1368,"og:image:height":196,"article:published_time":"2021-04-09T09:03:49+00:00","article:modified_time":"2024-01-30T07:26:57+00:00","twitter:card":"summary","twitter:title":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5 | TechMania","twitter:description":"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","twitter:image":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png"},"aioseo_meta_data":{"post_id":"349","title":null,"description":"\u5f0a\u793e\u3067\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u5f0a\u793e\u3067\u516c\u958b\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306e\u751f\u5b58\u78ba\u8a8d\u3092\u884c\u3046\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u3044\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u306e\u3067\u5171\u6709\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002","keywords":[],"keyphrases":{"focus":[],"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"created":"2021-09-09 03:45:45","updated":"2026-05-15 06:23:38","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-6a06bbea12b31","slug":"article","graphName":"Article","label":"\u8a18\u4e8b","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techmania.jp\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techmania.jp\/blog\/category\/windows\/\" title=\"Windows\">Windows<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/techmania.jp\/blog"},{"label":"Windows","link":"https:\/\/techmania.jp\/blog\/category\/windows\/"},{"label":"PowerShell\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5","link":"https:\/\/techmania.jp\/blog\/powershell0002\/"}],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":46,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":6667,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions\/6667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/351"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}