get-mailbox etc fails

Copper Contributor

on a new system (pc) trying to run command to PS exchange365 commands

get-mailbox - fails

get-aduser - fails

Search-Mailbox -Identity email address removed for privacy reasons -SearchQuery fails

exomailbox -works

 

On my old system still works.

do i have to modify my windows PATH environment?

 

installed modules:

PS C:\> Get-Module

ModuleType Version Name
---------- ------- ----
Script 2.0.5 ExchangeOnlineManagement
Manifest 3.1.0.0 Microsoft.PowerShell.Management
Manifest 3.1.0.0 Microsoft.PowerShell.Utility
Binary 1.0.0.1 PackageManagement
Script 1.0.0.1 PowerShellGet
Script 2.0.0 PSReadline

0 Replies