Avatar of soffcec
soffcec
Flag for Iceland asked on

Windows PowerShell

I cannot run get-QADUser or set-QADUser on my domain controller. I get the error
PS C:\Users\Administrator> get-QADUser
get-QADUser : The term 'get-QADUser' is not recognized as the name of a cmdlet,
 function, script file, or operable program. Check the spelling of the name, or
 if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ get-QADUser
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-QADUser:String) [], Command
   NotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


It is like these commands are not installed.
I am trying to run commands like
Set-QADUser -Identity "Testuser" -IncludedProperties @("msNPAllowDialin", "msRADIUSFramedIPAddress", "msRASSavedFramedIPAddress") -ObjectAttributes
@{msNPAllowDialin=$true;msRADIUSFramedIPAddress=169090600;msRASSavedFramedIPAddress=169090600}
PowershellWindows Server 2012

Avatar of undefined
Last Comment
soffcec

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Cliff Galiher

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
soffcec

ASKER
Can you tell me what to use instead of

Set-QADUser -Identity "Testuser" -IncludedProperties @("msNPAllowDialin", "msRADIUSFramedIPAddress", "msRASSavedFramedIPAddress") -ObjectAttributes
@{msNPAllowDialin=$true;msRADIUSFramedIPAddress=169090600;msRASSavedFramedIPAddress=169090600}

I am trying to add or change ip address on the DialIn tab.
Neil Russell

It may have its own cmdlets but the QAD commandlets still excell and in a lot of cases allow quick and easy single commands that the builtin AD commandlets dont do.

Install them and use them :D
soffcec

ASKER
Where from can I install QAD commandlets , I cannot find them.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Mohammed Khawaja

What you need to do is go to www.powergui.org and download PowerGui.  Next you need to download Quest Active Directory PowerShell commandlets from http://www.quest.com/active-directory/
soffcec

ASKER
I cannot find out what to download at http://www.quest.com/active-directory/
David Johnson, CD

you now have to get the activeroles server package.
http://www.quest.com/activeroles-server/
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
soffcec

ASKER
Humm, look like I need to buy license, am I right ?
Neil Russell

Well I am disappointed!   Guess this is what happens when a BIG company (Dell) buys out a software house (Quest) !

Bad bad Dell!
soffcec

ASKER
I can not find out what to use. The link sends me to DELL software page, but I am looking for some free solution. Strange if this can not be done with bult in windows commands.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SOLUTION
David Johnson, CD

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
soffcec

ASKER
I have tried that (Set-ADUser) but cannot find out how to add ip address to dialin prophertis for the AD user.
I know I have to convert the IP address to decimal and that is no problem. I think this is something called msRADIUSFramedIPAddress