Pash-Project / Pash

An Open Source reimplementation of Windows PowerShell, for Mono.
https://groups.google.com/group/pash-project
BSD 3-Clause "New" or "Revised" License
516 stars 54 forks source link

Command 'New-PSSession' not found. (Mac) #428

Open krispayne opened 8 years ago

krispayne commented 8 years ago

When I try to initiate a connection to my Office365 instance in PowerShell, I get the following error:

PASH /Users/kris> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Command 'New-PSSession' not found.
  +CategoryInfo: ObjectNotFound: (:) [], ParentContainsErrorRecordException
  +FullyQualifiedErrorId: CommandNotFoundException

It's entirely possible that I've done/doing something wrong, but I believe that I installed and built Pash correctly (git clone, xbuild, make alias, run)