Share via


get-activesyncdevice' is not recognized as the name of a cmdlet

Question

Monday, October 12, 2015 9:33 AM

Hello,

I can also my Exchange 2010 are not running the Get-ActiveSyncDevice since it is apparently absent. A few days ago it worked.
The Exchange SnapIn is loaded and all other cmdlets work.
Can I repair the Exchangepowerhsell?

         Welcome to the Exchange Management Shell!

Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List

Tip of the day #25:

One benefit of the Exchange Management Shell is that cmdlets can output objects to the console. You can then manipulate this output and organize it in interesting ways. For examp

 Get-Mailbox | Format-Table Name,Database,RulesQuota

VERBOSE: Connecting to conmail004.intern.conova.com
VERBOSE: Connected to conmail004.intern.conova.com.
[PS] C:\Windows\system32>Get-ActiveSyncDevice
The term 'Get-ActiveSyncDevice' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
At line:1 char:21

  • Get-ActiveSyncDevice <<<<
        + CategoryInfo          : ObjectNotFound: (Get-ActiveSyncDevice:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

All replies (2)

Monday, October 12, 2015 10:22 AM ✅Answered

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 fixed the Problem :)


Monday, October 12, 2015 10:24 AM

Hi Phil,

You might have permissions issue.

Check what is listed when you run this:

Get-Command *ActiveSync*

EMC is working fine?

Try this fix: Though it talks about broken EMS, yours also might be similar to a minor level.

Exchange Management Shell (EMS) missing after applying Exchange 2010 SP1

Regards,

Satyajit

Please“Vote As Helpful” if you find my contribution useful or “MarkAs Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.