Our goal is to be able to configure and run Lazy Admin commands against as many modules and session types as possible.
Microsoft Exchange 2013
Using command below (or variant of it) should work when called from Lazy Admin UI.
Invoke-Command -ConfigurationName Microsoft.Exchange -ConnectionUri http://$ServerName/powershell/ -Authentication Kerberos -Credential $Global:CredentialObject -AllowRedirection -ScriptBlock {Get-Mailbox}
Our goal is to be able to configure and run Lazy Admin commands against as many modules and session types as possible.
Microsoft Exchange 2013
Using command below (or variant of it) should work when called from Lazy Admin UI.