Merge pull request #438 from tunnellord/master

User folder for cloud creds
This commit is contained in:
SirBroccoli
2024-09-23 14:41:05 +02:00
committed by GitHub

View File

@@ -1282,7 +1282,7 @@ $CCreds = @(".aws\credentials",
".azure\azureProfile.json")
foreach ($u in $users) {
$CCreds | ForEach-Object {
if (Test-Path "c:\$u\$_") { Write-Host "$_ found!" -ForegroundColor Red }
if (Test-Path "c:\Users\$u\$_") { Write-Host "$_ found!" -ForegroundColor Red }
}
}