Solved

powershell: missing cmdlets (Windows 7)

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Azure/Office 365 App Passwords 2 61
Server 2008 to 2016 Essentials migration problem 6 112
VMM 2016 and Hyper-V 2008 R2 4 64
Azure Storage Keys 2 7
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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