Solved

One  Send/Receive Connector Connecor Annoyance

Posted on 2010-08-12
3
623 Views
Last Modified: 2012-05-10
Hi Guys, Small Issue here. Well I have a csv file which contains the names and Identity of the recieve connectors. what I need to do is import this csv file in powershell via import-csv command then pipe it to Set-RecieveConnector Command. It can look something like this:

import-csv C:\Connector.csv |foreach {Set-RecieveConnector -Identitty S_ -MaxMessageSize 10MB}

CSV File is in this format
"Identity"
"con1"
"Con2"
"con3"

Thanks for the Help.
0
Comment
Question by:Hilal1924
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
endital1097 earned 500 total points
ID: 33426146
import-csv C:\Connector.csv | foreach-object {Set-RecieveConnector $_.Identity -MaxMessageSize 10MB}
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33426152
when working with a csv file you must utilize the column hearder for the variable value, so you need to have it as $_.Identity
0
 
LVL 12

Author Closing Comment

by:Hilal1924
ID: 33426928
Excellent - Worked Just fine.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Both MMF (multi-mode fiber) and SMF (single-mode fiber) are types of optical fiber that can aid in communication applications. These thin strands of silica or glass will allow communication to occur between devices. The transmission of light between…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now