我在使用Powershell来管理Office365 Exchange Online,其中有一句链接是:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection
然后就会在powershell中增加很多关于Exchange Online的命令。
如我导入了模块hyper-v,我可以用命令get-command -module hyper-v来查看导入模块后所有相关的命令。
我导入了一个pssession后,用命令get-command -module $session也可以查看,但我发现这样查出来的命令有很多都是系统自带的,我想知道具体都增加了哪些,用什么命令能查到呢?