{"id":2777,"date":"2025-03-14T17:56:40","date_gmt":"2025-03-14T08:56:40","guid":{"rendered":"https:\/\/blog.yoshisuke.com\/?p=2777"},"modified":"2025-03-15T09:37:14","modified_gmt":"2025-03-15T00:37:14","slug":"%e8%a4%87%e6%95%b0%e3%81%aemd%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92powershell%e3%81%a7%e4%b8%80%e3%81%a4%e3%81%aemd%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ab%e7%b5%b1%e5%90%88%e3%81%99","status":"publish","type":"post","link":"https:\/\/blog.yoshisuke.com\/?p=2777","title":{"rendered":"\u8907\u6570\u306eMD\u30d5\u30a1\u30a4\u30eb\u3092PowerShell\u3067\u4e00\u3064\u306eMD\u30d5\u30a1\u30a4\u30eb\u306b\u7d71\u5408\u3059\u308b"},"content":{"rendered":"<p>NoteBookLM\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306f50\u500b\u307e\u3067\u767b\u9332\u3067\u304d\u3066\u4e00\u3064\u306e\u5927\u304d\u3055\u306b\u3064\u3044\u3066\u306f20\u4e07\u8a9e\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u4e0a\u9650\u306f200MB\u3089\u3057\u3044\u306e\u3067\u3001MD\u30d5\u30a1\u30a4\u30eb\u3092\u7d71\u5408\u3057\u305f\u3089\u3051\u3063\u3053\u3046\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u304c\u767b\u9332\u3067\u304d\u308b\u306e\u3060\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u8907\u6570\u306eMD\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u3064\u306b\u7d71\u5408\u3059\u308c\u3070\u3044\u3044\u306e\u3060\u306a\u3001\u3068\u3044\u3046\u3053\u3068\u3067AI\u306b\u7d71\u5408\u306e\u3084\u308a\u65b9\u3092\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u3068\u3053\u308d\u3001Powershell\u3092\u4f7f\u3046\u306e\u304c\u4e00\u756a\u7c21\u5358\u305d\u3046\u306a\u306e\u3067\u3042\u3063\u305f\u3002<\/p>\n<p>\u4ee5\u4e0bAI\u306e\u56de\u7b54\u3002<\/p>\n<hr \/>\n<p class=\"my-0\">\u8907\u6570\u306eMarkdown\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u7d71\u5408\u3059\u308b\u624b\u9806\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u8aac\u660e\u3044\u305f\u3057\u307e\u3059\u3002PowerShell\u3092\u4f7f\u7528\u3057\u3066\u884c\u3044\u307e\u3059\u306e\u3067\u3001\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p class=\"my-0\">\u307e\u305a\u3001\u7d71\u5408\u3057\u305f\u3044Markdown\u30d5\u30a1\u30a4\u30eb\u304c\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"my-0\">Q: \u6e96\u5099\u306f\u3067\u304d\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p class=\"my-0\">A: \u306f\u3044\u3001\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p class=\"my-0\">\u7d20\u6674\u3089\u3057\u3044\u3067\u3059\u3002\u305d\u308c\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u9032\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol class=\"marker:text-textOff list-decimal\">\n<li>\n<p class=\"my-0\">PowerShell\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<p class=\"my-0\">Q: PowerShell\u3092\u958b\u304d\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p class=\"my-0\">A: \u306f\u3044\u3001\u958b\u304d\u307e\u3057\u305f\u3002<\/p>\n<ol class=\"marker:text-textOff list-decimal\" start=\"2\">\n<li>\n<p class=\"my-0\">\u6b21\u306b\u3001Markdown\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u4e0a\u306e\u300cMDFiles\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\uff1a<\/p>\n<\/li>\n<\/ol>\n<div class=\"w-full md:max-w-[90vw]\">\n<div class=\"codeWrapper text-textMainDark selection:!text-superDark selection:bg-superDuper\/10 bg-offset dark:bg-offsetDark my-md relative flex flex-col rounded font-mono text-sm font-thin\">\n<div class=\"translate-y-xs -translate-x-xs bottom-xl mb-xl sticky top-0 flex h-0 items-start justify-end\">\n<div class=\"flex items-center min-w-0 font-medium gap-1.5 justify-center\">\n<div class=\"flex shrink-0 items-center justify-center size-4\"><\/div>\n<\/div>\n<\/div>\n<div class=\"-mt-xl\">\n<div>\n<div class=\"text-text-200 bg-background-300 py-xs px-sm inline-block rounded-br rounded-tl-[3px] font-thin\">powershell<\/div>\n<\/div>\n<div class=\"pr-lg\"><code>cd C:\\Users\\\u30e6\u30fc\u30b6\u30fc\u540d\\Desktop\\MDFiles<br \/>\n<\/code><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p class=\"my-0\">\u30e6\u30fc\u30b6\u30fc\u540d\u306e\u90e8\u5206\u306f\u3001\u3042\u306a\u305f\u306eWindows\u4e0a\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"my-0\">Q: \u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3067\u304d\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p class=\"my-0\">A: \u306f\u3044\u3001\u79fb\u52d5\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<ol class=\"marker:text-textOff list-decimal\" start=\"3\">\n<li>\n<p class=\"my-0\">\u305d\u308c\u3067\u306f\u3001\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u3059\u3079\u3066\u306eMarkdown\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u7d71\u5408\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<\/li>\n<\/ol>\n<div class=\"w-full md:max-w-[90vw]\">\n<div class=\"codeWrapper text-textMainDark selection:!text-superDark selection:bg-superDuper\/10 bg-offset dark:bg-offsetDark my-md relative flex flex-col rounded font-mono text-sm font-thin\">\n<div class=\"translate-y-xs -translate-x-xs bottom-xl mb-xl sticky top-0 flex h-0 items-start justify-end\">\n<div class=\"flex items-center min-w-0 font-medium gap-1.5 justify-center\">\n<div class=\"flex shrink-0 items-center justify-center size-4\"><\/div>\n<\/div>\n<\/div>\n<div class=\"-mt-xl\">\n<div>\n<div class=\"text-text-200 bg-background-300 py-xs px-sm inline-block rounded-br rounded-tl-[3px] font-thin\">powershell<\/div>\n<\/div>\n<div class=\"pr-lg\"><code><span class=\"token token\">Get-Content<\/span> <span class=\"token token operator\">*<\/span><span class=\"token token punctuation\">.<\/span>md <span class=\"token token punctuation\">|<\/span> <span class=\"token token\">Set-Content<\/span> combined<span class=\"token token punctuation\">.<\/span>md<br \/>\n<\/code><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p class=\"my-0\">\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u62e1\u5f35\u5b50\u304c.md\u306e\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u53d6\u5f97\u3057\u3001\u300ccombined.md\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059<a class=\"citation ml-xs inline\" href=\"https:\/\/qiita.com\/probabilityhill\/items\/8381a23de8ce9a2ddf97\" target=\"_blank\" rel=\"nofollow noopener\" data-state=\"closed\" aria-label=\"\u3010PowerShell\u3011\u8907\u6570\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7d50\u5408\u3059\u308b\uff08Get-Content ...\"><span class=\"relative select-none align-middle undefined -top-px default font-sans text-base text-textMain dark:text-textMainDark selection:bg-super\/50 selection:text-textMain dark:selection:bg-superDuper\/10 dark:selection:text-superDark\"><span class=\"hover:bg-super dark:hover:bg-superDark dark:hover:text-backgroundDark min-w-[1rem] rounded-[0.3125rem] px-[0.3rem] text-center align-middle font-mono text-[0.6rem] tabular-nums hover:text-white py-[0.1875rem] border-borderMain\/50 ring-borderMain\/50 divide-borderMain\/50 dark:divide-borderMainDark\/50 dark:ring-borderMainDark\/50 dark:border-borderMainDark\/50 bg-offsetPlus dark:bg-offsetPlusDark\">5<\/span><\/span><\/a>\u3002<\/p>\n<p class=\"my-0\">Q: \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p class=\"my-0\">A: \u306f\u3044\u3001\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n<ol class=\"marker:text-textOff list-decimal\" start=\"4\">\n<li>\n<p class=\"my-0\">\u7d71\u5408\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<\/li>\n<\/ol>\n<div class=\"w-full md:max-w-[90vw]\">\n<div class=\"codeWrapper text-textMainDark selection:!text-superDark selection:bg-superDuper\/10 bg-offset dark:bg-offsetDark my-md relative flex flex-col rounded font-mono text-sm font-thin\">\n<div class=\"translate-y-xs -translate-x-xs bottom-xl mb-xl sticky top-0 flex h-0 items-start justify-end\">\n<div class=\"flex items-center min-w-0 font-medium gap-1.5 justify-center\">\n<div class=\"flex shrink-0 items-center justify-center size-4\"><\/div>\n<\/div>\n<\/div>\n<div class=\"-mt-xl\">\n<div>\n<div class=\"text-text-200 bg-background-300 py-xs px-sm inline-block rounded-br rounded-tl-[3px] font-thin\">powershell<\/div>\n<\/div>\n<div class=\"pr-lg\"><code><span class=\"token token\">Get-ChildItem<\/span> combined<span class=\"token token punctuation\">.<\/span>md<br \/>\n<\/code><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p class=\"my-0\">\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u300ccombined.md\u300d\u30d5\u30a1\u30a4\u30eb\u306e\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p class=\"my-0\">Q: \u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p class=\"my-0\">A: \u306f\u3044\u3001\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p class=\"my-0\">\u304a\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff01\u3053\u308c\u3067\u8907\u6570\u306eMarkdown\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u7d71\u5408\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p class=\"my-0\">\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306f\u5358\u7d14\u306b\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u7d50\u5408\u3059\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u624b\u52d5\u3067\u8abf\u6574\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u306b\u898b\u51fa\u3057\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u4e0d\u8981\u306a\u91cd\u8907\u3092\u524a\u9664\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093<a class=\"citation ml-xs inline\" href=\"https:\/\/qiita.com\/y_catch\/items\/6864ebbeede9de66c63d\" target=\"_blank\" rel=\"nofollow noopener\" data-state=\"closed\" aria-label=\"\u8907\u6570\u306eMarkdown\u30d5\u30a1\u30a4\u30eb\u3092\u9023\u7d50\u3057\u3066\u3001Word\u306edocx\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db ...\"><span class=\"relative select-none align-middle undefined -top-px default font-sans text-base text-textMain dark:text-textMainDark selection:bg-super\/50 selection:text-textMain dark:selection:bg-superDuper\/10 dark:selection:text-superDark\"><span class=\"hover:bg-super dark:hover:bg-superDark dark:hover:text-backgroundDark min-w-[1rem] rounded-[0.3125rem] px-[0.3rem] text-center align-middle font-mono text-[0.6rem] tabular-nums hover:text-white py-[0.1875rem] border-borderMain\/50 ring-borderMain\/50 divide-borderMain\/50 dark:divide-borderMainDark\/50 dark:ring-borderMainDark\/50 dark:border-borderMainDark\/50 bg-offsetPlus dark:bg-offsetPlusDark\">1<\/span><\/span><\/a>\u3002<\/p>\n<p class=\"my-0\">\u307e\u305f\u3001\u5927\u91cf\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u5834\u5408\u3084\u3001\u3088\u308a\u8907\u96d1\u306a\u51e6\u7406\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u57fa\u672c\u7684\u306a\u7d71\u5408\u4f5c\u696d\u3067\u3042\u308c\u3070\u3001\u3053\u306e\u65b9\u6cd5\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n<p class=\"my-0\">\u4f55\u304b\u8cea\u554f\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/p>\n<hr \/>\n<p>\u6587\u5b57\u5316\u3051\u3057\u305f\u306e\u3067<br \/>\nGet-Content *.md -Encoding UTF8 | Out-File combined.md -Encoding UTF8<br \/>\n\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u3081\u3063\u3061\u3083\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u304c\u30c7\u30ab\u304f\u306a\u3063\u3066\u51e6\u7406\u304c10\u5206\u4ee5\u4e0a\u304b\u304b\u3063\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NoteBookLM\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306f50\u500b\u307e\u3067\u767b\u9332\u3067\u304d\u3066\u4e00\u3064\u306e\u5927\u304d\u3055\u306b\u3064\u3044\u3066\u306f20\u4e07\u8a9e\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u4e0a\u9650\u306f200MB\u3089\u3057\u3044\u306e\u3067\u3001MD\u30d5\u30a1\u30a4\u30eb\u3092\u7d71\u5408\u3057\u305f\u3089\u3051\u3063\u3053\u3046\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u304c\u767b\u9332\u3067\u304d\u308b\u306e\u3060\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u8907\u6570\u306eM &hellip; <a href=\"https:\/\/blog.yoshisuke.com\/?p=2777\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u8907\u6570\u306eMD\u30d5\u30a1\u30a4\u30eb\u3092PowerShell\u3067\u4e00\u3064\u306eMD\u30d5\u30a1\u30a4\u30eb\u306b\u7d71\u5408\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[65,35],"tags":[],"class_list":["post-2777","post","type-post","status-publish","format-standard","hentry","category-ai","category-pr"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=\/wp\/v2\/posts\/2777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2777"}],"version-history":[{"count":4,"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=\/wp\/v2\/posts\/2777\/revisions"}],"predecessor-version":[{"id":2782,"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=\/wp\/v2\/posts\/2777\/revisions\/2782"}],"wp:attachment":[{"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yoshisuke.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}