I'm now trying to disable instant messaging in Live@Edu. I enter the following commands:
I then receive this message:Code:$LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session Set-OwaMailboxPolicy OwaMailboxPolicy-DefaultMailboxPlan -InstantMessagingEnabled $false
Any ideas? Many thanks!Code:WARNING: The command completed successfully but no settings of 'OwaMailboxPolicy-DefaultMailboxPlan' have been modified.
They've changed the default to $false but didn't tell us?
I do that line (with slightly different irrelevant capitalisation) and another for the galdisabledmailboxplan. In theory it is telling you that IM is already set to $false. If you don't trust it you could umm.. try turning it on and off again.. run your set-owamailbopolicy line again but with $true on the end, then a third time with it back to $false.
Michael (18th July 2012)
Spot on, why didn't I think of that!
By entering the the following code:
It then displayed:Code:$LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session Get-OwaMailboxPolicy OwaMailboxPolicy-DefaultMailboxPlan | Format-List *instant*
So I presume there's nothing additional I need to do?Code:InstantMessagingEnabled : False InstantMessagingType : Msn
Go to the branding portal thingy and remove some of the associated hyperlinks that otherwise show in the user's OWA banner?
Michael (19th July 2012)
Thanks but I had already done that. Interestingly it was disabled at one site, but enabled at two others. I've disabled throughout now. Got to love Powershell when it works!
It took about 10 mins or so until the change was noticeable when I logged in.
There are currently 1 users browsing this thread. (0 members and 1 guests)