且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

powershell

    我试图通过首先按如下方式从bitbucket中获取代码来使构建过程自动化.I am trying to automate a build process by first getting the code from bitbucket as follo......

    我的工作之一是需要 powershell 3.0中可用的ConvertTo-Json命令集因此我在我们的计算机上安装了WMF 3.0 Windows Server 2008 R2(SP1)框.重新启动后,所有使用作业的Powershell都会导致错误......

    我正在尝试使用 https://sshnet.codeplex.com/允许使用PowerShell脚本将文件上传到SFTP服务器.一切似乎都可以正常工作,除了找不到方法 UploadFile 的重载并陷入困境.I'm attempting to us......

    我正在尝试在Powershell中将十六进制字符串转换为8位带符号整数数组。 I am trying to convert a Hex string to an 8-bit signed integer array in Powershell. 我正在......

    我需要一些有关 PowerShell 的帮助,请.应该很简单:I need some with help with PowerShell, please. It should be pretty easy:我有一个子目录列表,每个子目录中都有一个 xm......

    我想在 Powershell 中将内容添加到文本文件的中间.我正在搜索特定模式,然后在其后添加内容.请注意,这是在文件的中间.I want to add content into the middle of a text file in Powersh......

    我有一个设置,需要从测试代理运行自动化脚本.但是构建步骤失败并显示以下消息I am having a setup where I need to run automation script from a test agent. But the buil......

    我有一个包含结构化数据的字符串(见下文).我需要把这个字符串转换成一个对象,这样我就可以将它导出到 .csv(或我要求的任何其他文件).我运行了以下代码:I have a string with structured data (see below).......

    有没有办法从powershell在前面带一个窗口?我试着用这个来隐藏所有的窗口(工作)并把 powershell 带回来(不工作)Is there a way to bring a window in front from powershell?I t......

    这是 http://serverfault.com/questions/102098/powershell-脚本显示命令运行。我认为在这里提出这个问题会更合适。This is a duplicate of http://serverfault.com/......

    这是 https://serverfault.com/questions/102098/powershell- 的副本脚本显示命令运行.我觉得在这里问这个问题比较合适.This is a duplicate of https://serverfault......

    在托管PowerShell运行时,才有可能一PSObject转换回原来的类型,有些怎么样? When hosting the PowerShell runtime is it possible to convert a PSObject back in......

    我想从以下位置删除所有包含 Python35 的键 (1000+):HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-2\组件I ......

    如何通过引用将字符串传递给父作用域?How can I pass strings by reference to the parent scope? 这不起作用,因为字符串是不可接受的值".This doesn't work since strings......

    这行代码:$eventResult = Get-EventLog -Source ".net runtime" -LogName Application -Newest 1 | select -expandproperty message输出一个很长的......

    我有包含这些数据的 XML 文件I have XML file with this data<?xml version="1.0" encoding="windows-1251" ?><ValCurs Date="06/06/2012......

    在PowerShell脚本中,我正在将EXE文件的字符串输出捕获到一个变量中,然后将其与其他一些文本连接起来以构建电子邮件正文. In a PowerShell script, I'm capturing the string output of an......

    I have an XML file looks like this : <?xml version="1.0" encoding="UTF-8"?><INITIAL> <FB1> fr <FB1>......

    我有一个 PowerShell 脚本,它可以根据我的要求读取 CSV 文件并过滤掉数据,但问题是它只能在我的 Windows 8.1 系统上运行,而不能在其他任何地方运行.-gt 运算符,准确地说,如果我将 -gt 更改为 lt, le代码>等I......

    我想找到单个进程的性能,例如SqlServer"I want to find performance of single process, as example "SqlServer"我应该写哪些命令来找出两件事:Which commands I sh......