Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to get all command about new-pssession or connect-sposervice with powershell

$
0
0

Now I'm using Office365 Exchange Online and Sharepoint online

When I connect to Exchange Online,I can use the script below:

"$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection"

I want to know how many cmmands about the session.(For Example,When I import-module hyper-v , I can use command "get-command -module hyper-v" to get all command).But I don't know how to get new-pssession command.

And, When I connect to Sharepoint Online ,I use command "connect-sposervice -url https://contoso-admin.onmicrosoft.com", the same question , I don't know how to get all sposervice command.

I hope you can help me solve the probelm .Thanks a lot in advance.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>