Solved

powershell: missing cmdlets (Windows 7)

Posted on 2014-10-04
2
260 Views
Last Modified: 2014-11-12
As a newcomer to PowerShell I am trying to use it to manage our (recently-acquired) domain at Office 365.
The MS folk have walked me through the process of reporting on our email domain, but left to myself and my own Win7 machine I am continually failing to proceed beyond the initialisation, at the point where I issue the 'Import' cmdlet - I get 'not recognized' for that, and for 'get-mailbox'.


Win7 Pro 64-bit SP1
Installed: MS Online Services Assistant; Windows Azure Active Directory Module for Windows PowerShell; Windows Management Framework 4; .NET framework 4.5.1.  Multiple restarts.

Sequence of PS commands to that point:

--------------------------------------------
$LiveCred = Get-Credential

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

Import -PSSession $Session
-------------------------------------------

(fails at 'Import')

What have I missed please?
0
Comment
Question by:phl6hal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
Peter Hutchison earned 500 total points
ID: 40362039
I don't think there supposed to be a space between Import and -PSSession.
0
 

Author Closing Comment

by:phl6hal
ID: 40362931
How simple is that!

Thanks!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Determining the an SCCM package name from the Package ID

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question