Questions tagged [quest]

Questions related to the PowerShell cmdlets from Quest Software

Tag questions which are related to the PowerShell cmdlets from Quest Software. e.g., Get-QADUser, Get-QADComputer, Get-QADObject.

101 questions
0
votes
1 answer

Quest qad-newuser from csv not setting lastname

Have this script Import-Csv "c:\newuserscopy.csv" | ForEach-Object { $userPrinc = $_."SamAccountName" + "@mydomainco.uk" New-QADUser -Name $_."Name" ` -ParentContainer $_."Path" ` -SamAccountName $_."SamAccountName" ` -UserPassword "Today01" ` …
user3653189
  • 31
  • 1
  • 6
0
votes
2 answers

Import Member Group attribute from AD to .csv

I am using ActiveRoles Management Shell under Windows XP , Powershell ver 2 for retreiving Group data from AD and exporting it to csv file.Everything works well apart from getting member list it is so long that the program is writing in excel cells…
user61139
  • 33
  • 3
  • 10
0
votes
1 answer

Import users attributes from CSV file to Active Directory ( Updating AD )

I am trying to import some of the parameters from csv file to AD.I want to match the data by e-mail.I am using Quest ActiveRoles Management Shell. Import-Csv c:\Test.csv |ForEach-Object { Set-QADUser 'ou=User,ou=Accounts,ou=PL,dc=test,dc=com' …
user61139
  • 33
  • 3
  • 10
0
votes
1 answer

Powershell connecting and searching multiple domains

I am trying to locate the group memberships for a specified user account. One domain's user account is often a member of a group in the other domains (some domains require different admin account). Using get-QAQgroup, I can successfully search…
Decorius
  • 23
  • 1
  • 2
  • 5
0
votes
3 answers

How to add ForeignSecurityPrincipals to AD LDS? Bringing 'AD users and computer accounts' to AD LDS as FSP?

How to add ForeignSecurityPrincipals to 'Active Directory Lightweight Directory Services' (AD LDS)? i.e. bringing 'AD security principals (users as well as computer accounts)' to AD LDS? Any script/ps cmdlet/tool? Adding 'AD' security princials as…
Dreamer
  • 3,371
  • 2
  • 34
  • 50
0
votes
1 answer

You cannot call a method on a null-valued expression - What is it and how do I fix it?

I'm busy creating a query which will identify users whose passwords are about to expire. I am however running into a slight error in my query; it seems to return the correct results, but throws an error 5 times, which seems to correspond with 5 user…
Aaron Tanner
  • 5
  • 1
  • 3
  • 5
0
votes
1 answer

Output custom value into PS table when value returned is $null or similar

I am generating a report out of AD of users with contract expiry dates listed. So far I have been able to come up with this, which outputs to a CSV file with custom headings and the date shortened. Get-QADUser -SizeLimit 0 -IncludedProperties…
Aaron Tanner
  • 5
  • 1
  • 3
  • 5
0
votes
2 answers

Using Quest Powershell to gather info and report

I need some help writing a script as i am struggling to understand the logic. I basically have a list of user ids that i need to check to see if they have two certain AD groups. If they have, these need to be outputted into a csv and…
StrawDogz
  • 23
  • 1
  • 5
0
votes
1 answer

Looping through all my domains an changing pwd- access denied SET-QADUSER

I have several domains and one admin account in each one. It is a great pain to log into each domain to change password every month.. I have therefore written a script that will connect to all domains and check to see if I have already changed the…
Sune
  • 3,080
  • 16
  • 53
  • 64
0
votes
1 answer

powershell get-qadcomputer + wmi query

Please can someone tell me how to use ***Get-QADComputer -LdapFilter "(operatingsystem=*server*)"*** in my script below. (I can get it to work with the text file it just fails on the get-qadcomputer bit) ***function inventory { PROCESS { $os =…
0
votes
3 answers

Quest Spotlight oci.dll

My Quest Spotlight Trial does not connect to DB. When I run the user wizard it always comes: Cannot load OCI DLL: oci.dll It is a 64-bit Windows Server / 64 bit Oracle server. I've already installed the 32 bit Oracle client and added the dict to…
Ludwig Meier
  • 277
  • 1
  • 4
  • 12
0
votes
2 answers

Powershell script for Soon-to-expire AD users

So basically, what I have here is a script that will scan a CSV that it imports, and for every entry in the spreadsheet, except for people in the RANDOM.DOMAIN, it will find the managers email address and send an automated email to the manager…
Aaron Tanner
  • 5
  • 1
  • 3
  • 5
0
votes
2 answers

PowerShell - Get-QADUser = 'System.OutOfMemoryException'

I'm running a MySQL Query to update MS AD and output errors to a txt file. The code works fine but after a few minutes I get the error 'System.OutOfMemoryException'. Below is a short bit of the code. Function Addmembers { $query = "SELECT * FROM…
0
votes
1 answer

Why I cant use Get-QADComputer inside a job?

why the Quest.ActiveRoles.ADManagement is not available inside a job ? Ok when running interractively : PS>Get-QADComputer -SearchRoot '$ou' -SizeLimit 200 | %{ if (Test-Connection -Quiet $_.name) { $lastboottime = (Get-WmiObject…
Loïc MICHEL
  • 24,935
  • 9
  • 74
  • 103
0
votes
1 answer

Method to export objects with varying properties?

I hit a common problem with my scripting lately and decided to throw it into the wild to see how other people deal with this problem. tl;dr; I want to export objects which have a varying number of properties. eg; object 1 may have 3 IP address but…
SinFulNard
  • 173
  • 2
  • 2
  • 10