I want to create new creadential using PowerShell module:
$session = New-RDMSession -Type "Credential" -Name "Cred" $secure_password = ConvertTo-SecureString -AsPlainText -Force 'P4$$word' Set-RDMSessionPassword -Session $session -Password $secure_password WARNING: Access denied
What does "Access denied" mean and what should I do to properly assign password to credential session?
The -SetSession seems to be missing for the the New-RDMSession.
Could you try to replace the first line by:
$session = New-RDMSession -Type "Credential" -Name "Cred" -SetSession
Regards,
David Grandolfo