{"id":158,"date":"2023-12-06T12:12:37","date_gmt":"2023-12-06T12:12:37","guid":{"rendered":"https:\/\/howtogeek.blog\/ja\/?p=158"},"modified":"2023-12-06T12:12:37","modified_gmt":"2023-12-06T12:12:37","slug":"how-to-update-powershell-on-windows-all-methods-ja","status":"publish","type":"post","link":"https:\/\/howtogeek.blog\/ja\/how-to-update-powershell-on-windows-all-methods-ja\/","title":{"rendered":"Windows \u3067 PowerShell \u3092\u66f4\u65b0\u3059\u308b\u65b9\u6cd5 (\u3059\u3079\u3066\u306e\u65b9\u6cd5)"},"content":{"rendered":"<p>\u71b1\u5fc3\u306a Windows \u30e6\u30fc\u30b6\u30fc\u3067\u3042\u308c\u3070\u3001PowerShell \u306b\u3064\u3044\u3066\u3088\u304f\u77e5\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 PowerShell \u306f\u57fa\u672c\u7684\u306b\u3001Microsoft \u304c Windows \u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u958b\u767a\u3057\u305f\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002<\/p>\n<p>PowerShell \u3092\u5229\u7528\u3059\u308b\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u3055\u307e\u3056\u307e\u306a\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002 PowerShell \u306e\u6a5f\u80fd\u306e\u591a\u304f\u306f CMD \u306b\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3067\u3082 PowerShell \u306f\u3088\u308a\u9ad8\u5ea6\u3067\u3001\u8907\u96d1\u306a\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u305f\u304c\u3063\u3066\u3001Windows \u30e6\u30fc\u30b6\u30fc\u3067 PowerShell \u3092\u983b\u7e41\u306b\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001PowerShell \u3092\u6700\u65b0\u306e\u72b6\u614b\u306b\u4fdd\u3064\u3053\u3068\u304c\u6700\u5584\u3067\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b PowerShell \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u5834\u5408\u3001\u7279\u5b9a\u306e\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2><span id=\"How_to_Update_PowerShell_on_Windows_All_Methods\"><strong>Windows \u3067 PowerShell \u3092\u66f4\u65b0\u3059\u308b\u65b9\u6cd5 (\u3059\u3079\u3066\u306e\u65b9\u6cd5)<\/strong><\/span><\/h2>\n<p>PowerShell \u306f\u30b3\u30de\u30f3\u30c9\u306b\u5fdc\u7b54\u3059\u308b\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u3084\u3001\u30a8\u30e9\u30fc\u304c\u8fd4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001Windows PC \u3067 PowerShell \u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u4e0a\u306e PowerShell \u304c\u53e4\u3044\u3068\u601d\u308f\u308c\u308b\u5834\u5408\u306f\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u66f4\u65b0\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u3001PowerShell \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u7c21\u5358\u306a\u65b9\u6cd5\u3092\u5171\u6709\u3057\u307e\u3057\u305f\u3002 Windows \u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3067 PowerShell \u3092\u66f4\u65b0\u3059\u308b\u4f5c\u696d\u65b9\u6cd5\u3002\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span id=\"1_Install_or_Update_PowerShell_with_the_Winget_Command\"><strong>1) Winget \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066 PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u305f\u306f\u66f4\u65b0\u3059\u308b<\/strong><\/span><\/h3>\n<p>Windows \u3067 PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u305f\u306f\u66f4\u65b0\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001Winget \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002 Windows \u30d1\u30c3\u30b1\u30fc\u30b8 \u30de\u30cd\u30fc\u30b8\u30e3\u30fc (Winget) \u306f\u3001\u57fa\u672c\u7684\u306b Windows PC \u306b\u30a2\u30d7\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30c4\u30fc\u30eb\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u65e2\u5b58\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\/\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002\u3084\u308b\u3079\u304d\u3053\u3068\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<p>1. Windows 11 \u306e\u691c\u7d22\u3067\u300c\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001<strong>\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c<\/strong>\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\" class=\"wp-image\" decoding=\"async\" height=\"520\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Disable-File-Explorer-Tabs-5.webp\" title=\"\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\" width=\"600\"\/><\/figure>\n<p>2.\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u958b\u3044\u305f\u3089\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066<strong>Enter<\/strong>\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p> <code><strong>winget search PowerShell<\/strong><\/code><\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\" class=\"wp-image\" decoding=\"async\" height=\"347\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/CMD-1-1.webp\" title=\"\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\" width=\"615\"\/><\/figure>\n<p>3.\u6b21\u306b\u3001<strong>PowerShell<\/strong> \u30a2\u30d7\u30ea\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u308b<strong>ID<\/strong>\u3092\u30e1\u30e2\u3057\u307e\u3059\u3002 &gt;<strong><\/strong><\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb\" class=\"wp-image\" decoding=\"async\" height=\"397\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/CMD-3-1.webp\" title=\"\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb\" width=\"600\"\/><\/figure>\n<p>4. \u30b3\u30d4\u30fc\u3057\u305f\u3089\u3001AppID \u3092\u30b3\u30d4\u30fc\u3057\u305f\u5b9f\u969b\u306e\u30a2\u30d7\u30ea ID \u306b\u7f6e\u304d\u63db\u3048\u3066\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p> <code><strong>winget install AppID<\/strong><\/code><\/p>\n<figure class=\"wp-block-image\"><img alt=\"winget \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb AppID\" class=\"wp-image\" decoding=\"async\" height=\"501\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/CMD-4-1.webp\" title=\"winget \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb AppID\" width=\"640\"\/><\/figure>\n<p>\u305d\u308c\u3067\u304a\u3057\u307e\u3044\uff01\u3053\u308c\u3067\u3001Winget \u304c\u81ea\u52d5\u7684\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e PowerShell \u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30d7\u30ed\u30bb\u30b9\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001Windows PC \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h3><span id=\"2_Install_or_Update_PowerShell_from_the_GitHub\"><strong>2) GitHub \u304b\u3089 PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u305f\u306f\u66f4\u65b0\u3059\u308b<\/strong><\/span><\/h3>\n<p>\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066 PowerShell \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u66f4\u65b0\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002 Github \u304b\u3089 PowerShell \u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u3067\u5171\u6709\u3059\u308b\u7c21\u5358\u306a\u624b\u9806\u306e\u3044\u304f\u3064\u304b\u306b\u5f93\u3063\u3066\u3001Github \u304b\u3089 PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\/\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<p>1.<\/p>\n<p>2.\u30da\u30fc\u30b8\u304c\u958b\u304f\u3068\u3001<strong>3 \u3064\u306e\u7570\u306a\u308b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059<\/strong>\u3002 msi \u30d5\u30a1\u30a4\u30eb (LTS\u3001\u5b89\u5b9a\u7248\u3001\u30d7\u30ec\u30d3\u30e5\u30fc)\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u306f 3 \u3064\u306e\u7570\u306a\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\" class=\"wp-image\" decoding=\"async\" height=\"405\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/PowerShell-1.webp\" title=\"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u306f 3 \u3064\u306e\u7570\u306a\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\" width=\"700\"\/><\/figure>\n<p>3. \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u306f\u5b89\u5b9a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 MSI \u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u305f\u3089\u3001\u305d\u308c\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<p>4. [\u30aa\u30d7\u30b7\u30e7\u30f3 \u30a2\u30af\u30b7\u30e7\u30f3] \u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u9078\u629e\u3092\u305d\u306e\u307e\u307e\u4f7f\u7528\u3057\u3001<strong>\u6b21\u3078<\/strong> \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u6b21\" class=\"wp-image\" decoding=\"async\" height=\"460\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/PowerShell-4.webp\" title=\"\u6b21\" width=\"568\"\/><\/figure>\n<p>5.\u6b21\u306b\u3001<strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong> <strong>\u304c\u5b8c\u4e86\u3059\u308b<\/strong>\u307e\u3067\u5f85\u3061\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\" class=\"wp-image\" decoding=\"async\" height=\"399\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/PowerShell-6.webp\" title=\"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\" width=\"500\"\/><\/figure>\n<p>\u305d\u308c\u3067\u304a\u3057\u307e\u3044\uff01\u3053\u308c\u306b\u3088\u308a\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e PowerShell \u3092 Windows PC \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h3><span id=\"3_Update_PowerShell_from_the_Microsoft_Store\"><strong>3) Microsoft Store \u304b\u3089 PowerShell \u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/strong><\/span><\/h3>\n<p>Windows 11 \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001Microsoft Store \u30a2\u30d7\u30ea\u3092\u4f7f\u7528\u3057\u3066 PowerShell \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u305f\u306f\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u3067\u5171\u6709\u3059\u308b\u7c21\u5358\u306a\u624b\u9806\u306e\u3044\u304f\u3064\u304b\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>1. Windows 11 \u306e\u691c\u7d22\u3067\u300cMicrosoft Store\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u6700\u9069\u4e00\u81f4\u306e\u7d50\u679c\u306e\u30ea\u30b9\u30c8\u304b\u3089<strong> Microsoft Store<\/strong> \u30a2\u30d7\u30ea\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u30b9\u30c8\u30a2\" class=\"wp-image\" decoding=\"async\" height=\"553\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Microsoft-Store-1.webp\" title=\"\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u30b9\u30c8\u30a2\" width=\"640\"\/><\/figure>\n<p>2. Microsoft Store \u304c\u958b\u3044\u305f\u3089\u3001<strong>PowerShell<\/strong> \u3092\u691c\u7d22\u3057\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb\" class=\"wp-image\" decoding=\"async\" height=\"504\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/Microsoft-Store-2.webp\" title=\"\u30d1\u30ef\u30fc\u30b7\u30a7\u30eb\" width=\"640\"\/><\/figure>\n<p>3.\u5229\u7528\u53ef\u80fd\u306a\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u300c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u300d\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 [<strong>\u66f4\u65b0<\/strong>] \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066 PowerShell \u30a2\u30d7\u30ea\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<p>4. PowerShell \u304c\u30c7\u30d0\u30a4\u30b9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001[<strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong>] \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5165\u624b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u304a\u3057\u307e\u3044\uff01\u3053\u308c\u306f\u3001Microsoft Store \u7d4c\u7531\u3067 Wi\u200b\u200bndows 11 PC \u306b PowerShell \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u66f4\u65b0\u307e\u305f\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<h3><span id=\"Use_Both_PowerShell_5_and_PowerShell_7\"><strong>PowerShell 5 \u3068 PowerShell 7 \u306e\u4e21\u65b9\u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span><\/h3>\n<p>\u6b21\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u30c7\u30d0\u30a4\u30b9\u306b PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u306f\u3001PowerShell 5 \u3068 7 \u306e\u4e21\u65b9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image\"><img alt=\"PowerShell 5 \u3068 PowerShell 7 \u306e\u4e21\u65b9\u3092\u4f7f\u7528\u3059\u308b\" class=\"wp-image\" decoding=\"async\" height=\"403\" loading=\"lazy\" src=\"https:\/\/cdn.howtogeek.blog\/wp-content\/uploads\/2023\/12\/PowerShell-7.webp\" title=\"PowerShell 5 \u3068 PowerShell 7 \u306e\u4e21\u65b9\u3092\u4f7f\u7528\u3059\u308b\" width=\"700\"\/><\/figure>\n<p>PowerShell 7.x \u306f\u30c7\u30d0\u30a4\u30b9\u4e0a\u306e\u5225\u306e\u5834\u6240\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u304a\u308a\u3001PowerShell \u306e\u4e21\u65b9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u307e\u307e\u3067\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb \u30e6\u30fc\u30b6\u30fc\u306e\u5834\u5408\u306f\u3001\u8ffd\u52a0\u306e PowerShell \u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u306e\u30ac\u30a4\u30c9\u306f Windows \u3067 PowerShell \u3092\u66f4\u65b0\u307e\u305f\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 Windows 11 \u3067 PowerShell \u3092\u66f4\u65b0\u3059\u308b\u969b\u306b\u3055\u3089\u306b\u30d8\u30eb\u30d7\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u3053\u306e\u30ac\u30a4\u30c9\u304c\u5f79\u7acb\u3064\u3068\u601d\u308f\u308c\u305f\u5834\u5408\u306f\u3001\u304a\u53cb\u9054\u3068\u5171\u6709\u3059\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u71b1\u5fc3\u306a Windows \u30e6\u30fc\u30b6\u30fc\u3067\u3042\u308c\u3070\u3001PowerShell \u306b\u3064\u3044\u3066\u3088\u304f\u77e5\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 PowerShell \u306f\u57fa\u672c\u7684\u306b\u3001Microsoft \u304c Windows \u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u958b\u767a\u3057\u305f\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002 PowerShell \u3092\u5229\u7528\u3059\u308b\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u3055\u307e\u3056\u307e\u306a\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002 PowerShell \u306e\u6a5f\u80fd\u306e\u591a\u304f\u306f CMD \u306b\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3067\u3082 PowerShell \u306f\u3088\u308a\u9ad8\u5ea6\u3067\u3001\u8907\u96d1\u306a\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u3002 \u3057\u305f\u304c\u3063\u3066\u3001Windows \u30e6\u30fc\u30b6\u30fc\u3067 PowerShell \u3092\u983b\u7e41\u306b\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001PowerShell \u3092\u6700\u65b0\u306e\u72b6\u614b\u306b\u4fdd\u3064\u3053\u3068\u304c\u6700\u5584\u3067\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b PowerShell \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u5834\u5408\u3001\u7279\u5b9a\u306e\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 Windows \u3067 PowerShell \u3092\u66f4\u65b0\u3059\u308b\u65b9\u6cd5 (\u3059\u3079\u3066\u306e\u65b9\u6cd5) PowerShell \u306f\u30b3\u30de\u30f3\u30c9\u306b\u5fdc\u7b54\u3059\u308b\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u3084\u3001\u30a8\u30e9\u30fc\u304c\u8fd4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001Windows PC \u3067 PowerShell \u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u4e0a\u306e PowerShell \u304c\u53e4\u3044\u3068\u601d\u308f\u308c\u308b\u5834\u5408\u306f\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u66f4\u65b0\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u3001PowerShell \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u7c21\u5358\u306a\u65b9\u6cd5\u3092\u5171\u6709\u3057\u307e\u3057\u305f\u3002 Windows \u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3067 PowerShell \u3092\u66f4\u65b0\u3059\u308b\u4f5c\u696d\u65b9\u6cd5\u3002\u59cb\u3081\u307e\u3057\u3087\u3046\u3002 1) Winget \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066 PowerShell \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u305f\u306f\u66f4\u65b0\u3059\u308b Windows \u3067 PowerShell [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[19],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-how-to","tag-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":1,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":159,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/posts\/158\/revisions\/159"}],"wp:attachment":[{"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtogeek.blog\/ja\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}