<commit_before># ActiveDirectoryProvider#join
$Domain   = Get-ChefNode ad, domain
$UserName = Get-ChefNode ad, admin_username
$Password = Get-ChefNode ad, admin_password 
ConvertTo-SecureString $Password -AsPlainText -Force

$UserName = "$Domain\$UserName"
$Cred = New-Object System.Management.Automation.PSCredential $UserName, $Password
Add-Computer -credential $Cred -DomainName $Domain<commit_msg>Latest changes<commit_after># ActiveDirectoryProvider#join
$Domain   = Get-ChefNode ad, domain
$UserName = Get-ChefNode ad, admin_username
$Password = Get-ChefNode ad, admin_password 
$Password = ConvertTo-SecureString $Password -AsPlainText -Force

$UserName = "$Domain\$UserName"
$Cred = New-Object System.Management.Automation.PSCredential $UserName, $Password
Add-Computer -credential $Cred -DomainName $Domain
{'fraction_non_alphanumeric': 0.10552147239263804, 'fraction_numerical': 0.0, 'mean_word_length': 6.555555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6540237', 'n_tokens_mistral': 256, 'n_tokens_neox': 249, 'n_words': 61}