Start a new topic
Answered

PowerShell Connection Settings (Exchange Online)

I really want to use the PowerShell Connection Settings in Royal TS. Is there a way, and if so, how, to connect to Exchange Online? 


Best Answer

I see. I think there's a misunderstanding. The PowerShell plugin in Royal TS is designed to execute a predefined script and display the result. It's not an interactive console. 


If you need an interactive console you can try to embed the PowerShell console in Royal TS using the External Application connection type:

https://blog.royalapplications.com/2013/09/27/integrate-powershell-in-royal-ts/


Let me know if this helps.


Hi Chris,


I'm not sure I understand. Can you provide more details. I'm not familiar with Exchange Online. Can you explain what your use case is?


Thanks!

I am trying to connect to Exchange Online services via remote powershell.. 


$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session -DisableNameChecking


I think that since it should be prompting for credentials, maybe the powershell plugin doesnt prompt? perhaps?




image



image


Answer

I see. I think there's a misunderstanding. The PowerShell plugin in Royal TS is designed to execute a predefined script and display the result. It's not an interactive console. 


If you need an interactive console you can try to embed the PowerShell console in Royal TS using the External Application connection type:

https://blog.royalapplications.com/2013/09/27/integrate-powershell-in-royal-ts/


Let me know if this helps.

Login or Signup to post a comment