{"version":"1.0","published":"2019-03-06 15:26:09","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frehctacedalb.hateblo.jp%2Fentry%2F2019%2F03%2F06%2F152609\" title=\"PowerShell\u3067\u95a2\u6570\u3092\u4f5c\u308d\u3046 - \u8a9e\u5f59\u529b\u304c\u6b7b\u3093\u3067\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","categories":["PowerShell"],"url":"https://rehctacedalb.hateblo.jp/entry/2019/03/06/152609","width":"100%","blog_title":"\u8a9e\u5f59\u529b\u304c\u6b7b\u3093\u3067\u308b","height":"190","provider_name":"Hatena Blog","blog_url":"https://rehctacedalb.hateblo.jp/","title":"PowerShell\u3067\u95a2\u6570\u3092\u4f5c\u308d\u3046","description":"Powershell\u3067\u95a2\u6570\u3092\u4f5c\u308c\u3068\u6307\u793a\u304c\u3042\u3063\u305f\u3002 \u95a2\u6570\u306e\u4e2d\u8eab\u306f\u3001\u3042\u308b\u6587\u5b57\u5217\u306e\u5b58\u5728\u306e\u6709\u7121\u3092\u691c\u7d22\u3057\u3001\u7d50\u679c\u306b\u3088\u3063\u3066\u51fa\u529b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5909\u3048\u308d\u3001\u7684\u306a\u3082\u306e\u3002 \u305d\u3057\u3066\u305d\u306e\u95a2\u6570\u306f\u3001\u5225\u306a\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3002 \u4ee5\u4e0b\u306f\u95a2\u6570\u7528\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3002\u8d85\u9069\u5f53\u3060\u304c\u3001Ping\u306e\u5b9f\u884c\u7d50\u679c\u304b\u3089\u6587\u5b57\u5217\u3092\u691c\u7d22\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u3002 function grep ($word){ ping localhost | Select-String -Pattern $word } \u4ee5\u4e0b\u306f\u547c\u3073\u51fa\u3057\u7528\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3002 . \".\\\\pingrep.ps1\"$result = grep \"\u30e9\u30a6\u30f3\u30c9 \u30c8\u30ea\u30c3\u30d7\u306e\u6982\u7b97\u6642\u9593\"if($result -e\u2026","author_name":"BladeCatcher","author_url":"https://blog.hatena.ne.jp/BladeCatcher/","type":"rich","image_url":null}