摘要:
当我们需要在远程机器上跑一些PowerShell命令或者文件的时候,可以运行以下命令$secpassword = ConvertTo-SecureString "Password" -AsPlainText –Force$mycreds = New-Object System.Management.Automation.PSCredential ("Username", $secpassword)Enter-PSSession -ComputerName ComputerName -Credential $mycreds你可能会遇到以下错误:Enter- 阅读全文
posted @ 2012-11-20 17:10
Lilideng
阅读(2877)
评论(1)
推荐(0)
摘要:
我在调试一个测试界面UI的工程中,遇到了一个NonComVisibleBaseClass异常,编译的时候不会遇到这个问题,网上搜了一下解决方案如下,在VS里:Navigate to Debug->Exceptions...Expand "Managed Debugging Assistants"Uncheck the NonComVisibleBaseClass Thrown option.Click [Ok] 阅读全文
posted @ 2012-11-20 16:38
Lilideng
阅读(257)
评论(0)
推荐(0)

浙公网安备 33010602011771号