i need script for List all domain users of a specific OU
i need script for List all domain users of a specific OUKindly help me ASAP.
View ArticleRetrieve User Information based on CSV File
I am trying to do the following -1. Import a CSV file with LastName, FirstName2. Match the User Account based on LastName3. Export the same user with Title in AD and also Account Status - Enabled or...
View ArticleImport user from a csv file to field department
HyCan somebody help me I have a csv file inside I have Samaccountname and department and I would like to put the information in the AD for everyusers I have in my csv fileThanks Nathalie
View ArticleExport empty fields
Hi everybody, I have to export the users who don't have anything in the department field ? How can I do this please?Get-ADUser -Filter * -Properties * | Select-Object -Property...
View ArticleExport user where the name is not the same of the givenname
Hi I want to export the list of my users but only the one that don't have the same givenName and the sn. Because I have generic users so I don't want them in my list Get-ADUser -Filter * -Properties *...
View ArticlePre-Windows 2000 name ??
I used this command to create a bunch of new groups.$machine = get-content "C:\MyStuff\Citrix.txt"Foreach ($line in $machine){ new-qadGroup -ParentContainer 'OU=Vendor_Citrix,OU=MHH...
View ArticleCreate computer accounts from csv
Hello my first post here looking for help creating multiple ad computer accounts from a csv file. We also need a specified password set using the accountpassword field. Would anyone one have or be...
View ArticleTo receive email alert when each new PC join to Domain
I need a script for receive email notification if there is a PC joined into Domain Please help.THanks
View ArticlePowershell script to Install Certificate in Active Directory store
Hi Everybody!I'm trying to write a powershell script to install a certificate into the active directory certificate store,Here are the steps to do this manually, any help would be greatly...
View ArticleServer Logon and Limit Windows Explorer
New guy here, We have a server 2008 R2 (32) which is a domain controller, we recently switched from open storage (6 raid-5 drives in the server) to closed storage (removing the drive) every night. I do...
View ArticleQuery AD for users and email report on schedule?
Hi ExpertsI am a newbie and I have to create a report that I setup as a scheduled task so the report can be emailed to specific people weekly.I'm stuck with using get-qaduser because it's a windows...
View ArticleAD user query loop
Hey guys,I'm trying to loop through a list of users and find the associated accounts in AD. Some of the names are not complete though, so I have to append a wildcard to each of the names. I found out,...
View ArticleCopy user groups of user to another user
Hi,I have this so far but its obviously incorrect somewhere. Basically I need to export user groups of one user into a variable then add them to another userThanksImport-Module...
View ArticleExcel attachment does not exist
Following up on a previous article, we have a Windows Server 2008 R2 server where the Excel attachment isn't being attached. If I send a CSV file, no problems. However, when I try to schedule the job...
View Articlerun sql scripts using powershell
I am creating powershell script that will execute sql scripts stored in some folder one after other and if any sql script failes to execute then it should stop at that time and catch that error (Please...
View ArticleTransaction log size report
Hello everyone.I have a script that runs to get transaction log size. It runs, produces the output file.However when it runs it does produce errors in the ISE.I will include the script and then the...
View Articlesql and get-command output
when I type ps c:> help SQL > c:\sqlcommandlist.txtget-command - name *sql* > c:\sqllist.txtI get two different outputs ...Can someone educate me about this...
View ArticlePowerShell Custom Object Data into SQL Server Table
Trying to populate a SQL table with contents from a custom object. The custom object will write to an out-file if it is just a text file. However, I want to take the results in the custom object and...
View ArticleChanging recovery model on SQL Server 2000 DB
I'm trying to write a script that will be run as a scheduled task a couple times a week. It will check the RecoveryModel property on the various databases, and set them to simple if they have changed...
View ArticleSQL query help (cross-posted in GENERAL)
Guys,I have the following query which runs successfully inside SQL Management Studio. I would like to be able to use powershell to loop through a list of users and run this query per user (using...
View Article