Oops... missed a correction since I discovered there was a Pager parameter.
Something like this:
Get-QADGroupMember "DL-HR" | %{ Set-QADUser -Pager "1234" }
If you want to run that with different credentials you'll have to create a connection, pulling from Get-Help, that goes like this:
$pw = read-host "Enter password" -AsSecureString
Connect-QADService -ConnectionAccount 'company\administrator' -ConnectionPassword $pw
Get-QADGroupMember "DL-HR" | %{ Set-QADUser -Pager "1234" }
Disconnect-QADService
Chris
Main Topics
Browse All Topics





by: Chris-DentPosted on 2009-10-22 at 04:59:47ID: 25633050
Hey Kam_uk :)
Something like this:
Get-QADGroupMember "DL-HR" | %{ Set-QADUser -ObjectAttributes @{ pager='1234' } }
If you want to run that with different credentials you'll have to create a connection, pulling from Get-Help, that goes like this:
$pw = read-host "Enter password" -AsSecureString
Connect-QADService -ConnectionAccount 'company\administrator' -ConnectionPassword $pw
Get-QADGroupMember "DL-HR" | %{ Set-QADUser -Pager "1234" }
Disconnect-QADService
HTH
Chris