开发者问题收集
我正在编写一个 PS 脚本,用于在 Chrome 浏览器中自动打开 URL。我创建了一个凭据对象并将其传递给Start-Process,如下所示。$username = Read-Host 'What is your username?'$password = Read-Host 'What is your password?' -AsSecureString$credentials = New-