0
我们的第三方IIS团队为IIS FTP用户名提供了一个虚拟主机名前缀。例如:“x.y.z.com |用户名”(注意管道分隔符)。具有虚拟主机名称前缀的IIS FTP用户获取凭证?
运行PowerShell中获取-凭据命令:
Get-Credential | Export-Clixml {FILEPATH}
,然后提供 “用户名”= “xyzcom |用户名” 到弹出窗口提供此提示错误:
Examples:
User Name
[email protected]
DOMAIN\
我可以手动生成安全字符串和导入/导出,但我希望有一个简单的开箱即用的方式来存储此凭据。
一些背景资料: https://www.iis.net/configreference/system.ftpserver/serverruntime/hostnamesupport https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.security/get-credential