Solved

One  Send/Receive Connector Connecor Annoyance

Posted on 2010-08-12
3
628 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 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

622 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