{"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":"Glenn Toms","id":"10454394","name":"GlennToms","profile_url":"https://github.com/GlennToms"},{"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:20.5286641Z"},"_path":"module/configurationmanager/new-cmdetectionclausefile.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-cmdetectionclausefile?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMDetectionClauseFile.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-CMDetectionClauseFile.md","github_contributors":["aczechowski","GlennToms","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-CMDetectionClauseFile.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMDetectionClauseFile.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-CMDetectionClauseFile","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 12:08 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmdetectionclausefile","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMDetectionClauseFile","schemaType":"PowershellCmdlet","summary":"<p>파일에 대한 검색 방법 절을 만듭니다.</p>\n","uid":"ConfigurationManager.New-CMDetectionClauseFile"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMDetectionClauseFile":{"href":"new-cmdetectionclausefile","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMDetectionClauseFile","schemaType":"PowershellCmdlet","summary":"<p>파일에 대한 검색 방법 절을 만듭니다.</p>\n","uid":"ConfigurationManager.New-CMDetectionClauseFile"}},"description":"<p>이 cmdlet을 사용하여 애플리케이션의 검색 메서드에 절을 만듭니다. 이 절은 애플리케이션의 존재를 나타내는 파일에 대한 규칙입니다.</p>\n<p>파일 대신 폴더를 검색하려면 <a href=\"new-cmdetectionclausedirectory\">New-CMDetectionClauseDirectory</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":"$clause = New-CMDetectionClauseFile -Path \"C:\\Program Files\\Application\" -FileName App.exe -Value -PropertyType Version -ExpressionOperator GreaterEquals -ExpectedValue \"1.0.0\"\n\nSet-CMScriptDeploymentType -ApplicationName \"CentralApp\" -DeploymentTypeName \"Scripted install\" -AddDetectionClause $clause","description":"","summary":"<p>이 예제에서는 버전이 보다 크거나 같은 특정 폴더에서 애플리케이션 <strong>app.exe</strong> 검색합니다 <code>1.0.0</code>.</p>\n","title":"예제 1: 버전별 애플리케이션 검색"},{"code":"$cla1=New-CMDetectionClauseFile -FileName \"filetest\" -PropertyType Size -ExpectedValue 123 -ExpressionOperator IsEquals -Path \"C:\\\" -Value -Is64Bit\n$cla2=New-CMDetectionClauseFile -FileName \"foldertest\" -PropertyType DateCreated -ExpectedValue (Get-Date) -ExpressionOperator LessThan -Path \"C:\\\" -Value\n$cla3=New-CMDetectionClauseRegistryKey -Hive ClassesRoot -KeyName \"aaa\"\n$logic1=$cla1.Setting.LogicalName\n$logic2=$cla2.Setting.LogicalName\n$logic3=$cla3.Setting.LogicalName\n\nAdd-CMMsiDeploymentType -AddDetectionClause $cla1,$cla2,$cla3 -ApplicationName \"app\" -DeploymentTypeName \"dt\" -InstallCommand \"mycommand\" -ContentLocation \"\\\\server\\sources\\Orca.msi\" -GroupDetectionClauses $logic1,$logic2 -DetectionClauseConnector {LogicalName=$logic2;Connector=\"or\"},{LogicalName=$logic3;Connector=\"or\"}","description":"","summary":"<p>이 예제에서는 두 개의 파일 절과 하나의 레지스트리 절을 만든 다음, 이를 사용하여 앱에 MSI 배포 유형을 추가합니다.</p>\n","title":"예제 2: MSI 앱 배포 유형에 대한 여러 절 만들기"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"new-cmdetectionclausedirectory","text":"New-CMDetectionClauseDirectory"},{"href":"new-cmdetectionclauseregistrykey","text":"New-CMDetectionClauseRegistryKey"},{"href":"new-cmdetectionclauseregistrykeyvalue","text":"New-CMDetectionClauseRegistryKeyValue"},{"href":"new-cmdetectionclausewindowsinstaller","text":"New-CMDetectionClauseWindowsInstaller"}],"module":"ConfigurationManager","name":"New-CMDetectionClauseFile","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"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>에 따라 달라집니다.</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>Path</strong> 매개 변수를 사용하여 이 파일의 경로를 지정합니다.</p>\n<p>예를 들어 Configuration Manager 콘솔은 기본적으로 <code>C:\\Program Files (x86)\\Microsoft Endpoint Manager\\AdminConsole\\bin\\Microsoft.ConfigurationManagement.exe</code>를 로 설치합니다. 이 파일에 대한 규칙을 만들려면 이 매개 변수를 로 <code>Microsoft.ConfigurationManagement.exe</code> 설정하고 <strong>Path</strong> 매개 변수를 로 <code>%ProgramFiles(x86)%\\Microsoft Endpoint Manager\\AdminConsole\\bin</code>설정합니다.</p>\n","isRequired":true,"name":"FileName","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":"","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>FileName</strong> 매개 변수를 사용하여 파일 이름을 지정합니다.</p>\n<p>예를 들어 Configuration Manager 콘솔은 기본적으로 <code>C:\\Program Files (x86)\\Microsoft Endpoint Manager\\AdminConsole\\bin\\Microsoft.ConfigurationManagement.exe</code>를 로 설치합니다. 이 파일에 대한 규칙을 만들려면 이 매개 변수를 로 <code>%ProgramFiles(x86)%\\Microsoft Endpoint Manager\\AdminConsole\\bin</code> 설정하고 <strong>FileName</strong> 매개 변수를 로 <code>Microsoft.ConfigurationManagement.exe</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<p>예를 들어 이 매개 변수를 로 <code>Version</code>설정하고 <strong>ExpressionOperator</strong>를 로 설정하고 <strong>ExpectedValue</strong>를 <code>IsEquals</code>로 <code>1.48.1.0</code>설정합니다. 그런 다음 규칙은 지정된 파일이 동일한 파일 버전을 갖도록 확인합니다.</p>\n","isRequired":true,"name":"PropertyType","parameterValueGroup":"DateCreated, DateModified, Version, Size","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-CMDetectionClauseFile -FileName <String> -PropertyType <FileFolderProperty> -ExpectedValue <String[]>\n -ExpressionOperator <FileFolderRuleExpressionOperator> [-Is64Bit] -Path <String> [-Value]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]","New-CMDetectionClauseFile -FileName <String> [-Is64Bit] -Path <String> [-Existence] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMDetectionClauseFile","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-CMDetectionClauseFile.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmdetectionclausefile","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMDetectionClauseFile","schemaType":"PowershellCmdlet","summary":"<p>파일에 대한 검색 방법 절을 만듭니다.</p>\n","uid":"ConfigurationManager.New-CMDetectionClauseFile"}],"canonical_url":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/new-cmdetectionclausefile?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ko-kr/powershell/module/configurationmanager/new-cmdetectionclausefile?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>이 cmdlet을 사용하여 애플리케이션의 검색 메서드에 절을 만듭니다. 이 절은 애플리케이션의 존재를 나타내는 파일에 대한 규칙입니다.</p>\n<p>파일 대신 폴더를 검색하려면 <a href=&quot;new-cmdetectionclausedirectory&quot;>New-CMDetectionClauseDirectory</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-CMDetectionClauseFile.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-CMDetectionClauseFile\" />\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-CMDetectionClauseFile -FileName <String> -PropertyType <FileFolderProperty> -ExpectedValue <String[]>\n -ExpressionOperator <FileFolderRuleExpressionOperator> [-Is64Bit] -Path <String> [-Value]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMDetectionClauseFile -FileName <String> [-Is64Bit] -Path <String> [-Existence] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMDetectionClauseFile\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}