Solved

powershell: missing cmdlets (Windows 7)

Posted on 2014-10-04
2
264 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 20

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

623 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