$cred = Get-Credential
will prompt the user entering the credential that can be used in other PowerShell script.
Or $cred = Get-Credential –Credential domain_name\user_name
to fill in the default user name.
This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...
No comments:
Post a Comment