
{"id":2087,"date":"2021-11-10T16:50:01","date_gmt":"2021-11-10T07:50:01","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=2087"},"modified":"2023-08-25T19:47:50","modified_gmt":"2023-08-25T10:47:50","slug":"powershell0001","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/powershell0001\/","title":{"rendered":"PowerShell(\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb)\u3010\u5165\u9580\u7de8\u30115\u3064\u306e\u30e1\u30ea\u30c3\u30c8\u3068\u6d3b\u7528\u4f8b"},"content":{"rendered":"\n<h2 id=\"outline__1\" class=\"wp-block-heading\">PowerShell\u3068\u306f\uff1f<\/h2>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/20211110\/iStock-1317226698.jpg\" class=\"post-img\">\n\n\n\n<p>PowerShell \u3068\u306f\u3001Microsoft\u793e\u304c\u958b\u767a\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3042\u308a\u3001CUI (\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9) \u306e1\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"questionBox\">\n<p><span class=\"asterisk\">CUI\uff08\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\uff09\u3068\u306f\u3001\u5168\u3066\u306e\u3084\u308a\u53d6\u308a\u3092\u6587\u5b57\u3067\u884c\u3046\u65b9\u5f0f\u3092\u6307\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u8d77\u52d5\u30fb\u505c\u6b62\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u4f4d\u7f6e\u306e\u5909\u66f4\u306a\u3069\u3001\u30d1\u30bd\u30b3\u30f3\u3092\u52d5\u304b\u3057\u3066\u3044\u308bWindows OS\u3078\u76f4\u63a5\u30b3\u30de\u30f3\u30c9\u547d\u4ee4\u3092\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<\/div>\n\n\n\n<p>\u307e\u305f\u3001PowerShell \u306f Windows\u7ba1\u7406\u7528\u306e CLI\u30c4\u30fc\u30eb\u3067\u3082\u3042\u308a\u3001\u3059\u3079\u3066\u306e\u64cd\u4f5c\u3092\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u307f\u3067\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u5236\u5fa1\u3092\u884c\u3048\u308b\u305f\u3081\u3001\u6163\u308c\u308b\u3068\u30de\u30a6\u30b9\u64cd\u4f5c\u3088\u308a\u3082\u4f5c\u696d\u52b9\u7387\u304c\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"questionBox\">\n<p><span class=\"asterisk\">CLI\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff09\u3068\u306f\u3001\u3059\u3079\u3066\u306e\u64cd\u4f5c\u3092\u30ad\u30fc\u30dc\u30fc\u30c9\u3060\u3051\u3067\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/span><\/p>\n<\/div>\n\n\n<div style=\"margin-top:4%;\">\n<p style=\"text-align:center; text-decoration:underline blue; font-weight:bold;\"><a href=\"https:\/\/techmania.jp\/lp\/2\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u57fa\u790e\u304b\u3089\u30b5\u30a4\u30c8\u5236\u4f5c\u307e\u3067<br \/>\u2193\u5b9f\u8df5\u529b\u304c\u8eab\u306b\u3064\u304f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u2193<\/a><\/p>\n<\/div>\n<div style=\"text-align:center; margin-top:1%;\"><a href=\"https:\/\/techmania.jp\/lp\/2\"><img decoding=\"async\" style=\"width:300px;\" alt=\"IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u6821 \u30c6\u30c3\u30af\u30de\u30cb\u30a2\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/05\/sc4.jpg\"><\/a><\/div>\n<div style=\"margin-top:-0.3%;\">\n<p style=\"text-align:center; text-decoration:underline red; font-weight:bold;\"><a href=\"https:\/\/techmania.jp\/lp\/2\"><font color=\"red\">\u226b\u30e2\u30cb\u30bf\u30fc\u5272\u5f15\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u5b9f\u65bd\u4e2d\uff01\u226a<\/font><\/a><\/p>\n<\/div>\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\">PowerShell\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u306e\u9055\u3044<\/h3>\n\n\n\n<p>PowerShell \u306f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u5f8c\u7d99\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u305f\u305f\u3081\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3067\u304d\u308b\u3053\u3068\u306f\u3001PowerShell \u3067\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001PowerShell \u306f\u958b\u767a\u74b0\u5883\u304c\u3064\u3044\u3066\u3044\u308b\u306a\u3069\u8907\u96d1\u306a\u51e6\u7406\u3082\u4f5c\u308a\u3084\u3059\u3044\u4ed5\u69d8\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u4e0a\u4f4d\u4e92\u63db\u3068\u8003\u3048\u3066\u3082\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u8a73\u3057\u304fPowerShell \u3067\u3067\u304d\u308b\u3053\u3068\u3092\u8a73\u3057\u304f\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">PowerShell\u306e\u6b74\u53f2<\/h2>\n\n\n<p>Microsoft\u304c\u30ea\u30ea\u30fc\u30b9\u3057\u305fOS\u306f\u3001\u300cMS-DOS\u300d\u304b\u3089\u300cWindowsOS\u300d\u306b\u81f3\u308b\u307e\u3067\u3001\u5e38\u306b\u300cCOMMAND.COM\u300d\u3084\u300ccmd.exe\u300d\u306a\u3069\u3092\u306f\u3058\u3081\u3068\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30b7\u30a7\u30eb\u304c\u6a19\u6e96\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u3089\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5185\u306e\u5236\u9650\u3082\u3042\u3063\u3066\u3001GUI\u3067\u63d0\u4f9b\u3055\u308c\u308b\u7ba1\u7406\u6a5f\u80fd\u306e\u81ea\u52d5\u5316\u3084\u518d\u5229\u7528\u306b\u9069\u3057\u3066\u3044\u308b\u3068\u306f\u8a00\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u3053\u3067\u3001\u305d\u3046\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306e\u77ed\u6240\u3092\u88dc\u3046\u5f62\u30671998\u5e74\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3092\u5b9f\u88c5\u3059\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u300cWindows Script Host (WSH)\u300d\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3057\u305f\u3002\u3057\u304b\u3057WSH\u306b\u3082\u30b7\u30a7\u30eb\u7d71\u5408\u304c\u3055\u308c\u3066\u3044\u306a\u3044\u70b9\u3084\u8106\u5f31\u6027\u3082\u554f\u984c\u8996\u3055\u308c\u59cb\u3081\u305f\u3053\u3068\u3082\u3042\u3063\u3066\u5e83\u304f\u306f\u666e\u53ca\u306f\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u306e\u5f8c\u306e2003\u5e74\u306bWindows\u3084\u81ea\u793e\u88fd\u54c1\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u7ba1\u7406\u30fb\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u30b7\u30a7\u30eb\u3001\u307e\u305f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3068\u3057\u3066Monad\u3092\u767a\u8868\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u304c\u5f8c\u306ePowerShell\u3067\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306bPowerShell\u306f\u3001Windows\u7279\u5316\u306e\u30c4\u30fc\u30eb\u3067\u3059\u304c\u30012018\u5e74\u306b\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u300cPowerShell Core\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3001\u3053\u3061\u3089\u306fWindows\u4ee5\u5916\u306b\u300cLinuxOS\u300d\u3084\u300cmacOS\u300d\u3067\u3082\u5229\u7528\u3067\u304d\u308b\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002PowerShell\u306e\u6d3e\u751f\u306e\u3088\u3046\u306a\u4f4d\u7f6e\u3065\u3051\u3067\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u304c\u8abf\u6574\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">PowerShell\u306e\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">\u30e1\u30ea\u30c3\u30c8\u2460\uff1a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044<\/h3>\n\n\n\n<p>PowerShell \u306fWindows Server 2008 \/ Windows 7\u304b\u3089\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u642d\u8f09\u3055\u308c\u305f\u306e\u3067\u3001\u305d\u308c\u4ee5\u964d\u306e\u65b0\u3057\u3044OS\u306e PC \u3067\u3042\u308c\u3070\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3001\u3069\u306e\u7aef\u672b\u3067\u3082\u540c\u3058\u52d5\u304d\u3092\u3059\u308b\u305f\u3081\u3001\u4e00\u5ea6\u4f5c\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u30c4\u30fc\u30eb\u3092\u4ed6\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u518d\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">\u30e1\u30ea\u30c3\u30c8\u2461\uff1a\u8aad\u307f\u66f8\u304d\u3057\u3084\u3059\u3044\u300c\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u300d<\/h3>\n\n\n\n<p>PowerShell \u3067\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u5f93\u6765\u306e\u300c\u30b3\u30de\u30f3\u30c9\u300d\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u3057\u305f\u300c\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u300d\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306f\u300c\u52d5\u8a5e-\u540d\u8a5e\u300d\u3068\u3044\u3046\u82f1\u8a9e\u306e\u610f\u5473\u306b\u5f93\u3063\u305f\u898f\u5247\u3067\u4f5c\u3089\u308c\u3066\u304a\u308a\u3001\u76f4\u611f\u7684\u306b\u30b3\u30de\u30f3\u30c9\u306e\u5185\u5bb9\u3092\u628a\u63e1\u3057\u3084\u3059\u3044\u3067\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306e\u52d5\u4f5c\u304c\u82f1\u5358\u8a9e\u306e\u610f\u5473\u304b\u3089\u7c21\u5358\u306b\u63a8\u6e2c\u3067\u304d\u308b\u305f\u3081\u66f8\u304d\u3084\u3059\u304f\u3001\u8aad\u307f\u3084\u3059\u3044\u3068\u3044\u3046\u306e\u304c\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<br>\u307e\u305f\u3001\u300cGet-Command\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u4e00\u89a7\u3092\u53d6\u5f97\u3067\u304d\u308b\u305f\u3081\u6642\u9593\u7684\u30b3\u30b9\u30c8\u3082\u6291\u3048\u3089\u308c\u307e\u3059\u3002<br>\u305d\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306b\u306f\u30aa\u30d7\u30b7\u30e7\u30f3 (\u30d1\u30e9\u30e1\u30fc\u30bf) \u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306e\u52d5\u4f5c\u3092\u8a73\u3057\u304f\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_3\" class=\"wp-block-heading\">\u30e1\u30ea\u30c3\u30c8\u2462\uff1a\u8907\u6570\u306e\u547d\u4ee4\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u9ad8\u5ea6\u306a\u51e6\u7406\u304c\u3067\u304d\u308b<\/h3>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u306f\u4e0d\u53ef\u80fd\u3060\u3063\u305f\u8907\u6570\u306e\u547d\u4ee4\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u6a5f\u80fd (\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3) \u304c\u5099\u308f\u3063\u3066\u3044\u3066\u3001\u3088\u308a\u9ad8\u5ea6\u3067\u7d30\u304b\u304f\u52d5\u4f5c\u3092\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<br>\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u3088\u308a\u3001\u5148\u884c\u30b3\u30de\u30f3\u30c9\u7d50\u679c\u3092\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u306b\u53d7\u3051\u6e21\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002PowerShell \u3067\u306f\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u7e26\u68d2\u300c|\u300d\u3067\u8868\u3057\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u300cGet-ChildItem\u300d\u3068\u300cOut-File\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u60c5\u5831\u306e\u4e2d\u304b\u3089\u7279\u5b9a\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u3053\u308c\u306f\u4e00\u4f8b\u3067\u3001\u307b\u304b\u306b\u3082\u6307\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u79fb\u3057\u66ff\u3048\u305f\u308a\u3001Excel \u3084 Word \u3092\u4e00\u5143\u7684\u306b\u7ba1\u7406\u3067\u304d\u308b\u306a\u3069\u5de5\u592b\u6b21\u7b2c\u3067\u306f PC\u4e0a\u3067\u884c\u3046\u307b\u307c\u3059\u3079\u3066\u306e\u64cd\u4f5c\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_4\" class=\"wp-block-heading\"><strong>\u30e1\u30ea\u30c3\u30c8\u2463\uff1a\u7d71\u5408\u958b\u767a\u74b0\u5883\u300cPowerShell ISE\u300d\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b<\/strong><\/h3>\n\n\n\n<p>\u8907\u96d1\u306a\u51e6\u7406\u3067\u3082\u4f5c\u308a\u3084\u3059\u3044\u3088\u3046\u3001\u7d71\u5408\u958b\u767a\u74b0\u5883\u300cWindows PowerShell ISE\u300d\u3082 Windows OS \u306b\u6a19\u6e96\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300cWindows PowerShell ISE\u300d\u306b\u306f\u8a18\u8ff0\u306e\u30c6\u30b9\u30c8\u3084\u30c7\u30d0\u30c3\u30b0\u3001\u5c02\u7528\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u958b\u767a\u74b0\u5883\u304c\u7d71\u5408\u3055\u308c\u3066\u304a\u308a\u3001PowerShell\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u52b9\u7387\u7684\u306a\u958b\u767a\u304c\u53ef\u80fd\u3067\u3059\u3002\u624b\u9593\u3092\u639b\u3051\u305a\u306b PowerShell \u306e\u5b66\u7fd2\u30fb\u958b\u767a\u306b\u53d6\u308a\u7d44\u307f\u3084\u3059\u3044\u70b9\u3082\u30e1\u30ea\u30c3\u30c8\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066Enter\u30ad\u30fc\u3092\u62bc\u3059\u3068\u5b9f\u884c\u3057\u3066\u3057\u307e\u3046\u306e\u306b\u5bfe\u3057\u3001PowerShell \u306f\u300c\u30c7\u30d0\u30c3\u30b0\u300d\u3057\u3066\u51e6\u7406\u9014\u4e2d\u3067\u6b62\u3081\u306a\u304c\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_5\" class=\"wp-block-heading\">\u30e1\u30ea\u30c3\u30c8\u2464\uff1aMicrosoft\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u64cd\u4f5c\u3067\u304d\u308b<\/h3>\n\n\n\n<p>PowerShell \u3092\u4f7f\u7528\u3057\u3066\u300cMicrosoft 365\u300d\u3084\u300cMicrosoft Exchange\u300d\u306a\u3069\u306e Microsoft\u793e\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3001\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u304b\u3089\u30e6\u30fc\u30b6\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u305f\u308a\u3001\u30e6\u30fc\u30b6\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u51e6\u7406\u3092\u3057\u3066\u81ea\u52d5\u5316\u3092\u884c\u3046\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u3055\u3089\u306b\u4f01\u696d\u3067\u4e00\u5143\u7ba1\u7406\u3057\u3066\u3044\u308b\u591a\u6570\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u8a2d\u5b9a\u3092\u4e00\u62ec\u5909\u66f4\u3067\u304d\u308b\u305f\u3081\u3001\u696d\u52d9\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u5341\u5206\u306b\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b PowerShell \u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u904b\u7528\u30b3\u30b9\u30c8\u306e\u524a\u6e1b\u3084\u696d\u52d9\u52b9\u7387\u306e\u5411\u4e0a\u304c\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div style=\"margin-top:4%;\">\n<p style=\"text-align:center; text-decoration:underline blue; font-weight:bold;\"><a href=\"https:\/\/techmania.jp\/lp\/2\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u57fa\u790e\u304b\u3089\u30b5\u30a4\u30c8\u5236\u4f5c\u307e\u3067<br \/>\u2193\u5b9f\u8df5\u529b\u304c\u8eab\u306b\u3064\u304f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u2193<\/a><\/p>\n<\/div>\n<div style=\"text-align:center; margin-top:1%;\"><a href=\"https:\/\/techmania.jp\/lp\/2\"><img decoding=\"async\" style=\"width:300px;\" alt=\"IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u6821 \u30c6\u30c3\u30af\u30de\u30cb\u30a2\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/05\/sc4.jpg\"><\/a><\/div>\n<div style=\"margin-top:-0.3%;\">\n<p style=\"text-align:center; text-decoration:underline red; font-weight:bold;\"><a href=\"https:\/\/techmania.jp\/lp\/2\"><font color=\"red\">\u226b\u30e2\u30cb\u30bf\u30fc\u5272\u5f15\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u5b9f\u65bd\u4e2d\uff01\u226a<\/font><\/a><\/p>\n<\/div>\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">PowerShell\u306e\u6d3b\u7528\u4f8b<\/h2>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/20211110\/iStock-1204570069.jpg\" class=\"post-img\">\n\n\n\n<h3 id=\"outline__4_1\" class=\"wp-block-heading\">\u6d3b\u7528\u4f8b\u2460\uff1aWindows OS\u306e\u69cb\u7bc9\u30fb\u8a2d\u5b9a<\/h3>\n\n\n\n<p>PowerShell \u306f Microsoft\u793e\u304c\u958b\u767a\u3057\u305f\u8a00\u8a9e\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u3001\u7279\u306b Windows OS \u306e\u69cb\u7bc9\u3001\u8a2d\u5b9a\u306b\u6709\u52b9\u3067\u3059\u3002Windows OS \u3067\u30e6\u30fc\u30b6\u30fc\u304c\u884c\u3046\u64cd\u4f5c\u306f\u3001\u307b\u307c PowerShell \u306b\u3088\u308a\u30b9\u30af\u30ea\u30d7\u30c8\u5316\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>OS \u306e\u8a2d\u5b9a\u3001\u69cb\u7bc9\u306f\u4f5c\u696d\u91cf\u304c\u591a\u3044\u305f\u3081\u3001PowerShell \u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304a\u3051\u3070\u3001\u591a\u304f\u306e\u4f5c\u696d\u3092\u7c21\u6613\u7684\u306b\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__4_2\" class=\"wp-block-heading\">\u6d3b\u7528\u4f8b\u2461\uff1a\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c<\/h3>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u691c\u7d22\u3084\u914d\u7f6e\u5909\u66f4\u3001\u56de\u53ce\u3001\u30d5\u30a9\u30eb\u30c0\u4f5c\u6210\u3068\u3044\u3063\u305f\u64cd\u4f5c\u3082 PowerShell \u3067\u306f\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u304c\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__4_3\" class=\"wp-block-heading\">\u6d3b\u7528\u4f8b\u2462\uff1aActive Directory\u306e\u7ba1\u7406<\/h3>\n\n\n\n<p>Active Directory \u306e\u904b\u7528\u7ba1\u7406\u3067\u306f\u3001\u7528\u9014\u306f\u3055\u3089\u306b\u5e83\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"questionBox\">\n<p><span class=\"asterisk\">Active Directory\u3068\u306fWindows Server\u306b\u6a19\u6e96\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u304c\u7d44\u7e54\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u7ba1\u7406\u3059\u308b\u306e\u306b\u6709\u7528\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u6307\u3057\u307e\u3059\u3002<\/span><\/p>\n<\/div>\n\n\n\n<p>\u30e6\u30fc\u30b6\u3084\u30b0\u30eb\u30fc\u30d7\u30dd\u30ea\u30b7\u30fc\u306e\u7ba1\u7406\u306f\u3001AD\u7ba1\u7406\u8005\u306e\u5b9a\u5e38\u7684\u306a\u4fdd\u5168\u696d\u52d9\u306e\u4e00\u3064\u3067\u3059\u304c PowerShell \u3092\u4f7f\u7528\u3059\u308c\u3070\u305d\u3046\u3044\u3063\u305f\u696d\u52d9\u306e\u5b9a\u578b\u90e8\u5206\u3092\u7c21\u5358\u306a\u64cd\u4f5c\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u5316\u3057\u904b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__4_4\" class=\"wp-block-heading\"><strong>\u6d3b\u7528\u4f8b\u2463\uff1a\u30ea\u30e2\u30fc\u30c8\u3067\u306e\u30b5\u30fc\u30d0\u7ba1\u7406<\/strong><\/h3>\n\n\n\n<p>\u7ba1\u7406\u5bfe\u8c61\u306e\u30b5\u30fc\u30d0\u306b\u308f\u3056\u308f\u3056\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u914d\u7f6e\u305b\u305a\u3068\u3082\u4efb\u610f\u306ePC\u304b\u3089 PowerShell \u3067\u5bfe\u8c61\u30b5\u30fc\u30d0\u306b\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3059\u308b\u3053\u3068\u3067\u30b9\u30af\u30ea\u30d7\u306e\u5b9f\u884c\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u5b9a\u5909\u66f4\u3084\u60c5\u5831\u53ce\u96c6\u306b\u6709\u7528\u306a\u624b\u6bb5\u306e\u4e00\u3064\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">PowerShell\u3067\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u5b9f\u884c\u3059\u308b<\/h2>\n\n\n\n<h3 id=\"outline__5_1\" class=\"wp-block-heading\">PowerShell\u3092\u8d77\u52d5\u3059\u308b<\/h3>\n\n\n<p>\u307e\u305a\u306fPowerShell\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u8d77\u52d5\u624b\u9806<\/strong><\/p>\n<ol>\n<li>Windows\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b<\/li>\n<li>\u691c\u7d22\u7a93\u306bPowerShell\u3068\u5165\u529b\u3059\u308b<\/li>\n<li>\u8868\u793a\u3055\u308c\u305f\u300cWindows PowerShell\u300d\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u300c\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u300d\u3092\u9078\u629e\u3059\u308b<\/li>\n<\/ol>\n\n\n<h3 id=\"outline__5_2\" class=\"wp-block-heading\">\u7c21\u5358\u306a\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u5b9f\u884c\u3059\u308b<\/h3>\n\n\n<p>\u300cA.txt\u300d\u3068\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u300cB.txt\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002\u6b21\u306e2\u3064\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Get-ChildItem<\/td><td>\u30d5\u30a9\u30eb\u30c0\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u8868\u793a<\/td><\/tr><tr><td>Copy-Item<\/td><td>\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<p><strong>\u5b9f\u884c\u624b\u9806<\/strong><\/p>\n<ol>\n<li>\u300cGet-ChildItem\u300d\u3092\u5b9f\u884c\u3057\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u300cA.txt\u300d\u304c\u3042\u308b\u304b\u78ba\u8a8d\u3059\u308b<\/li>\n<li>\u300cCopy-Item\u300d\u3092\u5b9f\u884c\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/li>\n<li>\u300cGet-ChildItem\u300d\u3092\u5b9f\u884c\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3067\u304d\u305f\u304b\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ol>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u4f7f\u3046\u3053\u3068\u3067\u7c21\u5358\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002PowerShell\u306b\u306f500\u7a2e\u985e\u4ee5\u4e0a\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u76f4\u611f\u7684\u306b\u899a\u3048\u3084\u3059\u3044\u3067\u3059\u3057\u3001\u899a\u3048\u308b\u3053\u3068\u3067PC\u64cd\u4f5c\u304c\u3057\u3084\u3059\u304f\u306a\u308b\u306e\u3067PowerShell\u3092\u4f7f\u3063\u3066\u3044\u308d\u3044\u308d\u8a66\u3057\u3066\u307f\u308b\u306e\u3082\u826f\u3044\u3067\u3059\u306d\u3002<\/p>\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f PowerShell (\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb) \u3067\u4f55\u304c\u3067\u304d\u308b\u304b\u3001\u305d\u306e\u30e1\u30ea\u30c3\u30c8\u3001\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u3055\u3089\u306b\u767a\u5c55\u3057\u305f PowerShell \u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u53cd\u5fa9\u4f5c\u696d\u306a\u3069\u306e\u696d\u52d9\u3092\u81ea\u52d5\u5316\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8fd1\u5e74\u3001RPA (\u30ed\u30dc\u30c6\u30a3\u30c3\u30af\u30fb\u30d7\u30ed\u30bb\u30b9\u30fb\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3) \u3068\u3044\u3063\u305f\u696d\u52d9\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3082\u6ce8\u76ee\u3055\u308c\u3066\u304d\u3066\u3044\u307e\u3059\u304c\u3001PowerShell \u3067\u3082 RPA \u306e\u3088\u3046\u306a\u81ea\u52d5\u5316\u3092\u81ea\u8eab\u3067\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>Windows OS \u3067\u3042\u308c\u3070 PowerShell \u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306b\u3088\u308a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u3067\u3082\u76f4\u611f\u7684\u306b\u64cd\u4f5c\u3057\u3084\u3059\u3044\u306e\u3067\u8208\u5473\u304c\u6e67\u3044\u305f\u5834\u5408\u306f\u4e00\u5ea6\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<p><\/p>\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\u3068\u306f\uff1f\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"PowerShell \u3068\u306f\u3001Microsoft\u793e\u304c\u958b\u767a\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3042\u308a\u3001CUI (\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9) \u306e1\u3064\u3067\u3059\u3002\u307e\u305f\u3001PowerShell \u306f Windows\u7ba1\u7406\u7528\u306e CLI\u30c4\u30fc\u30eb\u3067\u3082\u3042\u308a\u3001\u3059\u3079\u3066\u306e\u64cd\u4f5c\u3092\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u307f\u3067\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u5236\u5fa1\u3092\u884c\u3048\u308b\u305f\u3081\u3001\u6163\u308c\u308b\u3068\u30de\u30a6\u30b9\u64cd\u4f5c\u3088\u308a\u3082\u4f5c\u696d\u52b9\u7387\u304c\u4e0a\u304c\u308a\u307e\u3059\u3002\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"PowerShell\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u306e\u9055\u3044\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"PowerShell \u306f\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u5f8c\u7d99\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u305f\u305f\u3081\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3067\u304d\u308b\u3053\u3068\u306f\u3001PowerShell \u3067\u3082\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001PowerShell \u306f\u958b\u767a\u74b0\u5883\u304c\u3064\u3044\u3066\u3044\u308b\u306a\u3069\u8907\u96d1\u306a\u51e6\u7406\u3082\u4f5c\u308a\u3084\u3059\u3044\u4ed5\u69d8\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u4e0a\u4f4d\u4e92\u63db\u3068\u8003\u3048\u3066\u3082\u3088\u3044\u3067\u3057\u3087\u3046\u3002\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"PowerShell\u306e\u6b74\u53f2\u306f\uff1f\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"Microsoft\u304c\u30ea\u30ea\u30fc\u30b9\u3057\u305fOS\u306f\u3001\u300cMS-DOS\u300d\u304b\u3089\u300cWindowsOS\u300d\u306b\u81f3\u308b\u307e\u3067\u3001\u5e38\u306b\u300cCOMMAND.COM\u300d\u3084\u300ccmd.exe\u300d\u306a\u3069\u3092\u306f\u3058\u3081\u3068\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30b7\u30a7\u30eb\u304c\u6a19\u6e96\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u3089\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5185\u306e\u5236\u9650\u3082\u3042\u3063\u3066\u3001GUI\u3067\u63d0\u4f9b\u3055\u308c\u308b\u7ba1\u7406\u6a5f\u80fd\u306e\u81ea\u52d5\u5316\u3084\u518d\u5229\u7528\u306b\u9069\u3057\u3066\u3044\u308b\u3068\u306f\u8a00\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u3053\u3067\u3001\u305d\u3046\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306e\u77ed\u6240\u3092\u88dc\u3046\u5f62\u30671998\u5e74\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3092\u5b9f\u88c5\u3059\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u300cWindows Script Host (WSH)\u300d\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3057\u305f\u3002\u3057\u304b\u3057WSH\u306b\u3082\u30b7\u30a7\u30eb\u7d71\u5408\u304c\u3055\u308c\u3066\u3044\u306a\u3044\u70b9\u3084\u8106\u5f31\u6027\u3082\u554f\u984c\u8996\u3055\u308c\u59cb\u3081\u305f\u3053\u3068\u3082\u3042\u3063\u3066\u5e83\u304f\u306f\u666e\u53ca\u306f\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u306e\u5f8c\u306e2003\u5e74\u306bWindows\u3084\u81ea\u793e\u88fd\u54c1\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u7ba1\u7406\u30fb\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u30b7\u30a7\u30eb\u3001\u307e\u305f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3068\u3057\u3066Monad\u3092\u767a\u8868\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u304c\u5f8c\u306ePowerShell\u3067\u3059\u3002\u57fa\u672c\u7684\u306bPowerShell\u306f\u3001Windows\u7279\u5316\u306e\u30c4\u30fc\u30eb\u3067\u3059\u304c\u30012018\u5e74\u306b\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u300cPowerShell Core\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3001\u3053\u3061\u3089\u306fWindows\u4ee5\u5916\u306b\u300cLinuxOS\u300d\u3084\u300cmacOS\u300d\u3067\u3082\u5229\u7528\u3067\u304d\u308b\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002PowerShell\u306e\u6d3e\u751f\u306e\u3088\u3046\u306a\u4f4d\u7f6e\u3065\u3051\u3067\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u304c\u8abf\u6574\u3055\u308c\u3066\u3044\u307e\u3059\u3002\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"PowerShell\u306e\u30e1\u30ea\u30c3\u30c8\u306f\uff1f\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"\u30e1\u30ea\u30c3\u30c8\u2460\uff1a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044<br>PowerShell \u306fWindows Server 2008 \/ Windows 7\u304b\u3089\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u642d\u8f09\u3055\u308c\u305f\u306e\u3067\u3001\u305d\u308c\u4ee5\u964d\u306e\u65b0\u3057\u3044OS\u306e PC \u3067\u3042\u308c\u3070\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u3055\u3089\u306b\u3001\u3069\u306e\u7aef\u672b\u3067\u3082\u540c\u3058\u52d5\u304d\u3092\u3059\u308b\u305f\u3081\u3001\u4e00\u5ea6\u4f5c\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u30c4\u30fc\u30eb\u3092\u4ed6\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u518d\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u30e1\u30ea\u30c3\u30c8\u2461\uff1a\u8aad\u307f\u66f8\u304d\u3057\u3084\u3059\u3044\u300c\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u300d<br>PowerShell \u3067\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u5f93\u6765\u306e\u300c\u30b3\u30de\u30f3\u30c9\u300d\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u3057\u305f\u300c\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u300d\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306f\u300c\u52d5\u8a5e-\u540d\u8a5e\u300d\u3068\u3044\u3046\u82f1\u8a9e\u306e\u610f\u5473\u306b\u5f93\u3063\u305f\u898f\u5247\u3067\u4f5c\u3089\u308c\u3066\u304a\u308a\u3001\u76f4\u611f\u7684\u306b\u30b3\u30de\u30f3\u30c9\u306e\u5185\u5bb9\u3092\u628a\u63e1\u3057\u3084\u3059\u3044\u3067\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306e\u52d5\u4f5c\u304c\u82f1\u5358\u8a9e\u306e\u610f\u5473\u304b\u3089\u7c21\u5358\u306b\u63a8\u6e2c\u3067\u304d\u308b\u305f\u3081\u66f8\u304d\u3084\u3059\u304f\u3001\u8aad\u307f\u3084\u3059\u3044\u3068\u3044\u3046\u306e\u304c\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<br>\u307e\u305f\u3001\u300cGet-Command\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u4e00\u89a7\u3092\u53d6\u5f97\u3067\u304d\u308b\u305f\u3081\u6642\u9593\u7684\u30b3\u30b9\u30c8\u3082\u6291\u3048\u3089\u308c\u307e\u3059\u3002<br>\u305d\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306b\u306f\u30aa\u30d7\u30b7\u30e7\u30f3 (\u30d1\u30e9\u30e1\u30fc\u30bf) \u304c\u7528\u610f\u3055\u308c\u3066\u3044\u3066\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306e\u52d5\u4f5c\u3092\u8a73\u3057\u304f\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\"\n    }\n  }]\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"PowerShell\u3068\u306f\uff1f PowerShell \u3068\u306f\u3001Microsoft\u793e\u304c\u958b\u767a\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u3042\u308a\u3001CUI (\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9) \u306e1\u3064\u3067\u3059\u3002 CUI\uff08\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\uff09\u3068\u306f\u3001\u5168\u3066\u306e\u3084\u308a\u53d6\u308a\u3092\u6587\u5b57\u3067\u884c\u3046\u65b9\u5f0f\u3092\u6307\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u8d77\u52d5\u30fb\u505c\u6b62\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u4f4d\u7f6e\u306e\u5909\u66f4\u306a\u3069\u3001\u30d1\u30bd\u30b3\u30f3\u3092\u52d5\u304b\u3057\u3066\u3044\u308bWindows OS\u3078\u76f4\u63a5\u30b3\u30de\u30f3\u30c9\u547d\u4ee4\u3092\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u307e\u305f [&hellip;]","protected":false},"author":8,"featured_media":2100,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[12,11,55],"class_list":["post-2087","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-powershell","tag-windows","tag-development"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/2087","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=2087"}],"version-history":[{"count":18,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/2087\/revisions"}],"predecessor-version":[{"id":5405,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/2087\/revisions\/5405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/2100"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=2087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=2087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=2087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}