{"categories":["MSH"],"image_url":"https://cdn-ak.d.st-hatena.com/diary/newpops/2005-10-03.jpg","blog_title":"PowerShell Memo","version":"1.0","title":"\u30d7\u30ed\u30b0\u30ec\u30b9\u30d0\u30fc\u8868\u793a","published":"2005-10-03 00:00:00","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/newpops/","author_name":"newpops","type":"rich","width":"100%","description":"MSH\u3067\u51e6\u7406\u306e\u9032\u6357\u8868\u793a\u3092\u884c\u3046\u5834\u5408\u3001\u300cwrite-progres\u300d\u304c\u4fbf\u5229\u3067\u3059\u3002 Progress\u8868\u793a 10\u30df\u30ea\u79d2\u6bce\u306b\u51e6\u7406\u304c1%\u9032\u3080\u30b5\u30f3\u30d7\u30eb for($i = 1; $i -le 100; $i++ ) { write-progress \"\u25cb\u25cb\u30d7\u30ed\u30b0\u30e9\u30e0\" \"\u9032\u6357\" 1 $i start-sleep -m 10 }start-sleep\u306f\u79d2\u5358\u4f4d\uff0f\u30df\u30ea\u79d2\u5358\u4f4d\u3067\u51e6\u7406\u3092\u30b9\u30ea\u30fc\u30d7\u3059\u308bCmdlet\u3067\u3059\u3002 \u79d2\u5358\u4f4d\u3067\u30b9\u30ea\u30fc\u30d7\u3059\u308b\u5834\u5408\u306f\u300c-s\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 start-sleep -s 10","blog_url":"https://newpops.hatenadiary.org/","url":"https://newpops.hatenadiary.org/entry/20051003/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnewpops.hatenadiary.org%2Fentry%2F20051003%2Fp1\" title=\"\u30d7\u30ed\u30b0\u30ec\u30b9\u30d0\u30fc\u8868\u793a - PowerShell Memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190"}