< Back

New-NotificationMessageTemplateObject

Sat Jan 18, 2020 12:40 pm

NAME New-NotificationMessageTemplateObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.notificationMessageTemplate" (or one of its derived

types).





SYNTAX

New-NotificationMessageTemplateObject [-brandingOptions <string>] [-defaultLocale <string>] [-displayName

<string>] [-lastModifiedDateTime <DateTimeOffset>] [-localizedNotificationMessages <object[]>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.notificationMessageTemplate" (or one of its derived

types).



Notification messages are messages that are sent to end users who are determined to be not-compliant with the

compliance policies defined by the administrator. Administrators choose notifications and configure them in the

Intune Admin Console using the compliance policy creation page under the ???????Actions for non-compliance??????? section. Use

the notificationMessageTemplate object to create your own custom notifications for administrators to choose while

configuring actions for non-compliance.





PARAMETERS

-lastModifiedDateTime <DateTimeOffset>

The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.notificationMessageTemplate" type.



DateTime the object was last modified.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.notificationMessageTemplate" type.



Display name for the Notification Message Template.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-defaultLocale <string>

The "defaultLocale" property, of type "Edm.String".



This property is on the "microsoft.graph.notificationMessageTemplate" type.



The default locale to fallback onto when the requested locale is not available.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-brandingOptions <string>

The "brandingOptions" property, of type "microsoft.graph.notificationTemplateBrandingOptions".



This property is on the "microsoft.graph.notificationMessageTemplate" type.



The Message Template Branding Options. Branding is defined in the Intune Admin Console.



Valid values: 'none', 'includeCompanyLogo', 'includeCompanyName', 'includeContactInformation'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-localizedNotificationMessages <object[]>

The "localizedNotificationMessages" property, of type "microsoft.graph.localizedNotificationMessage".



This property is on the "microsoft.graph.notificationMessageTemplate" type.



The list of localized messages for this Notification Message Template.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS