只要接触过PowerShell的人应当对于 Get-Service 这条命令并不 […] PowerShell 5.0查看服务的启动类型2015年12月24日 在 Powershell小技巧 标签 PowerShell 5.0 / 服务 来自 Mooser Lee
默认PowerShell的控制台提示已经会显示当前路径了,但是如果你当前所在的路 […] 优化PowerShell控制台上的提示路径2015年11月26日 在 Powershell小技巧 标签 控制台 来自 Mooser Lee
你可能会需要已不同的单元格式输出某个数字,用字节是最精准的方式,但是有时候你更喜 […] Powershell重写ToString()2015年11月20日 在 Powershell / Powershell小技巧 标签 重写 来自 codecook
1 我觉得powershell还是不完善的,比如管理用户的命令还是要用dos的net […] powershell还不完善2015年11月19日 在 Powershell小技巧 来自 873792861
Cer文件是一段包含base64证书内容的字符串,用记事本打开,可能是这样: - […] PowerShell从Cer文件中复制证书内容2015年11月17日 在 Powershell小技巧 标签 证书 来自 Mooser Lee
用visual studio 调试IISExpress,经常发现这个端口被占用, […] PowerShell删除IISExpress下面的所有站点2015年10月28日 在 Powershell小技巧 标签 IISExpress 来自 Mooser Lee
在windows 8.1和windows RT上面运行下面这段脚本: $job […] Program ‘cmd.exe’ failed to run: Object reference not set to ...2015年10月20日 在 Powershell小技巧 标签 Linux 来自 Mooser Lee
2 在PowerShell如何获取系统的开机时间我在这个帖子中已经分享过了:http […] PowerShell获取系统的开机时间2015年10月19日 在 Powershell小技巧 标签 开机时间 来自 Mooser Lee
5 很多人会拿着process中的PrivateMemorySize64或者Virt […] PowerShell获取和任务管理器中一致的进程内存2015年10月19日 在 Powershell小技巧 标签 性能计数器 / 进程 来自 Mooser Lee
直接在PowerShell中调用plink.exe,不能自动重定向输入: ech […] 在PowerShell中为plink.exe自动输入y2015年10月19日 在 Powershell小技巧 标签 plink 来自 Mooser Lee
一个网站要支持https访问,它本身得配置一个ssl证书。一般在测试环境中我们会 […] Invoke-RestMethod 访问不受信任的https网站2015年10月16日 在 Powershell小技巧 标签 证书 来自 Mooser Lee
在上一个例子中我们演示了PowerShell通过引用(内存地址)来存储对象。如果 […] PowerShell克隆对象2015年10月11日 在 Powershell小技巧 标签 对象 来自 Mooser Lee