Initial Commit

This commit is contained in:
2025-04-09 23:17:45 -05:00
parent 1941a2f386
commit f201c3a8aa
31 changed files with 1402 additions and 0 deletions

8
MDT-PSCredentials.ps1 Normal file
View File

@@ -0,0 +1,8 @@
$TSEnv = New-Object -ComObject Microsoft.SMS.TSEnvironment
$Username = [System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($Global:TSEnv.Value("SMSConnectNetworkFolderAccount")))
$Password = ConvertTo-SecureString \"[System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($Global:TSEnv.Value("SMSConnectNetworkFolderPassword")))\" -AsPlainText -Force
$MDTCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $username, $password
New-PSDrive -Name "PSCredentials" -PSProvider "FileSystem" -Root "\\berrypunch.technolog.net\PSCredentials$"