{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/ko-kr/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"},{"display_name":"Dan Mabee","id":"40476441","name":"damabe","profile_url":"https://github.com/damabe"},{"display_name":"sankethka","id":"16908144","name":"sankethka","profile_url":"https://github.com/sankethka"}],"update_at":"2026. 9. 1.","updated_at_date_time":"2026-09-01T12:08:17.135771Z"},"_path":"module/configurationmanager/new-cmdetectionclausedirectory.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/new-cmdetectionclausedirectory?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMDetectionClauseDirectory.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","description":"파일 시스템 디렉터리에 대한 검색 방법 절을 만듭니다.","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":"c74b3f4574af7a8a480adb998b311f6eeeb3e856","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/c74b3f4574af7a8a480adb998b311f6eeeb3e856/sccm-ps/ConfigurationManager/New-CMDetectionClauseDirectory.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"ko-kr","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/30/2020","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/New-CMDetectionClauseDirectory.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMDetectionClauseDirectory.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"New-CMDetectionClauseDirectory","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 12:08 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmdetectionclausedirectory","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMDetectionClauseDirectory","schemaType":"PowershellCmdlet","summary":"<p>파일 시스템 디렉터리에 대한 검색 방법 절을 만듭니다.</p>\n","uid":"ConfigurationManager.New-CMDetectionClauseDirectory"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMDetectionClauseDirectory":{"href":"new-cmdetectionclausedirectory","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMDetectionClauseDirectory","schemaType":"PowershellCmdlet","summary":"<p>파일 시스템 디렉터리에 대한 검색 방법 절을 만듭니다.</p>\n","uid":"ConfigurationManager.New-CMDetectionClauseDirectory"}},"description":"<p>이 cmdlet을 사용하여 애플리케이션의 검색 메서드에 절을 만듭니다. 이 절은 애플리케이션의 존재를 나타내는 파일 시스템 폴더에 대한 규칙입니다.</p>\n<p>폴더 대신 파일을 검색하려면 <a href=\"new-cmdetectionclausefile\">New-CMDetectionClauseFile</a> cmdlet을 사용합니다.</p>\n<p>이 cmdlet을 사용한 후 배포 유형에 <strong>추가 또는</strong><strong>Set-</strong> cmdlet 중 하나를 사용합니다. 이 검색 절 개체를 <strong>AddDetectionClause</strong> 또는 <strong>RemoveDetectionClause</strong> 매개 변수에 전달합니다.</p>\n<p>검색 절을 그룹화하려면 배포 유형 <strong>cmdlet에서 GroupDetectionClauses</strong> 매개 변수를 사용합니다.</p>\n<div class=\"NOTE\">\n<p>참고</p>\n<p>Configuration Manager 사이트 드라이브에서 Configuration Manager cmdlet을 실행합니다(예: <code>PS XYZ:\\&gt;</code>). 자세한 내용은 <a href=\"/powershell/sccm/overview\">시작을 참조하세요</a>.</p>\n</div>\n","examples":[{"code":"$app = Get-CMApplication -ApplicationName \"CentralApp\"\n$guid = \"9900a338-484b-4a18-884e-bce87654ce1b\"\n$clause1 = New-CMDetectionClauseWindowsInstaller -ProductCode $guid -Value -ExpressionOperator IsEquals -ExpectedValue \"1.1.1.1\"\n$clause2 = New-CMDetectionClauseDirectory -DirectoryName \"mymsi\" -Path \"C:\\\" -Existence\n\n$app | Add-CMMsiDeploymentType -ContentLocation \"\\\\myserver\\mypath\\mymsi.msi\" -Force -AddDetectionClause ($clause1, $clause2)","description":"","summary":"<p>이 예제에서는 특정 제품 ID 및 디렉터리 이름이 필요한 검색 절을 추가합니다.</p>\n","title":"예제 1: 존재 감지 방법 추가"},{"code":"$clause1 = New-CMDetectionClauseDirectory -DirectoryName \"AdminConsole\" -Path \"%ProgramFiles(x86)%\\Microsoft Endpoint Manager\" -Value -PropertyType DateCreated -ExpressionOperator GreaterThan -ExpectedValue \"2020-11-30T08:00:00Z\"\n\nSet-CMScriptDeploymentType -ApplicationName \"Configuration Manager console\" -DeploymentTypeName \"Install\" -AddDetectionClause $clause1","description":"","summary":"<p>다음은 2020년 12월 30일 이후에 폴더가 수정되었는지 확인하는 규칙 기반 검색 절을 추가하는 예제입니다.</p>\n","title":"예제 2: 규칙 평가 검색 방법 추가"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"new-cmdetectionclausefile","text":"New-CMDetectionClauseFile"},{"href":"new-cmdetectionclauseregistrykey","text":"New-CMDetectionClauseRegistryKey"},{"href":"new-cmdetectionclauseregistrykeyvalue","text":"New-CMDetectionClauseRegistryKeyValue"},{"href":"new-cmdetectionclausewindowsinstaller","text":"New-CMDetectionClauseWindowsInstaller"}],"module":"ConfigurationManager","name":"New-CMDetectionClauseDirectory","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>애플리케이션의 존재를 나타내는 폴더의 이름을 지정합니다. \n              <strong>Path</strong> 매개 변수를 사용하여 이 폴더의 경로를 지정합니다.</p>\n<p>예를 들어 Configuration Manager 콘솔은 기본적으로 <code>C:\\Program Files (x86)\\Microsoft Endpoint Manager\\AdminConsole</code>를 로 설치합니다. 이 폴더에 대한 규칙을 만들려면 이 매개 변수를 로 <code>AdminConsole</code> 설정하고 <strong>Path</strong> 매개 변수를 로 <code>%ProgramFiles(x86)%\\Microsoft Endpoint Manager</code>설정합니다.</p>\n","isRequired":true,"name":"DirectoryName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</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>이 매개 변수를 추가할 때 이 애플리케이션의 존재를 나타내려면 대상 시스템에 폴더가 있어야 합니다.</p>\n<p>단순히 존재하는 대신 이 폴더의 속성에 대한 규칙을 평가하려면 <strong>Value</strong> 매개 변수를 사용합니다.</p>\n","isRequired":true,"name":"Existence","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>\n              <strong>Value</strong> 매개 변수를 추가하면 <strong>PropertyType</strong> 및 <strong>ExpressionOperator</strong>와 함께 <strong>ExpectedValue</strong>를 사용합니다. 이러한 매개 변수를 사용하는 경우 폴더는 이 애플리케이션의 존재를 나타내는 규칙을 충족해야 합니다. 이 <strong>ExpectedValue</strong> 매개 변수는 파일 시스템과 비교할 값을 지정합니다.</p>\n<p>이 절의 <strong>PropertyType</strong> 매개 변수는 폴더를 만들거나 수정한 날짜만 허용하므로 이 값은 유효한 datetime이 있는 문자열입니다. 예를 들면 <code>&quot;2020-11-30T08:00:00Z&quot;</code>와 같습니다.</p>\n","isRequired":true,"name":"ExpectedValue","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>\n              <strong>Value</strong> 매개 변수를 추가하면 <strong>PropertyType</strong> 및 <strong>ExpectedValue</strong>와 함께 <strong>ExpressionOperator</strong>를 사용합니다. 이러한 매개 변수를 사용하는 경우 폴더는 이 애플리케이션의 존재를 나타내는 규칙을 충족해야 합니다. 이 <strong>ExpressionOperator</strong> 매개 변수는 파일 시스템 값을 예상 값과 비교할 연산자를 지정합니다.</p>\n<p>버전 2010부터 매개 변수 형식이 <em>RuleExpressionOperator</em> 에서 <em>FileFolderRuleExpressionOperator</em>로 변경되었습니다.</p>\n","isRequired":true,"name":"ExpressionOperator","parameterValueGroup":"IsEquals, NotEquals, GreaterThan, LessThan, Between, GreaterEquals, LessEquals, OneOf, NoneOf","position":"Named","type":"<span class=\"no-loc xref\">FileFolderRuleExpressionOperator</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":"","defaultValue":"None","description":"<p>이 매개 변수를 추가하여 이 폴더가 64비트 시스템의 32비트 애플리케이션과 연결되어 있음을 나타냅니다.</p>\n","name":"Is64Bit","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>애플리케이션의 존재를 나타내는 폴더에 대한 파일 시스템의 경로를 지정합니다. \n              <strong>DirectoryName</strong> 매개 변수를 사용하여 폴더의 이름을 지정합니다.</p>\n<p>예를 들어 Configuration Manager 콘솔은 기본적으로 <code>C:\\Program Files (x86)\\Microsoft Endpoint Manager\\AdminConsole</code>를 로 설치합니다. 이 폴더에 대한 규칙을 만들려면 이 매개 변수를 로 <code>%ProgramFiles(x86)%\\Microsoft Endpoint Manager</code> 설정하고 <strong>DirectoryName</strong> 매개 변수를 로 <code>AdminConsole</code>설정합니다.</p>\n","isRequired":true,"name":"Path","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>\n              <strong>Value</strong> 매개 변수를 추가하면 <strong>ExpressionOperator</strong> 및 <strong>ExpectedValue</strong>와 함께 <strong>PropertyType</strong>을 사용합니다. 이러한 매개 변수를 사용하는 경우 폴더는 이 애플리케이션의 존재를 나타내는 규칙을 충족해야 합니다. 이 <strong>PropertyType</strong> 매개 변수는 평가할 폴더 속성을 지정합니다.</p>\n","isRequired":true,"name":"PropertyType","parameterValueGroup":"DateCreated, DateModified","position":"Named","type":"<span class=\"no-loc xref\">FileFolderProperty</span>\n"},{"aliases":"ValueRule","defaultValue":"None","description":"<p>\n              <strong>Value</strong> 매개 변수를 추가할 때 폴더는 이 애플리케이션의 존재를 나타내기 위해 규칙을 충족해야 합니다. \n              <strong>ExpectedValue</strong>, <strong>ExpressionOperator</strong> 및 <strong>PropertyType</strong> 매개 변수와 함께 이 매개 변수를 사용합니다.</p>\n<p>규칙을 평가하는 대신 폴더가 있는지 확인하려면 <strong>Existence</strong> 매개 변수를 사용합니다.</p>\n","isRequired":true,"name":"Value","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>파일 시스템 디렉터리에 대한 검색 방법 절을 만듭니다.</p>\n","syntaxes":["New-CMDetectionClauseDirectory -DirectoryName <String> -PropertyType <FileFolderProperty>\n -ExpectedValue <String[]> -ExpressionOperator <FileFolderRuleExpressionOperator> [-Is64Bit] -Path <String>\n [-Value] [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]","New-CMDetectionClauseDirectory -DirectoryName <String> [-Is64Bit] -Path <String> [-Existence]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMDetectionClauseDirectory","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"ko-kr","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/New-CMDetectionClauseDirectory.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmdetectionclausedirectory","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMDetectionClauseDirectory","schemaType":"PowershellCmdlet","summary":"<p>파일 시스템 디렉터리에 대한 검색 방법 절을 만듭니다.</p>\n","uid":"ConfigurationManager.New-CMDetectionClauseDirectory"}],"canonical_url":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/new-cmdetectionclausedirectory?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/new-cmdetectionclausedirectory?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>이 cmdlet을 사용하여 애플리케이션의 검색 메서드에 절을 만듭니다. 이 절은 애플리케이션의 존재를 나타내는 파일 시스템 폴더에 대한 규칙입니다.</p>\n<p>폴더 대신 파일을 검색하려면 <a href=&quot;new-cmdetectionclausefile&quot;>New-CMDetectionClauseFile</a> cmdlet을 사용합니다.</p>\n<p>이 cmdlet을 사용한 후 배포 유형에 <strong>추가 또는</strong><strong>Set-</strong> cmdlet 중 하나를 사용합니다. 이 검색 절 개체를 <strong>AddDetectionClause</strong> 또는 <strong>RemoveDetectionClause</strong> 매개 변수에 전달합니다.</p>\n<p>검색 절을 그룹화하려면 배포 유형 <strong>cmdlet에서 GroupDetectionClauses</strong> 매개 변수를 사용합니다.</p>\n<div class=&quot;NOTE&quot;>\n<p>참고</p>\n<p>Configuration Manager 사이트 드라이브에서 Configuration Manager cmdlet을 실행합니다(예: <code>PS XYZ:\\&amp;gt;</code>). 자세한 내용은 <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/New-CMDetectionClauseDirectory.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=\"ko-kr\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"New-CMDetectionClauseDirectory\" />\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=\"New-CMDetectionClauseDirectory -DirectoryName <String> -PropertyType <FileFolderProperty>\n -ExpectedValue <String[]> -ExpressionOperator <FileFolderRuleExpressionOperator> [-Is64Bit] -Path <String>\n [-Value] [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMDetectionClauseDirectory -DirectoryName <String> [-Is64Bit] -Path <String> [-Existence]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMDetectionClauseDirectory\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}