New-MceSecurityContext
#
SYNOPSISCreates a new security context.
#
SYNTAX#
DESCRIPTIONThis cmdlet creates a new security context on the system, and returns the security context's ID.
The cmdlet is designed to support pipelining from Microsoft.ActiveDirectory.Management.ADUser instances to create security contexts linked to Active Directory identities.
#
EXAMPLES#
EXAMPLE 1Creates a security context.
#
EXAMPLE 2Creates a security context with an encryption key expiration time.
#
EXAMPLE 3Creates a security context for the Users group.
#
EXAMPLE 4Creates a security context for the OU1 organizational unit.
#
EXAMPLE 5Creates a security context with enabled encryption.
#
EXAMPLE 6Creates a security context with secure content export disabled and enabled content copying.
#
PARAMETERS#
-DisplayNameThe user display name.
#
-AttributeIssuerThe attribute issuer.
#
-AttributeNameThe attribute name.
#
-AttributeValueThe attribute name.
#
-ForegroundColorThe foreground color.
#
-BackgroundColorThe background color.
#
-EncryptionKeyExpirationHoursThe key expiration interval.
#
-EncryptionKeyExpirationMinutesThe key expiration interval.
#
-IsEncryptionEnabledA value indicating whether encryption is enabled for the security context. The system can be configured such that when this value is true, all groups that use this security context must be encrypted.
#
-IsSecureContentExportEnabledA value indicating whether secure content export is enabled for the security context. The system can be configured such that when this value is true, all groups that use this security context will allow for the conversation history to be exported securely.
#
-IsContentCopyingDisabledA value indicating whether whether content copying is disabled for the security context. The system can be configured such that when this value is true, all groups that use this security context will prevent users from copying messages.
#
CommonParametersThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.