Solved

powershell: missing cmdlets (Windows 7)

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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…

808 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