Skip to content
This repository was archived by the owner on Feb 4, 2019. It is now read-only.
This repository was archived by the owner on Feb 4, 2019. It is now read-only.

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

@krispayne

Description

@krispayne

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions