Skip to content

Commit

Permalink
Update MSFT_AADUser.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Dec 8, 2022
1 parent a927a45 commit 4f72cd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function Set-TargetResource
}
#endregion

$passwordValue = 'TempP@ss'
$passwordValue = [System.Web.Security.Membership]::GeneratePassword(30, 2)
if ($null -ne $Password)
{
$passwordValue = $Password.GetNetworkCredential().Password
Expand Down

0 comments on commit 4f72cd8

Please sign in to comment.