Send-MgBetaDeviceManagementNotificationMessageTemplateTestMessage
Sends test message using the specified notificationMessageTemplate in the default locale
Note
To view the v1.0 release of this cmdlet, view Send-MgDeviceManagementNotificationMessageTemplateTestMessage
Syntax
Send-MgBetaDeviceManagementNotificationMessageTemplateTestMessage
-NotificationMessageTemplateId <String>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Send-MgBetaDeviceManagementNotificationMessageTemplateTestMessage
-InputObject <IDeviceManagementActionsIdentity>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Sends test message using the specified notificationMessageTemplate in the default locale
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Headers
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IDeviceManagementActionsIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NotificationMessageTemplateId
The unique identifier of notificationMessageTemplate
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Returns true when the command succeeds
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProgressAction
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Graph.Beta.PowerShell.Models.IDeviceManagementActionsIdentity
System.Collections.IDictionary
Outputs
System.Boolean
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <IDeviceManagementActionsIdentity>
: Identity Parameter
[AlertRecordId <String>]
: The unique identifier of alertRecord[AndroidDeviceOwnerEnrollmentProfileId <String>]
: The unique identifier of androidDeviceOwnerEnrollmentProfile[AndroidForWorkEnrollmentProfileId <String>]
: The unique identifier of androidForWorkEnrollmentProfile[AppLogCollectionRequestId <String>]
: The unique identifier of appLogCollectionRequest[AppleUserInitiatedEnrollmentProfileId <String>]
: The unique identifier of appleUserInitiatedEnrollmentProfile[CertificateConnectorDetailsId <String>]
: The unique identifier of certificateConnectorDetails[CloudPcDeviceImageId <String>]
: The unique identifier of cloudPcDeviceImage[CloudPcId <String>]
: The unique identifier of cloudPC[CloudPcOnPremisesConnectionId <String>]
: The unique identifier of cloudPcOnPremisesConnection[CloudPcProvisioningPolicyId <String>]
: The unique identifier of cloudPcProvisioningPolicy[CloudPcUserSettingId <String>]
: The unique identifier of cloudPcUserSetting[DataSharingConsentId <String>]
: The unique identifier of dataSharingConsent[DepOnboardingSettingId <String>]
: The unique identifier of depOnboardingSetting[DeviceCompliancePolicyId <String>]
: The unique identifier of deviceCompliancePolicy[DeviceComplianceScriptId <String>]
: The unique identifier of deviceComplianceScript[DeviceConfigurationId <String>]
: The unique identifier of deviceConfiguration[DeviceCustomAttributeShellScriptId <String>]
: The unique identifier of deviceCustomAttributeShellScript[DeviceEnrollmentConfigurationId <String>]
: The unique identifier of deviceEnrollmentConfiguration[DeviceHealthScriptId <String>]
: The unique identifier of deviceHealthScript[DeviceLogCollectionResponseId <String>]
: The unique identifier of deviceLogCollectionResponse[DeviceManagementCompliancePolicyId <String>]
: The unique identifier of deviceManagementCompliancePolicy[DeviceManagementConfigurationPolicyId <String>]
: The unique identifier of deviceManagementConfigurationPolicy[DeviceManagementExchangeConnectorId <String>]
: The unique identifier of deviceManagementExchangeConnector[DeviceManagementIntentId <String>]
: The unique identifier of deviceManagementIntent[DeviceManagementPartnerId <String>]
: The unique identifier of deviceManagementPartner[DeviceManagementResourceAccessProfileBaseId <String>]
: The unique identifier of deviceManagementResourceAccessProfileBase[DeviceManagementReusablePolicySettingId <String>]
: The unique identifier of deviceManagementReusablePolicySetting[DeviceManagementScriptId <String>]
: The unique identifier of deviceManagementScript[DeviceManagementTemplateId <String>]
: The unique identifier of deviceManagementTemplate[DeviceManagementTemplateId1 <String>]
: The unique identifier of deviceManagementTemplate[DeviceShellScriptId <String>]
: The unique identifier of deviceShellScript[EmbeddedSimActivationCodePoolId <String>]
: The unique identifier of embeddedSIMActivationCodePool[EnrollmentProfileId <String>]
: The unique identifier of enrollmentProfile[GroupPolicyConfigurationId <String>]
: The unique identifier of groupPolicyConfiguration[GroupPolicyMigrationReportId <String>]
: The unique identifier of groupPolicyMigrationReport[GroupPolicyUploadedDefinitionFileId <String>]
: The unique identifier of groupPolicyUploadedDefinitionFile[HardwareConfigurationId <String>]
: The unique identifier of hardwareConfiguration[IntuneBrandingProfileId <String>]
: The unique identifier of intuneBrandingProfile[ManagedDeviceId <String>]
: The unique identifier of managedDevice[MicrosoftTunnelServerId <String>]
: The unique identifier of microsoftTunnelServer[MicrosoftTunnelServerLogCollectionResponseId <String>]
: The unique identifier of microsoftTunnelServerLogCollectionResponse[MicrosoftTunnelSiteId <String>]
: The unique identifier of microsoftTunnelSite[MobileAppTroubleshootingEventId <String>]
: The unique identifier of mobileAppTroubleshootingEvent[NotificationMessageTemplateId <String>]
: The unique identifier of notificationMessageTemplate[OperationApprovalRequestId <String>]
: The unique identifier of operationApprovalRequest[PrivilegeManagementElevationRequestId <String>]
: The unique identifier of privilegeManagementElevationRequest[RemoteAssistancePartnerId <String>]
: The unique identifier of remoteAssistancePartner[RoleScopeTagId <String>]
: The unique identifier of roleScopeTag[WindowsAutopilotDeploymentProfileId <String>]
: The unique identifier of windowsAutopilotDeploymentProfile[WindowsAutopilotDeviceIdentityId <String>]
: The unique identifier of windowsAutopilotDeviceIdentity[WindowsDriverUpdateProfileId <String>]
: The unique identifier of windowsDriverUpdateProfile[WindowsFeatureUpdateProfileId <String>]
: The unique identifier of windowsFeatureUpdateProfile[WindowsQualityUpdatePolicyId <String>]
: The unique identifier of windowsQualityUpdatePolicy[WindowsQualityUpdateProfileId <String>]
: The unique identifier of windowsQualityUpdateProfile[ZebraFotaDeploymentId <String>]
: The unique identifier of zebraFotaDeployment