RE: Playing with DSN message
Hiya, It looks like the syntax is slightly incorrect. It should be the New- cmdlet, and the TechNet article has the single quotes in the wrong place. New-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' Steve From: Alexander Rose [mailto:arose...@gmail.com] Sent: 07 February 2013 12:31 To: MS-Exchange Admin Issues Subject: Playing with DSN message Hello, I am trying to customize the Warning Quota message but it fails: [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no long er need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.commailto:itsupp...@acme.com.' The '' operator is reserved for future use. At line:1 char:72 + Set-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you d o not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (inbox, Sent Items,...). BRI f you have any concerns or questions, please contact itsupp...@remarkgroup.commailto:itsupp...@remarkgroup.com.' + CategoryInfo : ParserError: (:OperatorToken) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : RedirectionNotSupported I am just following MS articale: You can include HTML tags when you modify a customized DSN message by using the following command syntax: Set-SystemMessage Identity -Text 'HTML DSN message text to display with A HREF=urlhypertext/A.' http://technet.microsoft.com/en-us/library/bb125230%28v=exchg.80%29.aspx --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.commailto:listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist
Re: Playing with DSN message
Thanks Steve, i was trying with the Set command because there is already a custom message in place. So if i try your command i receive: [PS] C:\Users\arose\Desktop\Exchange ScriptsNew-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acmegroup.com.' Active Directory operation failed on REMTC4DC02.corp.acmegroup.local. The object 'CN=WarningMailbox,CN=9,CN=Dsn Customization,CN=Transport Settings,CN=acmeGROUP,CN=Microsoft Exchange,CN =Services,CN=Configuration,DC=acmegroup,DC=local' already exists. + CategoryInfo : NotSpecified: (0:Int32) [New-SystemMessage], ADObjectAlreadyExistsException + FullyQualifiedErrorId : ED0367BD,Microsoft.Exchange.Management.Dsn.NewSystemMessage And if i try the set command [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acmegroup.com.' Cannot process argument transformation on parameter 'Identity'. Cannot convert value -QuotaMessageType to type Microsoft.Exchange.Configuration.Tasks.SystemMessageIdParameter. Error: ' -QuotaMessageType' is not a valid value for the identity. Parameter name: identity + CategoryInfo : InvalidData: (:) [Set-SystemMessage], ParameterBindin...mationException + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-SystemMessage On Thu, Feb 7, 2013 at 2:31 PM, Steve Goodman st...@stevieg.org wrote: Hiya, ** ** It looks like the syntax is slightly incorrect. It should be the New- cmdlet, and the TechNet article has the single quotes in the wrong place.* *** ** ** New-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' ** ** Steve ** ** *From:* Alexander Rose [mailto:arose...@gmail.com] *Sent:* 07 February 2013 12:31 *To:* MS-Exchange Admin Issues *Subject:* Playing with DSN message ** ** Hello, I am trying to customize the Warning Quota message but it fails: [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no long er need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' The '' operator is reserved for future use. At line:1 char:72 + Set-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you d o not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (inbox, Sent Items,...). BRI f you have any concerns or questions, please contact itsupp...@remarkgroup.com.' + CategoryInfo : ParserError: (:OperatorToken) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : RedirectionNotSupported I am just following MS articale: You can include HTML tags when you modify a customized DSN message by using the following command syntax: Set-SystemMessage Identity -Text 'HTML DSN message text to display with A HREF=urlhypertext/A.' http://technet.microsoft.com/en-us/library/bb125230%28v=exchg.80%29.aspx --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist --- To manage subscriptions
RE: Playing with DSN message
If you've got it set, I think it would be Set-SystemMessage -Identity en\WarningMailbox -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' Steve From: Alexander Rose [mailto:arose...@gmail.com] Sent: 07 February 2013 13:50 To: MS-Exchange Admin Issues Subject: Re: Playing with DSN message Thanks Steve, i was trying with the Set command because there is already a custom message in place. So if i try your command i receive: [PS] C:\Users\arose\Desktop\Exchange ScriptsNew-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acmegroup.commailto:itsupp...@acmegroup.com.' Active Directory operation failed on REMTC4DC02.corp.acmegroup.local. The object 'CN=WarningMailbox,CN=9,CN=Dsn Customization,CN=Transport Settings,CN=acmeGROUP,CN=Microsoft Exchange,CN =Services,CN=Configuration,DC=acmegroup,DC=local' already exists. + CategoryInfo : NotSpecified: (0:Int32) [New-SystemMessage], ADObjectAlreadyExistsException + FullyQualifiedErrorId : ED0367BD,Microsoft.Exchange.Management.Dsn.NewSystemMessage And if i try the set command [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acmegroup.commailto:itsupp...@acmegroup.com.' Cannot process argument transformation on parameter 'Identity'. Cannot convert value -QuotaMessageType to type Microsoft.Exchange.Configuration.Tasks.SystemMessageIdParameter. Error: ' -QuotaMessageType' is not a valid value for the identity. Parameter name: identity + CategoryInfo : InvalidData: (:) [Set-SystemMessage], ParameterBindin...mationException + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-SystemMessage On Thu, Feb 7, 2013 at 2:31 PM, Steve Goodman st...@stevieg.orgmailto:st...@stevieg.org wrote: Hiya, It looks like the syntax is slightly incorrect. It should be the New- cmdlet, and the TechNet article has the single quotes in the wrong place. New-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.commailto:itsupp...@acme.com.' Steve From: Alexander Rose [mailto:arose...@gmail.commailto:arose...@gmail.com] Sent: 07 February 2013 12:31 To: MS-Exchange Admin Issues Subject: Playing with DSN message Hello, I am trying to customize the Warning Quota message but it fails: [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no long er need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.commailto:itsupp...@acme.com.' The '' operator is reserved for future use. At line:1 char:72 + Set-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you d o not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (inbox, Sent Items,...). BRI f you have any concerns or questions, please contact itsupp...@remarkgroup.commailto:itsupp...@remarkgroup.com.' + CategoryInfo : ParserError: (:OperatorToken) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : RedirectionNotSupported I am just
Re: Playing with DSN message
Sweet! That did it, thanks again! On Thu, Feb 7, 2013 at 2:57 PM, Steve Goodman st...@stevieg.org wrote: If you’ve got it set, I think it would be ** ** Set-SystemMessage -Identity en\WarningMailbox -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' ** ** Steve ** ** *From:* Alexander Rose [mailto:arose...@gmail.com] *Sent:* 07 February 2013 13:50 *To:* MS-Exchange Admin Issues *Subject:* Re: Playing with DSN message ** ** Thanks Steve, i was trying with the Set command because there is already a custom message in place. So if i try your command i receive: [PS] C:\Users\arose\Desktop\Exchange ScriptsNew-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acmegroup.com.' Active Directory operation failed on REMTC4DC02.corp.acmegroup.local. The object 'CN=WarningMailbox,CN=9,CN=Dsn Customization,CN=Transport Settings,CN=acmeGROUP,CN=Microsoft Exchange,CN =Services,CN=Configuration,DC=acmegroup,DC=local' already exists. + CategoryInfo : NotSpecified: (0:Int32) [New-SystemMessage], ADObjectAlreadyExistsException + FullyQualifiedErrorId : ED0367BD,Microsoft.Exchange.Management.Dsn.NewSystemMessage And if i try the set command [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acmegroup.com.' Cannot process argument transformation on parameter 'Identity'. Cannot convert value -QuotaMessageType to type Microsoft.Exchange.Configuration.Tasks.SystemMessageIdParameter. Error: ' -QuotaMessageType' is not a valid value for the identity. Parameter name: identity + CategoryInfo : InvalidData: (:) [Set-SystemMessage], ParameterBindin...mationException + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-SystemMessage On Thu, Feb 7, 2013 at 2:31 PM, Steve Goodman st...@stevieg.org wrote:** ** Hiya, It looks like the syntax is slightly incorrect. It should be the New- cmdlet, and the TechNet article has the single quotes in the wrong place.* *** New-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' Steve *From:* Alexander Rose [mailto:arose...@gmail.com] *Sent:* 07 February 2013 12:31 *To:* MS-Exchange Admin Issues *Subject:* Playing with DSN message Hello, I am trying to customize the Warning Quota message but it fails: [PS] C:\Users\arose\Desktop\Exchange ScriptsSet-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you do not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no long er need (Inbox, Sent Items,...). BRIf you have any concerns or questions, please feel free to contact itsupp...@acme.com.' The '' operator is reserved for future use. At line:1 char:72 + Set-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text 'Dear colleague, BRYour immediate attention is required. Your mailbox is reaching its maximum size. If you d o not clean emails now, you will soon be unable to send and receive any emails. BRBR Please clean your Deleted Items, delete any emails you no longer need (inbox, Sent Items,...). BRI f you have any concerns or questions, please contact itsupp...@remarkgroup.com.' + CategoryInfo : ParserError: (:OperatorToken