V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  endif0  ›  全部回复第 3 页 / 共 3 页
回复总数  45
1  2  3  
2022-12-04 11:19:45 +08:00
回复了 huaxing0211 创建的主题 微信 WeChat:不是不报,时候未到
@lifansama 不好意思,我试了一下不知道哪个位置有错误,不太懂这个语法,可否请大佬帮忙看看,感激不尽

```
PS C:\Users\endif> $userName = 'abc'
PS C:\Users\endif> $userPassword = '123'
PS C:\Users\endif> $secStringPassword = ConvertTo-SecureString $userPassword -AsPlainText -Force
PS C:\Users\endif> $cred =New-Object System.Management.Automation.PSCredential ($userName, $secStringPassword) start-process -filepath 'C:\Program Files\WindowsApps\TencentWeChatLimited.forWindows10...(略)\WeChatStore\WeChatStore.exe' -credential $cred
```
New-Object : 找不到接受实际参数“start-process”的位置形式参数。
所在位置 行:1 字符: 8
+ $cred =New-Object System.Management.Automation.PSCredential ($userNam ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-Object],ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
2022-12-03 19:56:39 +08:00
回复了 huaxing0211 创建的主题 微信 WeChat:不是不报,时候未到
@lifansama 好的感谢,我试试
2022-12-02 21:45:32 +08:00
回复了 huaxing0211 创建的主题 微信 WeChat:不是不报,时候未到
@stcode 我这样试了,不行也,不知道为什么
好快呀,这么快就被领完了,希望可以中奖,这个 APP 应该挺有意义
2022-12-01 22:21:34 +08:00
回复了 huaxing0211 创建的主题 微信 WeChat:不是不报,时候未到
@stcode 你好,麻烦问下,我按这个方法试了,但是登录微信的时候总是说微信默认保存位置无法使用,让改位置,改到低权限帐号可以访问的目录之后,还是会弹出这个提示。
1  2  3  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4639 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 10:07 · PVG 18:07 · LAX 03:07 · JFK 06:07
Developed with CodeLauncher
♥ Do have faith in what you're doing.