< Back

New-DeviceManagement_NotificationMessageTemplates

Sat Jan 18, 2020 12:25 pm

NAME New-DeviceManagement_NotificationMessageTemplates



SYNOPSIS

Creates a "microsoft.graph.notificationMessageTemplate" object.





SYNTAX

New-DeviceManagement_NotificationMessageTemplates [-brandingOptions <string>] [-defaultLocale <string>]

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

[<CommonParameters>]



New-DeviceManagement_NotificationMessageTemplates -ODataType <string> [-brandingOptions <string>] [-defaultLocale

<string>] [-displayName <string>] [-lastModifiedDateTime <DateTimeOffset>] [-localizedNotificationMessages

<object[]>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.notificationMessageTemplate" object to the "notificationMessageTemplates" collection.



The Notification Message Templates.



Graph call: POST ~/deviceManagement/notificationMessageTemplates





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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

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

System.DateTimeOffset

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



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



DateTime the object was last modified.



System.String

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



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



Display name for the Notification Message Template.



System.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.



System.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'



System.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.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK