Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I add an IP address to a users dial in tab within powershell.

I want to do it about a 100 times so I was hoping to use the ad cmdlets to perform the task reading from a csv file the account name and the ip address.

Does anybody know the property to set this?

Thanks

Paul

share|improve this question
    
"dial in tab"... Sorry, what version of Windows is this for? Where can I find this tab exactly? –  Marco Shaw Mar 12 '10 at 13:41
add comment

2 Answers

I assume you are referring to configuring Routing and Remote Access using powershell. A quick search finds this for setting RRAS Dial-in Attribute using Powershell to query Active Directory and WMI.

share|improve this answer
add comment

To configure the "Assign a Static IP Address, you need to set the properties msRADIUSFramedIPAddress and msRASSavedFramedIPAddress properties, however it says on those pages that they are used internally and not to modify them directly.

The RAS User Administration Functions page may have some potential.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.