header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
New-QADUser Logging
Last Post 27 Jan 2010 06:01 AM by slogick. 0 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
slogickUser is Offline
New Member
New Member
Posts:30
Avatar

--
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.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer