码迷,mamicode.com
首页 > 系统相关 > 详细

powershell 公开课

时间:2016-11-13 02:46:28      阅读:283      评论:0      收藏:0      [点我收藏+]

标签:公开课   性价比   power   留学   

gwmi -class win32_computersystem

远程脚本签名

PS C:\WINDOWS\system32> Get-ExecutionPolicy

Unrestricted

PS C:\WINDOWS\system32> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Enter-session DC50=è相当于remote到dc50上去了

技术分享

技术分享

-prefix指定前缀

远程端口5985/5986

PS C:\WINDOWS\system32> Get-HotFix

PSWA:power shell web access

Enter-pssession win2014

Get-windowsfeature windwspowershellwebaccess| install-windowsFeature –verbose

技术分享

创建pswa的权限:

技术分享

技术分享

技术分享

本文出自 “Erick WAY” 博客,谢绝转载!

powershell 公开课

标签:公开课   性价比   power   留学   

原文地址:http://ericfu.blog.51cto.com/416760/1872124

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!