@Hiba_B
hello
Can you help me please
I want to authenticate as admin on powershell when i run the script i get the following message but user and password are good. Do i need some conf before ? on my powershell i set some ExecutionPolicy like process and currentuser as Bypass.
the script :
$user=‘XXXXX’
$password=‘XXXXX’
$securePassword= ConvertTo-SecureString $password -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential $user,
$securePassword
Thank you