Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Automated AD User Password Change.ps1 #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GamstutzCH
Copy link

Script that allows Users with the corresponding Custom Property to automatically create a new Password and also change it in the MSAD

Script that allows Users with the corresponding Custom Property to automatically create a new Password and also change it in the MSAD
Comment on lines +84 to +86
Write-Host "Failed to update password for AD user $($credential.Name): $_"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Second identical Write-Host seems redundant
  • Could you please fix the indentation of the curly braces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants