New-CMSecurityScope

Creates a security scope.

Syntax

New-CMSecurityScope
   [-Confirm]
   [-Description <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -Name <String>
   [-WhatIf]
   [<CommonParameters>]

Description

The New-CMSecurityScope cmdlet creates a security scope. Security scopes provide administrative users with access to securable objects.

Examples

Example 1: Create a security scope

PS C:\> New-CMSecurityScope -Name "testSecope" -Description "Security Scope"

This command creates a security scope named testScope.

Required Parameters

-Name

Specifies a name for the security scope.

Type:String
Aliases:CategoryName
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the security scope.

Type:String
Aliases:CategoryDescription
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False