New-EdgeSubcription Problems

When I run the following command:

New-EdgeSubscription -FileName c:\edgesubscription.xml

I am getting the following errors:

New-EdgeSubscription : You can't use the FileName Parameter when running this command inside your Exchange organization.

At Line:1 Char:21
+ New-EdgeSubscription <<<< -FIlename c:\edgesubscription.xml
    + CategoryInfo  : InvalidOperation: [New-EdgeSubSubscription], InvvalidOperationException
    +FullyQualifiedErrorId:  79A79DD3,Microsoft,Exchange.Management.SystemConfigurationTasks.NewEdgeSubscription

I am running this from the edge server which is not part of my domain.
rlyoung1952Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nick RhodeIT DirectorCommented:
I thought it was New-EdgeSubscription -FileName "C:\EdgeSubscriptionInfo.xml"

Include the ""

Refer to this article:  http://technet.microsoft.com/en-us/library/aa997590(v=exchg.141).aspx

As I look at it more where are you running the command from?  It should be run from the edge server and not the exchange server
0
rlyoung1952Author Commented:
I used the " " and received the same error.  I believe the file name can be name you choose, but I did change the command to your example.

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rlyoung1952Author Commented:
I found that I did not need an edge server.  This problem is completed.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Mohd_ShaikhCommented:
Hi,

You must run the new-edgesubscription with the -filename from the edge server, I think you got confused some how sine the powershell sees that it runs inside the Exchange organization.

Below is the prerequisite for Edge Server.

Make sure that all the below steps followed properly.

Edge Server:-

1. WG
2. Install DNS component
3. Create " A" record of Edge server in Organzation dns & Create "A" of Hub Transport server in Edge dns.
4. Install dns on edge server
5. create host A record of all HUB server in your organisation on edge server. And create host A record of edge server on organisation's DNS server

6. Install (ADAM for windows 2003) & (Active Directory LightWeight Directory Services for windows 2008)
7. Install exchange EDGE role
8. create subscription key *.xml file

Edge sync service is should be in running state.
0
Mohammed TahirMicrosoft Exchange and O365 AdministratorCommented:
Ensure Edge Transport Server is not a part of your domain, it should be in workgroup.

Did you joined/disjoined  this server to domain before/after Edge transport server role installation for any reason?

Tahir
0
rlyoung1952Author Commented:
I found out that I did not need an Edge server.  I had tried everything before this was determined and none of the suggestion corrected my problem
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.