{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/ja-jp/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"}],"update_at":"2026/06/26","updated_at_date_time":"2026-06-26T00:04:32.6782118Z"},"_path":"module/configurationmanager/set-cmfolder.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/set-cmfolder?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Set-CMFolder.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"000c9c50-3341-ba11-3ae3-75a995c92c3b","document_version_independent_id":"5a92ceeb-a96a-b836-5c8a-dda8e6d8bb32","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"ba4485012229fafa0fdef3938edfbcfab0060cff","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/ba4485012229fafa0fdef3938edfbcfab0060cff/sccm-ps/ConfigurationManager/Set-CMFolder.md","github_contributors":["aczechowski"],"locale":"ja-jp","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/16/2021","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","online version":"","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/Set-CMFolder.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Set-CMFolder.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-06-26 12:04 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmfolder","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMFolder","schemaType":"PowershellCmdlet","summary":"<p>コンソールでフォルダーを構成します。</p>\n","uid":"ConfigurationManager.Set-CMFolder"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Set-CMFolder":{"href":"set-cmfolder","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMFolder","schemaType":"PowershellCmdlet","summary":"<p>コンソールでフォルダーを構成します。</p>\n","uid":"ConfigurationManager.Set-CMFolder"}},"description":"<p>指定したフォルダーを構成するには、このコマンドレットを使用します。 たとえば、名前を変更したり、別のフォルダーに移動したりします。</p>\n<div class=\"NOTE\">\n<p>注:</p>\n<p>\n              <code>PS XYZ:\\&gt;</code>など、Configuration Manager サイト ドライブから Configuration Manager コマンドレットを実行します。 詳細については、「作業の <a href=\"/powershell/sccm/overview\">開始</a>」を参照してください。</p>\n</div>\n","examples":[{"code":"$parentPath = 'DeviceCollection'\n$name =  'Folder1'\n$name2 =  'Folder2'\n$name3 =  'Folder3'\n$root = New-CMFolder -ParentFolderPath $parentPath -Name $name\nSet-CMFolder -Name $name2 -ParentContainerNode (Get-CMFolder -Name $name) -NewName $newName","description":"","summary":"","title":"例 1"},{"code":"(Get-CMFolder -Name $newName) | Set-CMFolder -NewName $name2","description":"","summary":"","title":"例 2"},{"code":"$folder = Set-CMFolder -Name $name3 -ParentFolderPath ($parentPath + '\\' + $name + '\\' + $name2) -MoveToFolder $root","description":"","summary":"","title":"例 3"},{"code":"$folder = Set-CMFolder -Guid $sub2.FolderGuid -MoveToPath ($parentPath + '\\' + $name + '\\' + $name2)","description":"","summary":"","title":"例 4"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"get-cmfolder","text":"Get-CMFolder"},{"href":"new-cmfolder","text":"New-CMFolder"},{"href":"remove-cmfolder","text":"Remove-CMFolder"}],"module":"ConfigurationManager","name":"Set-CMFolder","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"cf","defaultValue":"None","description":"<p>コマンドレットを実行する前に確認メッセージを表示します。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このパラメーターは、ワイルドカード文字をリテラル文字の値として扱います。 \n              <strong>ForceWildcardHandling</strong> と組み合わせることはできません。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>コンソール フォルダーへのパスを指定します。 たとえば、<code>DeviceCollection\\Folder1</code> のように指定します。</p>\n","isRequired":true,"name":"FolderPath","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このパラメーターはワイルドカード文字を処理し、予期しない動作が発生する可能性があります (推奨されません)。 \n              <strong>DisableWildcardHandling</strong> と組み合わせることはできません。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"FolderGuid","defaultValue":"None","description":"<p>構成するコンソール フォルダーの GUID を指定します。</p>\n","isRequired":true,"name":"Guid","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Guid</span>\n"},{"aliases":"ContainerNodeID","defaultValue":"None","description":"<p>構成するコンソール フォルダーの ID を指定します。</p>\n","isRequired":true,"name":"Id","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"ContainerNode","defaultValue":"None","description":"<p>構成するフォルダー オブジェクトを指定します。 このオブジェクトを取得するには、 <a href=\"get-cmfolder\">Get-CMFolder</a> コマンドレットを使用します。</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>フォルダーを移動するには、ターゲット フォルダー オブジェクトを指定します。 このオブジェクトを取得するには、 <a href=\"get-cmfolder\">Get-CMFolder</a> コマンドレットを使用します。</p>\n","name":"MoveToFolder","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>フォルダーを移動するには、ターゲット フォルダーへのパスを指定します。</p>\n","name":"MoveToPath","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>構成するコンソール フォルダーの名前を指定します。</p>\n","isRequired":true,"name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>フォルダーの名前を変更するには、このパラメーターを使用します。</p>\n","name":"NewName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>親コンテナーのフォルダー オブジェクトを指定します。 このオブジェクトを取得するには、 <a href=\"get-cmfolder\">Get-CMFolder</a> コマンドレットを使用します。</p>\n","name":"ParentContainerNode","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>親フォルダーのパスを指定します。</p>\n","name":"ParentFolderPath","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このパラメーターを追加して、作業中のアイテムを表すオブジェクトを返します。 既定では、このコマンドレットは出力を生成しない場合があります。</p>\n","name":"PassThru","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"wi","defaultValue":"None","description":"<p>コマンドレットが実行されるとどうなるかを示します。 コマンドレットは実行されません。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>コンソールでフォルダーを構成します。</p>\n","syntaxes":["Set-CMFolder -Name <String> [-ParentContainerNode <IResultObject>] [-ParentFolderPath <String>]\n [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>] [-PassThru]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMFolder -Id <Int32> [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>] [-PassThru]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMFolder -Guid <Guid> [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>]\n [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMFolder -FolderPath <String> [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>]\n [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMFolder -InputObject <IResultObject> [-NewName <String>] [-MoveToPath <String>]\n [-MoveToFolder <IResultObject>] [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Set-CMFolder","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"ja-jp","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Set-CMFolder.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmfolder","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMFolder","schemaType":"PowershellCmdlet","summary":"<p>コンソールでフォルダーを構成します。</p>\n","uid":"ConfigurationManager.Set-CMFolder"}],"canonical_url":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/set-cmfolder?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/set-cmfolder?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>指定したフォルダーを構成するには、このコマンドレットを使用します。 たとえば、名前を変更したり、別のフォルダーに移動したりします。</p>\n<div class=&quot;NOTE&quot;>\n<p>注:</p>\n<p>\n              <code>PS XYZ:\\&amp;gt;</code>など、Configuration Manager サイト ドライブから Configuration Manager コマンドレットを実行します。 詳細については、「作業の <a href=&quot;/powershell/sccm/overview&quot;>開始</a>」を参照してください。</p>\n</div>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Set-CMFolder.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"ja-jp\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Set-CMFolder\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>コンソールでフォルダーを構成します。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMFolder -Name <String> [-ParentContainerNode <IResultObject>] [-ParentFolderPath <String>]\n [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>] [-PassThru]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMFolder -Id <Int32> [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>] [-PassThru]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMFolder -Guid <Guid> [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>]\n [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMFolder -FolderPath <String> [-NewName <String>] [-MoveToPath <String>] [-MoveToFolder <IResultObject>]\n [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMFolder -InputObject <IResultObject> [-NewName <String>] [-MoveToPath <String>]\n [-MoveToFolder <IResultObject>] [-PassThru] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Set-CMFolder\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}