{"id":2269,"date":"2012-04-25T17:35:08","date_gmt":"2012-04-25T08:35:08","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=2269"},"modified":"2012-07-05T18:32:32","modified_gmt":"2012-07-05T09:32:32","slug":"%e3%83%90%e3%83%83%e3%83%81%e3%81%a7%e3%83%8e%e3%83%bc%e3%83%88pc%e3%81%ae%e3%83%90%e3%83%83%e3%83%86%e3%83%aa%e7%ae%97%e5%ae%b9%e9%87%8f%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/2269","title":{"rendered":"\u30ce\u30fc\u30c8PC\u306e\u30d0\u30c3\u30c6\u30ea\u6b8b\u5bb9\u91cf\u3092\u30d0\u30c3\u30c1\u3067\u53d6\u5f97\u3059\u308b"},"content":{"rendered":"<p>\nVBScript\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u4e8b\u3067\u3001\u30ce\u30fc\u30c8PC\u306e\u6b8b\u30d0\u30c3\u30c6\u30ea\u30fc\u5bb9\u91cf\u3092\u53d6\u5f97\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u306b\u306fwmi\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067C#\u306a\u3069\u3001\u4ed6\u306e\u8a00\u8a9e\u3078\u306e\u79fb\u690d\u3082\u7c21\u5358\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<pre lang=\"vb\">\n'---------------------------------------------------\n' \u30ce\u30fc\u30c8PC\u306e\u30d0\u30c3\u30c6\u30ea\u7b97\u5bb9\u91cf\u3092\u53d6\u5f97\u3059\u308b\n' usage: cscript \/Nologo \u30d0\u30c3\u30c6\u30ea\u5bb9\u91cf.vbs\n'---------------------------------------------------\nSet rows = GetObject(\"winmgmts:\\\\.\\root\\cimv2\").ExecQuery(\"Select * from Win32_Battery\",,48)\n\nFor Each row in rows\n    Wscript.Echo \"\u30d0\u30c3\u30c6\u30ea\u5bb9\u91cf: \" & row.EstimatedChargeRemaining & \"%\"\n    Wscript.Echo \"\u6b8b\u308a\u4f7f\u7528\u6642\u9593: \" & row.EstimatedRunTime & \"\u5206\"\nNext\n<\/pre>\n<br \/>\n<br \/>\n\u4e0a\u8a18\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u300c\u30d0\u30c3\u30c6\u30ea\u5bb9\u91cf.vbs\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u4fdd\u5b58\u3057\u305f\u4e0a\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<pre lang=\"x\">\ncscript.exe \/Nologo \u30d0\u30c3\u30c6\u30ea\u5bb9\u91cf.vbs\n<\/pre>\n<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9:<a href='http:\/\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/04\/e13d5d4a7563d2349f4238dc2b765acb.zip'>\u30d0\u30c3\u30c6\u30ea\u5bb9\u91cf.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VBScript\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u4e8b\u3067\u3001\u30ce\u30fc\u30c8PC\u306e\u6b8b\u30d0\u30c3\u30c6\u30ea\u30fc\u5bb9\u91cf\u3092\u53d6\u5f97\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002 \u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u306b\u306fwmi\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067C#\u306a\u3069\u3001\u4ed6\u306e\u8a00\u8a9e\u3078\u306e\u79fb\u690d\u3082\u7c21\u5358\u304b\u3068\u601d\u3044\u307e\u3059\u3002 &#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8216; \u30ce\u30fc\u30c8PC\u306e\u30d0\u30c3\u30c6\u30ea\u7b97\u5bb9\u91cf\u3092\u53d6\u5f97\u3059\u308b &#8216; usage: cscript \/Nologo \u30d0\u30c3\u30c6\u30ea\u5bb9\u91cf.vbs &#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Set rows = GetObject(&#8220;winmgmts:\\\\.\\root\\ci\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[24],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":23,"url":"http:\/\/nanoappli.com\/blog\/archives\/23","url_meta":{"origin":2269,"position":0},"title":"[C#]PC\u306e\u30b5\u30b9\u30da\u30f3\u30c9\u3001\u30ec\u30b8\u30e5\u30fc\u30e0\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u691c\u51fa\u3059\u308b","date":"2011\u5e7412\u670823\u65e5","format":false,"excerpt":"\u6982\u8981 \u30ce\u30fc\u30c8PC\u3067\u306f\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u6d88\u8cbb\u3092\u6291\u3048\u308b\u70ba\u306b\u3001\u3088\u304fPC\u306e\u30b5\u30b9\u30da\u30f3\u30c9\uff65\u30ec\u30b8\u30e5\u30fc\u30e0\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 \u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/1223_2.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2746,"url":"http:\/\/nanoappli.com\/blog\/archives\/2746","url_meta":{"origin":2269,"position":1},"title":"\u30d0\u30c3\u30c6\u30ea\u30fc\u306e\u6027\u80fd\u30e9\u30f3\u30af\u3068\u84c4\u96fb\u5bb9\u91cf(Ah)\u306e\u5bfe\u5fdc\u8868","date":"2012\u5e745\u670822\u65e5","format":false,"excerpt":"\u30ab\u30fc\u30b7\u30e7\u30c3\u30d7\u306a\u3069\u3067\u8ca9\u58f2\u3055\u308c\u3066\u3044\u308b\u30d0\u30c3\u30c6\u30ea\u30fc\u306f\u3001\u305d\u306e\u6027\u80fd\u3084\u5927\u304d\u3055\u306b\u3088\u3063\u3066\u578b\u5f0f\u304c\u4ed8\u3051\u3089\u308c\u3066\u3044\u307e\u3059\u3002 \u4f8b\u3048\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/05\/20120522_05-500x208.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7697,"url":"http:\/\/nanoappli.com\/blog\/archives\/7697","url_meta":{"origin":2269,"position":2},"title":"200g\u4ee5\u4e0b\u306e\u8efd\u91cf10000mAh USB\u30d0\u30c3\u30c6\u30ea\u30fc\u3092\u8cfc\u5165[TSUNEO 10000mAh]","date":"2016\u5e748\u670817\u65e5","format":false,"excerpt":"\u91cd\u91cf\u304c\u8efd\u3081\u3067\u300110000mAh\u4ee5\u4e0a\u306e\u5927\u5bb9\u91cfUSB\u30d0\u30c3\u30c6\u30ea\u30fc\u3092\u63a2\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u5148\u65e5Amazon\u3067\u6761\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2016\/08\/160817_1-500x266.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3236,"url":"http:\/\/nanoappli.com\/blog\/archives\/3236","url_meta":{"origin":2269,"position":3},"title":"\u81ea\u4f5c\u30bd\u30fc\u30e9\u30fc\u767a\u96fb\u7528\u306e\u30d0\u30c3\u30c6\u30ea\u30fc\u3092\u5927\u5bb9\u91cf\u306b\u5909\u66f4","date":"2012\u5e746\u670825\u65e5","format":false,"excerpt":"\u524d\u56de\u4f5c\u6210\u3057\u305f\u81ea\u4f5c\u30bd\u30fc\u30e9\u30fc\u767a\u96fb\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u304c\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u304c\u5f31\u3063\u3066\u3044\u3066\u5341\u5206\u306b\u84c4\u96fb\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u4eca\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/06\/20120625_17-404x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2176,"url":"http:\/\/nanoappli.com\/blog\/archives\/2176","url_meta":{"origin":2269,"position":4},"title":"\u30c1\u30e3\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9MPPT10\u30b7\u30ea\u30fc\u30ba(MPPT30,MPPT60,WS-MPPT30,SE-MPPT30 etc&#8230;)\u306e\u6a5f\u80fd\u8aac\u660e","date":"2012\u5e744\u670814\u65e5","format":false,"excerpt":"\u30bd\u30fc\u30e9\u30fc\u767a\u96fb\u3067\u4f7f\u7528\u3059\u308b\u30c1\u30e3\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306eMPPT10\u30b7\u30ea\u30fc\u30ba\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u3067\u3059\u3002 \u3053\u306e\u88fd\u54c1\u3067\u3059\u304c\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/04\/20120414_01-290x204.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2442,"url":"http:\/\/nanoappli.com\/blog\/archives\/2442","url_meta":{"origin":2269,"position":5},"title":"\u30bd\u30fc\u30e9\u30fc\u767a\u96fb\u30b7\u30b9\u30c6\u30e0\u306e\u81ea\u4f5c \u305d\u306e3(\u30c1\u30e3\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9)","date":"2012\u5e745\u67089\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u8a18\u4e8b\u3067\u3001\u30bd\u30fc\u30e9\u30fc\u30d1\u30cd\u30eb\u5074\u3001\u30d0\u30c3\u30c6\u30ea\u30fc\u5074\u306e\u6e96\u5099\u304c\u305d\u308c\u305e\u308c\u51fa\u6765\u307e\u3057\u305f\u3002 \u30bd\u30fc\u30e9\u30fc\u767a\u96fb\u306e\u81ea\u4f5c\u7528\u306b\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/05\/20120509_26-500x419.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/2269"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=2269"}],"version-history":[{"count":7,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/2269\/revisions"}],"predecessor-version":[{"id":3462,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/2269\/revisions\/3462"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=2269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=2269"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=2269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}