Set-SystemMessage on Ex2007
Set-SystemMessage En\Internal\5.7.1 -Text "Test Message"
[PS] C:\>Set-SystemMessage en\interneal\5.7.1 -Text "Test"
Set-SystemMessage : Cannot bind parameter 'Identity'. Cannot convert value "en\
interneal\5.7.1" to type "Microsoft.Exchange.Configuration.Tasks.SystemMessageI
dParameter". Error: "'en\interneal\5.7.1' is not a valid value for the identity
.
Parameter name: identity"
At line:1 char:18
+ Set-SystemMessage <<<< en\interneal\5.7.1 -Text "Test"
+ CategoryInfo : InvalidArgument: (:) [Set-SystemMessage], Parame
terBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Exchang
e.Management.Dsn.SetSystemMessage
Set-SystemMessage -Identity En\Internal\5.7.1 -Text "Test Message"
[PS] C:\>Set-SystemMessage -Identity en\internal\5.7.1 -Text "Test Message"
Set-SystemMessage : The operation could not be performed because object 'en\int
ernal\5.7.1' could not be found on domain controller 'torysrv01.tory.local'.
At line:1 char:18
+ Set-SystemMessage <<<< -Identity en\internal\5.7.1 -Text "Test Message"
+ CategoryInfo : NotSpecified: (0:Int32) [Set-SystemMessage], Man
agementObjectNotFoundException
+ FullyQualifiedErrorId : CD3686D9,Microsoft.Exchange.Management.Dsn.SetSy
stemMessage
---
How do I cutomize this?Where Technology Meets Talent
November 16th, 2011 11:44am
Try Set-SystemMessage -original -Identity en\internal\5.7.1 -Text "Test Message"Sukh
Free Windows Admin Tool Kit Click here and download it now
November 16th, 2011 1:51pm
sameWhere Technology Meets Talent
November 16th, 2011 3:51pm
What if you do
Get-SystemMessage -Original | where {$_.identity -eq " en\internal\5.7.1"}
Get-SystemMessage -Original | where {$_.identity -eq " en\internal\5.7.1"} -domaincontroller torysrv01.tory.local
How many DC's do you have?
Sukh
Free Windows Admin Tool Kit Click here and download it now
November 16th, 2011 4:07pm