Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

One  Send/Receive Connector Connecor Annoyance

Posted on 2010-08-12
3
Medium Priority
?
631 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
endital1097 earned 2000 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 You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Suggested Courses

688 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