{"id":121086,"date":"2024-04-25T08:35:39","date_gmt":"2024-04-24T23:35:39","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=121086"},"modified":"2024-04-25T08:35:39","modified_gmt":"2024-04-24T23:35:39","slug":"windows-11-file-count","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/windows-11-file-count\/","title":{"rendered":"Windows 11\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b3\u3064\u306e\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240424_113410.jpg\" alt=\"S 20240424 113410\" title=\"s_20240424_113410.jpg\" border=\"0\" width=\"1280\" height=\"758\" \/><\/p>\n<p>Windows\u3067\u5de8\u5927\u306a\u30d5\u30a9\u30eb\u30c0\u3092\u30b3\u30d4\u30fc\u3057\u305f\u5f8c\u306b\u3001\u30b3\u30d4\u30fc\u304c\u6b63\u5e38\u306b\u7d42\u4e86\u3057\u305f\u306e\u304b\u3001\u5931\u6557\u3057\u305f\u306e\u304b\u5206\u304b\u3089\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u3001\u30b3\u30d4\u30fc\u5143\u3068\u30b3\u30d4\u30fc\u5148\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u542b\u307e\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3092\u6bd4\u8f03\u3057\u3066\u304a\u304a\u3088\u305d\u306e\u76ee\u5b89\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e21\u65b9\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u542b\u307e\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u30b3\u30d4\u30fc\u304c\u4e2d\u9014\u534a\u7aef\u306b\u7d42\u308f\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001Windows 11\u3067\u7279\u5b9a\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u542b\u307e\u308c\u308b\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u78ba\u8a8d<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240424_113653.jpg\" alt=\"S 20240424 113653\" title=\"s_20240424_113653.jpg\" border=\"0\" width=\"1123\" height=\"701\" \/><\/p>\n<p>\u25b2\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u3067\u76ee\u7684\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240424_113754.jpg\" alt=\"S 20240424 113754\" title=\"s_20240424_113754.jpg\" border=\"0\" width=\"1000\" height=\"625\" \/><\/p>\n<p>\u25b2\u30d7\u30ed\u30d1\u30c6\u30a3\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u300c\u5168\u822c\u300d\u30bf\u30d6\u306e\u300c\u5185\u5bb9\u300d\u306e\u6a2a\u306b\u30d5\u30a1\u30a4\u30eb\u6570\u3068\u30d5\u30a9\u30eb\u30c0\u6570\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u6570\u3084\u30d5\u30a9\u30eb\u30c0\u6570\u304c\u591a\u3044\u5834\u5408\u3001\u30ab\u30a6\u30f3\u30c8\u306e\u7d42\u4e86\u307e\u3067\u3057\u3070\u3089\u304f\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>dir\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d<\/h2>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3001<code>dir<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u76ee\u7684\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\ndir \/w \/s \/a *.*\r\n<\/pre>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u610f\u5473\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059:<\/p>\n<ul>\n<li><strong>\/w<\/strong> \u30ef\u30a4\u30c9\u5f62\u5f0f\u3067\u306e\u8868\u793a<\/li>\n<li><strong>\/s<\/strong> \u6307\u5b9a\u30d5\u30a9\u30eb\u30c0\u4ee5\u4e0b\u306e\u5168\u3066\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u8868\u793a<\/li>\n<li><strong>\/a<\/strong> \u5168\u3066\u306e\u5c5e\u6027\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u8868\u793a<\/li>\n<\/ul>\n<p>\u6700\u5f8c\u306e\u300c*.*\u300d\u3092\u300c*.jpg\u300d\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308c\u3070\u7279\u5b9a\u306e\u7a2e\u985e\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240424_114300.jpg\" alt=\"S 20240424 114300\" title=\"s_20240424_114300.jpg\" border=\"0\" width=\"1182\" height=\"738\" \/><\/p>\n<p>\u25b2\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3057\u3070\u3089\u304f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u6700\u5f8c\u306b\u30d5\u30a1\u30a4\u30eb\u306e\u7dcf\u6570\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>PowerShell\u306eGet-ChildItem\u3067\u78ba\u8a8d<\/h2>\n<p>PowerShell\u3092\u4f7f\u3063\u3066\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>PowerShell\u3092\u958b\u304d\u76ee\u7684\u306e\u30d5\u30a9\u30eb\u30c0\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nGet-ChildItem -Force -Recurse -File | Measure-Object | %{$_.Count}\r\n<\/pre>\n<p>Get-ChildItem\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u610f\u5473\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059:<\/p>\n<ul>\n<li><strong>-Force<\/strong>: \u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u306e\u8868\u793a<\/li>\n<li><strong>-Recurse<\/strong>: \u518d\u5e30\u7684\u691c\u7d22<\/li>\n<li><strong>-File<\/strong>: \u30d5\u30a1\u30a4\u30eb\u306e\u8868\u793a<\/li>\n<\/ul>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240424_114601.jpg\" alt=\"S 20240424 114601\" title=\"s_20240424_114601.jpg\" border=\"0\" width=\"1182\" height=\"739\" \/><\/p>\n<p>\u25b2\u5b9f\u884c\u5f8c\u30b7\u30f3\u30d7\u30eb\u306b\u30d5\u30a1\u30a4\u30eb\u6570\u306e\u307f\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u304b\u3089\u547c\u3073\u51fa\u3057\u3066\u51e6\u7406\u3092\u81ea\u52d5\u5316\u3057\u305f\u3044\u5834\u5408\u3001\u3053\u306e\u65b9\u6cd5\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Windows 11\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u4f8b\u3048\u3070\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u30b3\u30d4\u30fc\u304c\u6210\u529f\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u305f\u3044\u5834\u5408\u3001\u30b3\u30d4\u30fc\u5148\u3001\u30b3\u30d4\u30fc\u5143\u306e2\u3064\u306e\u30d5\u30a9\u30eb\u30c0\u3067\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u6307\u5b9a\u306b\u3088\u3063\u3066\u7d50\u679c\u304c\u7570\u306a\u308b\u3053\u3068\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u306e\u3067\u3001\u540c\u3058\u65b9\u6cd5\u3067\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows\u3067\u5de8\u5927\u306a\u30d5\u30a9\u30eb\u30c0\u3092\u30b3\u30d4\u30fc\u3057\u305f\u5f8c\u306b\u3001\u30b3\u30d4\u30fc\u304c\u6b63\u5e38\u306b\u7d42\u4e86\u3057\u305f\u306e\u304b\u3001\u5931\u6557\u3057\u305f\u306e\u304b\u5206\u304b\u3089\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u305d\u306e\u3088\u3046\u306a\u5834\u5408\u3001\u30b3\u30d4\u30fc\u5143\u3068\u30b3\u30d4\u30fc\u5148\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u542b\u307e\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3092\u6bd4\u8f03\u3057\u3066\u304a\u304a\u3088\u305d\u306e\u76ee\u5b89\u306b\u3059\u308b\u3053\u3068 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":121095,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[3298,4387],"class_list":["post-121086","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-windows","tag-windows11"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/121086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=121086"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/121086\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/121095"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=121086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=121086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=121086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}