{"id":1465,"date":"2017-01-31T16:55:59","date_gmt":"2017-01-31T07:55:59","guid":{"rendered":"http:\/\/192.168.1.111\/blog\/?p=1465"},"modified":"2017-04-20T16:27:03","modified_gmt":"2017-04-20T07:27:03","slug":"windowspowershell%e3%82%92%e3%81%a4%e3%81%8b%e3%81%a3%e3%81%a6%e9%80%a3%e7%b6%9a%e4%bd%9c%e6%a5%ad","status":"publish","type":"post","link":"https:\/\/www.mita.nu\/blog\/windowspowershell%e3%82%92%e3%81%a4%e3%81%8b%e3%81%a3%e3%81%a6%e9%80%a3%e7%b6%9a%e4%bd%9c%e6%a5%ad","title":{"rendered":"WindowsPowerShell\u3092\u3064\u304b\u3063\u3066\u9023\u7d9a\u4f5c\u696d"},"content":{"rendered":"<p><script src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\" async=\"\"><\/script><br \/>\n<script>\/\/ <![CDATA[ (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: \"ca-pub-3695676419355782\", enable_page_level_ads: true }); \/\/ ]]><\/script><\/p>\n<h1>WindowsPowerShell\u3092\u3064\u304b\u3063\u3066\u9023\u7d9a\u4f5c\u696d\u3092\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059<\/h1>\n<p><strong><span style=\"color: #0000ff;\">WindowsPowerShell<\/span>\u3092\u3064\u304b\u3063\u3066\u9023\u7d9a\u4f5c\u696d\u3092\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/strong><\/p>\n<p>\u3088\u304f\u3042\u308b\u4f8b\u3068\u3057\u3066\u3001Excel\u958b\u3044\u3066\u5168\u90e8\u306e\u884c\u3092\u4ed6\u306e\u30a2\u30d7\u30ea\u306b\u5165\u529b\u3057\u305f\u3044\u3053\u3068\u3084\u3001Excel\u306e\u8868\u306b\u66f8\u3044\u3066\u3042\u308b\u4e00\u89a7\u3092\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u30c4\u30fc\u30eb\u306b\u5165\u529b\u3057\u305f\u3044\u3053\u3068\u3063\u3066\u3042\u308a\u307e\u3059\u3088\u306d\uff1f \u79c1\u306f\u305d\u3046\u3044\u3046\u6a5f\u4f1a\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u300c\u5358\u7d14\u306bShell\u3084VBA\u3084C#\u3084ExcelMacro\u306f\u305f\u307e\u305f.bat\u3067\u3067\u304d\u308b\uff01\u300d\u3063\u3066\u7686\u3055\u3093\u3082\u3044\u3089\u3063\u3057\u3083\u3044\u307e\u3059\u304c\u3001\u300c\u30ef\u30bf\u30af\u30b7\u306f\u3067\u304d\u307e\u305b\u3093\u300d\u3002\u3068\u3044\u3046\u304b\u3001\u8a66\u3059\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u3057\u8208\u5473\u304c\u308f\u3044\u305f\u306e\u3067\u3001\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b3\u30d4\u30da\u30b3\u30d4\u30da\u306e\u5358\u7d14\u4f5c\u696d\u3092\u4ee3\u7406\u306e\u5c0f\u4eba\u3055\u3093\u306b\u304a\u9858\u3044\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u306f\u3042\u308b\u7a0b\u5ea6\u30b9\u30ad\u30eb\u304b\u305f\u306e\u53c2\u8003\u30e1\u30e2\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3068\u3046\u308c\u3057\u304f\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4f46\u3057\u3001<span style=\"text-decoration: underline;\"><span style=\"color: #ff0000;\"><strong>\u3057\u3063\u304b\u308a\u3068\u3057\u305f\u51e6\u7406\u3092\u66f8\u304d\u305f\u3044\u65b9\u5411\u3051\u306e\u3084\u308a\u65b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093<\/strong><\/span><\/span>\u306e\u3067\u3001\u3057\u3063\u304b\u308a\u81ea\u52d5\u51e6\u7406\u3092\u4f5c\u308a\u305f\u3044\u65b9\u306f\u3053\u306e\u30da\u30fc\u30b8\u306f\u53c2\u8003\u306b\u3082\u306a\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u8aad\u307f\u98db\u3070\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3054\u6ce8\u610f\uff1a<\/p>\n<p>\u672c\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u4f55\u304b\u8d77\u3053\u3057\u3066\u3057\u307e\u3063\u305f\u969b\u306e\u8cac\u4efb\u306f\u3054\u81ea\u8eab\u3067\u3068\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5e38\u306b\u8a00\u3048\u308b\u3053\u3068\u3067\u3059\u304c\u3001\u81ea\u5df1\u8cac\u4efb\u3067\u5b9f\u65bd\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7279\u306b\u4eca\u56de\u3054\u7d39\u4ecb\u3059\u308b\u3084\u308a\u65b9\u306b\u306f\u30a8\u30e9\u30fc\u51e6\u7406\u3092\u610f\u8b58\u3057\u306a\u3044\u3067\u66f8\u3044\u3066\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u81ea\u52d5\u5b9f\u884c\u3055\u305b\u3066\u3044\u308b\u9593\u306b\u4f55\u304b\u306e\u901a\u77e5\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\uff08\u8aa4\u52d5\u4f5c\u3057\u3066\u52dd\u624b\u306b\u4e88\u671f\u3057\u306a\u3044\u51e6\u7406\u306b\u9032\u3093\u3067\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\uff09\u3084\u3001\u9593\u9055\u3063\u3066\u89e6\u3063\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306e\u51e6\u7406\u306a\u3069\u5bfe\u7b56\u306f\u4e00\u5207\u66f8\u3044\u3066\u3044\u307e\u305b\u3093\u3002\u3088\u304f\u3001\u30d7\u30ed\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u65b9\u304c\u300c\u3053\u3046\u3044\u3046\u6709\u5bb3\u306a\u3082\u306e\u3092Web\u4e0a\u306b\u66f8\u3044\u3066\u516c\u958b\u3059\u308b\u5974\u306e\u305b\u3044\u3067\u3001\u3044\u3044\u52a0\u6e1b\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u4eba\u9593\u304c\u5897\u3048\u308b\u306e\u3060\uff01\u300d\u3063\u3066\u304a\u6012\u308a\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3092\u898b\u304b\u3051\u307e\u3059\u304c\u3001\u305d\u3046\u3044\u3063\u305f\u65b9\u9762\u306e\u65b9\u306f\uff08\u662f\u975e\u65e5\u3005\u57f9\u3063\u305f\u90fd\u5408\u306e\u60aa\u3044\u3082\u306e\u306b\u51fa\u4f1a\u3063\u305f\u3068\u304d\u306b\u3084\u308b\uff09\u76ee\u3092\u305d\u3089\u3059\u30b9\u30ad\u30eb\u3092\u767a\u63ee\u3057\u3066\u3044\u305f\u3060\u3044\u3066\u3001\u672c\u8a18\u4e8b\u3068\u76ee\u3092\u5408\u308f\u305b\u306a\u3044\u3067\u4e0b\u3055\u3044\u307e\u305b\u3002\uff08\u30de\u30de\uff1a\u300c\u3057\u3063\uff01\u76ee\u3092\u5408\u308f\u305b\u3061\u3083\u30c0\u30e1\uff01\u898b\u3061\u3083\u3060\u3081\u3088\u300d\u3063\u3066\u6271\u3044\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u610f\u5473\u4e0d\u660e\uff09<\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Blog\u7528\u57cb\u3081\u8fbc\u307f\u81ea\u52d5\u30b5\u30a4\u30ba --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-3695676419355782\" data-ad-slot=\"3803204959\" data-ad-format=\"auto\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<p>\u4f55\u3084\u3089\u5c0f\u4eba\u3055\u3093\u304c\u52d5\u3044\u3066\u304f\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u697d\u3057\u3044\u3002<\/p>\n<p>\u81ea\u52d5\u6f14\u594f\u30d4\u30a2\u30ce\u306e\u9375\u76e4\u3092\u898b\u3066\u697d\u3057\u3080\u306e\u3068\u540c\u3058\u611f\u3058\uff08\u9055\u3046\u3063\u3066\uff1f\uff09\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>WindowsPowerShell\u3067\u81ea\u52d5\u30ad\u30fc\u5165\u529b\u3092\u5229\u7528\u3057\u3066Excel\u304b\u3089Web\u30d6\u30e9\u30a6\u30b6\u306e\u30c4\u30fc\u30eb\u3067\u5165\u529b\u3068\u3044\u3046\u3082\u306e\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\uff08\u73fe\u5728Excel\u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3067\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002Chrome\u3092\u8d77\u52d5\u3057\u3066\u65b0\u898f\u30bf\u30d6\u3092\u958b\u3044\u3066\u30bb\u30eb\u307e\u3067TAB\u3057\u3066\u5909\u6570\u3092\u5165\u529b\u3059\u308b\u306e\u306f\u3082\u3046\u5c11\u3057\u3060\u3051\u5f85\u3063\u3066\u304f\u3060\u3055\u3044\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff10\u3001\u672c\u4ef6\u306e\u74b0\u5883<\/h2>\n<p>Windows10Professional(Windows7\u304b\u3089\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9)\u3001MicrosoftOffice2013\u306eExcel\u3001\u30d6\u30e9\u30a6\u30b6\u306fgoogleChrome\u304c\u5165\u3063\u3066\u3044\u308b\u74b0\u5883\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff11\u3001\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb\u8d77\u52d5<\/h2>\n<p>Windows\u30de\u30fc\u30af(\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3)\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u51fa\u3066\u304f\u308b\u5165\u529b\u6b04\u306b[PowerShell]\u3068\u5165\u529b<\/p>\n<p>\u3044\u304f\u3064\u304b\u5019\u88dc\u304c\u51fa\u3066\u304d\u307e\u3059\u304c\u300cwindows PowerShell\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/f3360380c4a073f0a7d660a7b22c990d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1515 aligncenter\" src=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/f3360380c4a073f0a7d660a7b22c990d-218x300.jpg\" alt=\"\" width=\"218\" height=\"300\" srcset=\"https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/f3360380c4a073f0a7d660a7b22c990d-218x300.jpg 218w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/f3360380c4a073f0a7d660a7b22c990d.jpg 509w\" sizes=\"(max-width: 218px) 100vw, 218px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff12\u3001PowerShell\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306e\u5b9f\u884c\u74b0\u5883\u306b\u306a\u308a\u307e\u3059\u3002<\/h2>\n<p>\u304a\u5e74\u3092\u53ec\u3057\u3066\u3044\u308b\u65b9\u3084\u3001\u958b\u767a\u3092\u3084\u3063\u3066\u3044\u308b\u65b9\u306f\u308f\u304b\u308b\u3068\u3082\u3044\u307e\u3059\u304cMS-DOS\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u3088\u3046\u306a\u753b\u9762\u3067\u3059\u306d\u3002<\/p>\n<p><a href=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/641739563bafc0c7b91a0d37b8983620.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1516 aligncenter\" src=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/641739563bafc0c7b91a0d37b8983620-300x127.jpg\" alt=\"\" width=\"300\" height=\"127\" srcset=\"https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/641739563bafc0c7b91a0d37b8983620-300x127.jpg 300w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/641739563bafc0c7b91a0d37b8983620-768x326.jpg 768w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/641739563bafc0c7b91a0d37b8983620-644x273.jpg 644w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/641739563bafc0c7b91a0d37b8983620.jpg 986w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\uff13\u3001\u80cc\u666f\u304c\u7d3a\u8272\u306e\u30b3\u30de\u30f3\u30c9\u5165\u529b\u753b\u9762<\/h2>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u306e\u5834\u5408<\/p>\n<p><a href=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/73255acda2130b3cd2fbad41fd02afd2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1522 aligncenter\" src=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/73255acda2130b3cd2fbad41fd02afd2-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/73255acda2130b3cd2fbad41fd02afd2-300x200.png 300w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/73255acda2130b3cd2fbad41fd02afd2-768x512.png 768w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/73255acda2130b3cd2fbad41fd02afd2-644x430.png 644w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/73255acda2130b3cd2fbad41fd02afd2.png 907w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<table style=\"height: 265px;\" border=\"3D0\" width=\"744\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: center;\" height=\"3D18\"><strong>\u00a0\uff11<\/strong><\/td>\n<td class=\"3Dxl6815552\"><strong><span style=\"color: #000000;\">\u304a\u540d\u524d\u30cb\u30c3\u30af\u30cd\u30fc\u30e0<\/span><\/strong><\/td>\n<td class=\"3Dxl7015552\"><strong><span style=\"color: #000000;\">\u6027\u5225<\/span><\/strong><\/td>\n<td class=\"3Dxl6815552\"><strong><span style=\"color: #000000;\">\u6700\u7d42\u66f4\u65b0\u65e5<\/span><\/strong><\/td>\n<td class=\"3Dxl6915552\" style=\"text-align: justify;\"><strong><span style=\"color: #000000;\">\u7a2e\u985e<\/span><\/strong><\/td>\n<td class=\"3Dxl7015552\"><strong><span style=\"color: #000000;\">\u90e8\u9580<\/span><\/strong><\/td>\n<td class=\"3Dxl7915552\"><strong><span style=\"color: #000000;\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u540d<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"3Dxl7315552\" style=\"text-align: center;\" align=\"3Dright\" height=\"3D18\"><span style=\"color: #000000;\"><b>2<\/b><\/span><\/td>\n<td class=\"3Dxl7115552\" align=\"3Dright\"><strong><span style=\"color: #000000;\">A\u5b50\u3061\u3083\u3093<\/span><\/strong><\/td>\n<td class=\"3Dxl7615552\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u5973\u6027<\/span><\/strong><\/td>\n<td class=\"3Dxl7115552\" align=\"3Dright\"><strong><span style=\"color: #000000;\">2016\/01\/01<\/span><\/strong><\/td>\n<td class=\"3Dxl7215552\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u30a8\u30f3\u30b8\u30cb\u30a2<\/span><\/strong><\/td>\n<td class=\"3Dxl7615552\" align=\"3Dright\"><strong><span style=\"color: #000000;\">IT\u90e8\u9580<\/span><\/strong><\/td>\n<td class=\"3Dxl8015552\"><strong><span style=\"color: #000000;\">\u00a0c:\\A.txt<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"3Dxl7415552\" style=\"text-align: center;\" align=\"3Dright\" height=\"3D18\"><strong><span style=\"color: #000000;\">3<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">B\u7537\u541b<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u7537\u6027<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">2016\/04\/11<\/span><\/strong><\/td>\n<td class=\"3Dxl6715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u30a8\u30f3\u30b8\u30cb\u30a2<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u958b\u767a\u90e8\u9580<\/span><\/strong><\/td>\n<td class=\"3Dxl8115552\"><strong><span style=\"color: #000000;\">c:\\b.txt<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"3Dxl7415552\" style=\"text-align: center;\" align=\"3Dright\" height=\"3D18\"><strong><span style=\"color: #000000;\">4<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">C\u592a\u90ce\u541b<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u7537\u6027<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">2015\/05\/21<\/span><\/strong><\/td>\n<td class=\"3Dxl6715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u55b6\u696d<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">IT\u90e8\u9580<\/span><\/strong><\/td>\n<td class=\"3Dxl8115552\"><strong><span style=\"color: #000000;\">\u00a0c:\\c.txt<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"3Dxl7415552\" style=\"text-align: center;\" align=\"3Dright\" height=\"3D18\"><strong><span style=\"color: #000000;\">5<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">D\u9020\u3055\u3093<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u7537\u6027<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">2014\/06\/6<\/span><\/strong><\/td>\n<td class=\"3Dxl6715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u96fb\u8a71\u756a<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u7dcf\u52d9<\/span><\/strong><\/td>\n<td class=\"3Dxl8215552\"><strong><span style=\"color: #000000;\">c:\\d.txt<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"3Dxl7415552\" style=\"text-align: center;\" align=\"3Dright\" height=\"3D18\"><strong><span style=\"color: #000000;\">6<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">E\u7f8e\u3055\u3093<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u975e\u516c\u958b<\/span><\/strong><\/td>\n<td class=\"3Dxl6615552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">2013\/07\/1<\/span><\/strong><\/td>\n<td class=\"3Dxl6715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u4e8b\u52d9<\/span><\/strong><\/td>\n<td class=\"3Dxl7715552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u7dcf\u52d9<\/span><\/strong><\/td>\n<td class=\"3Dxl8215552\"><strong><span style=\"color: #000000;\">c:\\e.txt<\/span><\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"3Dxl7515552\" style=\"3d'height: 13.5pt;\" align=\"3Dright\" height=\"3D18\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<td class=\"3Dxl6815552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<td class=\"3Dxl7815552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<td class=\"3Dxl6815552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<td class=\"3Dxl6915552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<td class=\"3Dxl7815552\" style=\"3d'border-top: none; border-left: =;\" align=\"3Dright\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<td class=\"3Dxl8315552\"><strong><span style=\"color: #000000;\">\u00a0<\/span><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: left;\">\u3068\u3044\u3046\u8868\u3092<\/p>\n<p><a href=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/d3af8277f8770490f99f90e4467f2651.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1511 aligncenter\" src=\"http:\/\/192.168.1.111\/blog\/wp-content\/uploads\/2017\/01\/d3af8277f8770490f99f90e4467f2651-300x160.png\" alt=\"\u81ea\u52d5\u767b\u9332\u3092\u884c\u3046\u5bfe\u8c61\u3068\u306a\u308bWeb\u30b5\u30a4\u30c8\u306e\u4f8b\uff1a\u500b\u3005\u3067\u306f\u793e\u5185\u306e\u30c4\u30fc\u30eb\u3092\u4f8b\u306b\u3057\u3066\u307e\u3059\u304c\u3001\" width=\"300\" height=\"160\" srcset=\"https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/d3af8277f8770490f99f90e4467f2651-300x160.png 300w, https:\/\/www.mita.nu\/blog\/wp-content\/uploads\/2017\/01\/d3af8277f8770490f99f90e4467f2651.png 443w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">\u3068\u3044\u3046\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u30b5\u30a4\u30c8\u306b\u767b\u9332\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<p style=\"text-align: left;\">\u4e8b\u524d\u306bc:\uffe5\u306b\u300ca.txt\u300d\u3001\u300cb.txt\u300d\u3001\u300cc.txt\u300d\u3001\u300cd.txt\u300d\u3001\u300ce.txt\u300d\u3001\u3092\u7528\u610f\u3057\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u3053\u306e\u4f8b\u3067\u306f\u5b9f\u9a13\u7528\u3067\u3059\u306e\u3067\u4e2d\u8eab\u304c\u7a7a\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u5b9f\u65bd\u3057\u307e\u3057\u305f\uff09<\/p>\n<h2>\uff14\u3001PowerShell\u3067Excel\u304c\u304a\u3044\u3066\u3042\u308b\u30d5\u30a9\u30eb\u30c0\uff08\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/h2>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">cd C:\\<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\\u3000\u3068\u306a\u3063\u3066\u3044\u308b\u7b87\u6240\u306f\u3000\u534a\u89d2\u306e\uffe5\u8a18\u53f7\u3067\u3042\u308b\u3068\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u306d<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff15\u3001PowerShell\u306e\u30b3\u30de\u30f3\u30c9\u958b\u59cb<\/h2>\n<p>\u30ad\u30fc\u64cd\u4f5c\u3092PowerShell\u304b\u3089\u884c\u3046\u305f\u3081\u3068\u3001\u305d\u306e\u4ed6\u5c0f\u7d30\u5de5\u3092\u3059\u308b\u305f\u3081\u306e\u304a\u307e\u3058\u306a\u3044\u3092\u3057\u307e\u3059\u3002<\/p>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">[System.Reflection.Assembly]::LoadWithPartialName(&#8220;System.Windows.Forms&#8221;)<br \/>\nadd-type -AssemblyName microsoft.VisualBasic<br \/>\nadd-type -AssemblyName System.Windows.Forms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u52d5\u4f5c\u3067\u7570\u5e38\u304c\u8d77\u304d\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\uff08\u307e\u3060\u524d\u306e\u64cd\u4f5c\u304c\u7d42\u308f\u3063\u3066\u3044\u306a\u3044\u306e\u306b\u6b21\u306e\u52d5\u4f5c\u3092\u3057\u3066\u3057\u307e\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u30bf\u30a4\u30df\u30f3\u30b0\u3042\u308f\u305b\u3067\uff09\u5f85\u3061\u6642\u9593\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">start-sleep -m 500<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u308c\u306f\u3000-m 500\u3000\u3067 0.5\u79d2\u3000\u5f85\u3061\u307e\u3059\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u300210\u79d2\u5f85\u3064\u3067\u3059\u3068 -s 10 \u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff16\u3001Excel\u3092\u958b\u304d\u307e\u3059\u3002<\/h2>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">$excel = New-Object -ComObject Excel.Application<br \/>\n$excel.Visible = $true<br \/>\n$excel_book = $excel.Workbooks.Open(&#8220;c:\\test.xlsx&#8221;)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\\\u3000\u3068\u306a\u3063\u3066\u3044\u308b\u7b87\u6240\u306f\u3000\u534a\u89d2\u306e\uffe5\u8a18\u53f7\u3067\u3042\u308b\u3068\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u306d<\/p>\n<p>c:\uffe5\u306b\u3042\u308b\u3000test.xlsx \u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u6253\u3063\u3066Enter\u30ad\u30fc\u3092\u62bc\u3059\u3068Excel\u304c\u8d77\u52d5\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u958b\u3044\u305fExcel\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u521d\u306e\u30b7\u30fc\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">$excel_sheet = $excel.Worksheets.Item(1)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>test.xlsx \u306e\u4e00\u756a\u6700\u521d\u306e\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff17\u3001Excel\u30d5\u30a1\u30a4\u30eb\u306e\u30bb\u30eb\u9023\u7d9a\u53d6\u5f97\u5b9f\u9a13<\/h2>\n<p>\u4e0a\u4f8b\u306e<strong>A\u5b50\u3061\u3083\u3093\u306e\u884c\u304b\u3089E\u5b50\u3061\u3083\u3093\u306e\u884c\u3092\u9023\u7d9a\u53d6\u5f97\u3057\u3066\u8868\u793a\u3059\u308b\u5b9f\u9a13\u3092\u884c\u3044\u307e\u3059\u3002<\/strong><\/p>\n<p>\u958b\u3044\u305fExcel\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u521d\u306e\u30b7\u30fc\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">#for \u306e\u884c\u306f2\u884c\u76ee\uff5e6\u884c\u76ee\u307e\u3067\u7e70\u8fd4\u3059\u3068\u3044\u3046\u610f\u5473\u3002$cnt\u3068\u3044\u3046\u5909\u6570\u306b\u51e6\u7406\u4e2d\u306e\u884c\u756a\u53f7\u304c\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>for($cnt = 2;$cnt -lt 7; $cnt++){<\/p>\n<p># $oname \u3068\u3044\u3046\u5909\u6570\u306b $cnt\u884c\u76ee\u30671\u9805\u76ee\u773c\u306e\u30bb\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3000ex.A\u5b50\u3061\u3083\u3093\u3001B\u7537\u541b\u3001\u3001\u3001<br \/>\n$oname = $excel_sheet.Cells.Item($cnt,1).Text;<\/p>\n<p>#\u6027\u5225\u3001\u6700\u7d42\u66f4\u65b0\u65e5\u3001\u7a2e\u985e\u3001\u90e8\u9580<br \/>\n$sex = $excel_sheet.Cells.Item($cnt,2).Text;<br \/>\n$upddate = $excel_sheet.Cells.Item($cnt,3).Text;<br \/>\n$kind = $excel_sheet.Cells.Item($cnt,4).Text;<br \/>\n$sect = $excel_sheet.Cells.Item($cnt,5).Text;<br \/>\n$fname = $excel_sheet.Cells.Item($cnt,6).Text;<\/p>\n<p>echo $oname<br \/>\necho $sex<br \/>\necho $upddate<br \/>\necho $kind<br \/>\necho $sect<br \/>\necho $fname<br \/>\necho &#8220;\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d&#8221;<br \/>\n}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u308c\u3092\u3046\u3064\u3068\u3000\u52d5\u4f5c\u7d50\u679c\u3068\u3057\u3066\u2193<\/p>\n<table style=\"height: 45px;\" border=\"3D0\" width=\"727\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\"><strong>A\u5b50\u3061\u3083\u3093<\/strong><br \/>\n<strong>\u5973\u6027<\/strong><br \/>\n<strong>2017\/1\/1<\/strong><br \/>\n<strong>\u30a8\u30f3\u30b8\u30cb\u30a2<\/strong><br \/>\n<strong>IT\u90e8\u9580<\/strong><br \/>\n<strong>\u00a0c:\uffe5A.txt<\/strong><br \/>\n<strong>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<\/strong><br \/>\n<strong>B\u7537\u541b<\/strong><br \/>\n<strong>\u7537\u6027<\/strong><br \/>\n<strong>2016\/4\/11<\/strong><br \/>\n<strong>\u30a8\u30f3\u30b8\u30cb\u30a2<\/strong><br \/>\n<strong>\u958b\u767a\u90e8\u9580<\/strong><br \/>\n<strong>c:\\a.txt<\/strong><br \/>\n<strong>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<\/strong><br \/>\n<strong>C\u592a\u90ce\u541b<\/strong><br \/>\n<strong>\u7537\u6027<\/strong><br \/>\n<strong>2015\/5\/21<\/strong><br \/>\n<strong>\u55b6\u696d<\/strong><br \/>\n<strong>IT\u90e8\u9580<\/strong><br \/>\n<strong>\u00a0c:\\a.txt<\/strong><br \/>\n<strong>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1dD\u9020\u3055\u3093<\/strong><br \/>\n<strong>\u7537\u6027<\/strong><br \/>\n<strong>2014\/6\/6<\/strong><br \/>\n<strong>\u96fb\u8a71\u756a<\/strong><br \/>\n<strong>\u7dcf\u52d9<\/strong><br \/>\n<strong>c:\\a.txt<\/strong><br \/>\n<strong>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<\/strong><br \/>\n<strong>E\u7f8e\u3055\u3093<\/strong><br \/>\n<strong>\u975e\u516c\u958b<\/strong><br \/>\n<strong>2013\/7\/1<\/strong><br \/>\n<strong>\u4e8b\u52d9<\/strong><br \/>\n<strong>\u7dcf\u52d9<\/strong><br \/>\n<strong>c:\\a.txt<\/strong><br \/>\n<strong>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u3068\u3044\u3046\u8868\u793a\u304c\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff18\u3001Chrome\u3092\u8d77\u52d5<\/h2>\n<p>Chrome\u3092\u8d77\u52d5\u3057\u3066\u3001\u4efb\u610f\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<table style=\"height: 36px;\" border=\"3D0\" width=\"813\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">$ps = Start-Process chrome.exe -ArgumentList &#8220;http:\/192.168.1.200\/data\/input.html&#8221; -PassThru<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>http:\/\/\u306e\u30a2\u30c9\u30ec\u30b9\u3084\u3001\u63a5\u7d9a\u5148\u30b5\u30a4\u30c8\u306f\u53c2\u8003\u3067\u3059\u3002\u3053\u306e\u4f8b\u3067\u3059\u3068 Chrome\u3092\u8d77\u52d5\u3057\u3066 192.168.1.200\u306e\u30b5\u30fc\u30d0\u306edata\/input,html\u3092\u8a00\u3046\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066\u4e0b\u3055\u3044\u3002\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Chrome\u3092\u8d77\u52d5\u3057\u3066\u65b0\u898f\u30bf\u30d6\u3067\u6307\u5b9a\u3055\u308c\u3066\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff19\uff0e\u9023\u7d9a\u3067\u767b\u9332<\/h2>\n<p>\u4eba\u9593\u304c\u30ad\u30fc\u3092\u64cd\u4f5c\u3059\u308b\u611f\u899a\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3092\u64cd\u4f5c\u3057\u307e\u3059\u3002Chrome\u3092\u8d77\u52d5\u3057\u3066\u65b0\u898f\u30bf\u30d6\u3092\u958b\u3044\u3066\u30bb\u30eb\u307e\u3067TAB\u3057\u3066\u5909\u6570\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<table style=\"height: 36px;\" border=\"3D0\" width=\"813\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">#for \u306e\u884c\u306f2\u884c\u76ee\uff5e6\u884c\u76ee\u307e\u3067\u7e70\u8fd4\u3059\u3068\u3044\u3046\u610f\u5473\u3002$cnt\u3068\u3044\u3046\u5909\u6570\u306b\u51e6\u7406\u4e2d\u306e\u884c\u756a\u53f7\u304c\u5165\u308a\u307e\u3059\u3002<br \/>\nfor($cnt = 2;$cnt -lt 7; $cnt++){#Excel\u304b\u3089\u3001\u304a\u540d\u524d\u3001\u6027\u5225\u3001\u6700\u7d42\u66f4\u65b0\u65e5\u3001\u7a2e\u985e\u3001\u90e8\u9580<br \/>\n$oname = $excel_sheet.Cells.Item($cnt,1).Text;<br \/>\n$sex = $excel_sheet.Cells.Item($cnt,2).Text;<br \/>\n$upddate = $excel_sheet.Cells.Item($cnt,3).Text;<br \/>\n$kind = $excel_sheet.Cells.Item($cnt,4).Text;<br \/>\n$sect = $excel_sheet.Cells.Item($cnt,5).Text;<br \/>\n$fname = $excel_sheet.Cells.Item($cnt,6).Text;#Chrome\u306b\u3067<br \/>\n\u51fa\u529b<br \/>\n$ps = Start-Process chrome.exe -ArgumentList &#8220;http:\/192.168.1.200\/data\/input.html&#8221; -PassThru#Chrome\u304c\u7acb\u3061\u4e0a\u304c\u308b\u307e\u30675\u79d2\u3050\u3089\u3044\u5f85\u3064(\u6642\u9593\u3044\u3044\u52a0\u6e1b\u3067\u3059)<br \/>\nStart-Sleep -s 5;#\u6700\u521d\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3000\uff08\u304a\u540d\u524d\uff09\u3000\u306b\u79fb\u52d5<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\nStart-Sleep -m 100;<br \/>\n[System.Windows.Forms.SendKeys]::SendWait($oname);<br \/>\nStart-Sleep -m 100;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>#\u6027\u5225\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u79fb\u52d5<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\nStart-Sleep -m 100;<br \/>\n[System.Windows.Forms.SendKeys]::SendWait($sex);<br \/>\nStart-Sleep -m 100;<\/p>\n<p>#\u66f4\u65b0\u5e74\u6708\u65e5\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u79fb\u52d5<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\nStart-Sleep -m 100;<br \/>\n[System.Windows.Forms.SendKeys]::SendWait($upddate);<br \/>\nStart-Sleep -m 100;<\/p>\n<p>#\u7a2e\u5225\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u79fb\u52d5<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\nStart-Sleep -m 100;<br \/>\n[System.Windows.Forms.SendKeys]::SendWait($kind);<br \/>\nStart-Sleep -m 100;<\/p>\n<p>#\u6240\u5c5e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u79fb\u52d5<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\nStart-Sleep -m 100;<br \/>\n[System.Windows.Forms.SendKeys]::SendWait($sect);<br \/>\nStart-Sleep -m 100;<\/p>\n<p>#\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u8868\u793a\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u5165\u529b(\u7121\u7406\u3084\u308a\u3067\u3059)<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\n#\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3092\u5f85\u3064<br \/>\nStart-Sleep -m 3000;<br \/>\n#\u30d5\u30a1\u30a4\u30eb\u540d\u6307\u5b9a\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30d5\u30eb\u30d1\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5165\u529b<br \/>\n[System.Windows.Forms.SendKeys]::SendWait($fname);<br \/>\nStart-Sleep -m 3000;<br \/>\n#\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u9589\u3058\u308b<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{ENTER}&#8221;);<br \/>\nStart-Sleep -m 3000;<\/p>\n<p>#\u767b\u9332\u30dc\u30bf\u30f3\u306b\u79fb\u52d5\u3057\u3066\u201dEnter\u201d\u3067\u767b\u9332\u5b9f\u884c<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{TAB}&#8221;);<br \/>\nStart-Sleep -m 1000;<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;{ENTER}&#8221;);<br \/>\nStart-Sleep -m 3000;<\/p>\n<p>#\u767b\u9332\u51e6\u7406\u304c\u7d42\u308f\u308b\u9803\u5408\u3044\u3092\u898b\u3066\u51e6\u7406\u3092\u7d42\u4e86\uff08Ctrl + w\uff09\u3067\u753b\u9762\u3092\u9589\u3058\u308b<br \/>\n[System.Windows.Forms.SendKeys]::SendWait(&#8220;^w&#8221;);<br \/>\nStart-Sleep -m 700;<br \/>\n}<br \/>\necho &#8216;\u6700\u7d42\u884c\u306b\u9054\u3057\u307e\u3057\u305f&#8217;<\/p>\n<p>\u3054\u6ce8\u610f\uff01\u3053\u306e\u64cd\u4f5c\u3092\u884c\u3063\u3066\u3044\u308b\u6700\u4e2d\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u3084\u30de\u30a6\u30b9\u3092\u89e6\u308b\u3068\u624b\u9806\u304c\u304a\u304b\u3057\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001Chrome\u306e\u8a2d\u5b9a\u3001\u81ea\u52d5\u3067\u30da\u30fc\u30b8\u3092\u958b\u304f\u8a2d\u5b9a\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u3001\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u72b6\u6cc1\u3067\u6709\u3063\u305f\u308a\u3001\u81ea\u52d5\u3067\u52d5\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3046\u3044\u3063\u305f\u5834\u5408\u306b\u5099\u3048\u3001\u5e38\u306b\u4eba\u9593\u304cPowerShell\u306e\u753b\u9762\u306b\u5bfe\u3057\u3066\u3000Ctrl + C (\u51e6\u7406\u306e\u7dca\u6025\u505c\u6b62\uff09\u3092\u639b\u3051\u3089\u308c\u308b\u4f53\u5236\u3067\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>\uff11\uff10\u3001\u958b\u3044\u3066\u3044\u305f\u3082\u306e\u3092\u9589\u3058\u308b<\/h2>\n<p>\u3053\u306e\u4e0b\u306e\u51e6\u7406\u306f\u7d42\u308f\u3063\u305f\u6642\u306b\u306f\u5b9f\u65bd\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<table style=\"height: 36px;\" border=\"3D0\" width=\"813\" cellspacing=\"3D0\" cellpadding=\"3D0\">\n<tbody>\n<tr>\n<td class=\"3Dxl1515552\" style=\"text-align: left;\" height=\"3D18\">#\u3053\u306e\u4e0b\u306e $excel.Quit()\u3092\u5b9f\u65bd\u3057\u306a\u3044\u3068Excel\u304c\u958b\u304d\u3063\u3071\u306a\u3057\u306b\u306a\u3063\u3066\u3057\u307e\u3046<br \/>\n$excel.Quit()#\u3053\u306e\u4e0b\u306e\u51e6\u7406\u3092\u3057\u306a\u3044\u3068\u4f7f\u3063\u305f\u3082\u306e\u3092\u4f7f\u3044\u3063\u3071\u306a\u3057\u306b\u3057\u3066\u3057\u307e\u3063\u3066\u3001Windows\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3057\u307e\u3046<br \/>\n[System.Runtime.InteropServices.Marshal]::FinalReleaseComObject($excel) | Out-Null<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u672c\u7a3f\u306f\u3042\u308b\u7a0b\u5ea6\u30b9\u30ad\u30eb\u304b\u305f\u306e\u53c2\u8003\u30e1\u30e2\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3068\u3046\u308c\u3057\u304f\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WindowsPowerShell\u3092\u3064\u304b\u3063\u3066\u9023\u7d9a\u4f5c\u696d\u3092\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059 WindowsPowerShell\u3092\u3064\u304b\u3063\u3066\u9023\u7d9a\u4f5c\u696d\u3092\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u3088\u304f\u3042\u308b\u4f8b\u3068\u3057 &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/www.mita.nu\/blog\/windowspowershell%e3%82%92%e3%81%a4%e3%81%8b%e3%81%a3%e3%81%a6%e9%80%a3%e7%b6%9a%e4%bd%9c%e6%a5%ad\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":1519,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[94,163,95,96,97,45],"_links":{"self":[{"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/posts\/1465"}],"collection":[{"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/comments?post=1465"}],"version-history":[{"count":17,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/posts\/1465\/revisions"}],"predecessor-version":[{"id":1574,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/posts\/1465\/revisions\/1574"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/media\/1519"}],"wp:attachment":[{"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/media?parent=1465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/categories?post=1465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mita.nu\/blog\/wp-json\/wp\/v2\/tags?post=1465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}