Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
Active Directory
New-QADUser Logging
Last Post 27 Jan 2010 06:01 AM by
slogick
. 0 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
slogick
New Member
Posts:30
27 Jan 2010 06:01 AM
I needed some help with logging using the Quest commandlets. I want to try to get as much information into a log file when a new user account is created or just when a command is successful. This is what I am using when reading from a .csv file
New-QADUser -Name $_.fullname `
-ParentContainer $_.OU `
-DisplayName $_.displayName `
-UserPrincipalName $_.userPrincipalName `
-SamAccountName $_.SamAccountName `
-UserPassword $_.password `
-Description $_.Description `
-Firstname $_.givenname `
-Lastname $_.SN `
-Initials $_.MI `
-Office $_.Office `
-StreetAddress $_.StreetAddress `
-City $_.City `
-StateOrProvince $_.State `
-PostalCode $_.ZipCode `
-PhoneNumber $_.PhoneNumber `
-Email $_.Email | Out-File C:\Powershell\Logs\ExternalStudents.log -Append -NoClobber
What logging can I get from Quest Commanlets?
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
Active Directory
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2