第1章PowerShell介绍1.1、什么是PowerShell2006年,微软发布一款叫做WindowsPowerShell的全新脚本语言。PowerShell与命令提示符shell一样,PowerShell可以进行交互性地输入命令。也可以很容易的使用管道和重定向将文件和程序串联起来。不过,PowerShell确是一个强大的面向对象..
分类:
Windows程序 时间:
2017-09-09 23:16:58
阅读次数:
1398
FixedAffineComponent:类 LDA-like 的非相关转换,由标准的 weight matrix plus bias 组成(即Wx+b),通过标准的 stochastic gradient descent(非minibatch SGD?) 训练而来,使用 global learni... ...
分类:
Web程序 时间:
2017-09-09 23:14:20
阅读次数:
443
1 [char[]][int[]]$char=65..90 2 $char -join ',' 3 [int[]][char[]]$ascii=$char 4 $ascii -join ',' A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z 6... ...
分类:
系统相关 时间:
2017-09-08 20:35:00
阅读次数:
321
1 New-Item -ItemType File 1.txt -Force #新建文本文件 2 Compress-Archive -Path '1.txt' -DestinationPath '1.zip' -Force #压缩为zip 3 Expand-Archive -Path '1.zip'... ...
分类:
系统相关 时间:
2017-09-08 20:27:47
阅读次数:
243
建立文本文档另存为csv文件,注意编码格式,否则导入后是乱码使用powellshell命令导入Import-Csv-PathE:\users.csv|foreach{new-aduser-name$_.name-SamAccountName$_.samaccountname-GivenName$_.givenname-Surname$_.surname-DisplayName$_.displayname-Path$_.path-UserPrin..
分类:
系统相关 时间:
2017-09-08 18:25:05
阅读次数:
188
Windows管理框架WMF总览Windows管理框架WMF是基于Windows的,跨服务器的一致性管理接口的架构。它包含如下特性:WindowsPowerShellWindowsPowerShellDesiredStateConfiguration(DSC)WindowsPowerShellIntegratedScriptEnvironment(ISE)WindowsRemoteManagement(WinRM)WindowsMa..
1.PAL下载地址 http://pal.codeplex.com 2.使用PAL先决条件必须满足 1)Windows PowerShell 2.0 或更高版本 2).Net Framework 3.5 Service Pack 1 3).Net Framework 3.5中的微软图标控件 以上所有 ...
分类:
其他好文 时间:
2017-09-08 00:23:16
阅读次数:
187
PS C:\Program Files\PowerShell\6.0.0-beta.6> New-Service -Name LISA_43_Dev_Batch -DisplayName LISA_43_Dev_Batch -BinaryP athName D:\ChuckLu\GitForSvn\... ...
分类:
其他好文 时间:
2017-09-07 18:12:06
阅读次数:
133
因为处理管理员模式下,所以无法拖动。 先执行命令,确保命令会记录到history里。 然后,需要另外开一个不是管理权权限的窗口来拖动, 首先键盘上的向上箭头,找到之前的命令,然后进行拖动,拖动完成之后,直接执行命令。 会提示没有权限 最后,在有管理员权限的窗口,用向上箭头找到完整命令,并进行执行。 ...
分类:
系统相关 时间:
2017-09-07 18:08:14
阅读次数:
233
1 '{0:d4}' -f 10 2 '数字的补零';{} 3 '{0:f4}' -f 10 4 '保留小数位数';{} 5 '{0:p2}' -f 0.4567 6 '转换为百分比';{} 7 '{0:x}' -f 255 8 '转换为十六进制';{} 9 '{0:X}' -f 255 10 '以... ...
分类:
系统相关 时间:
2017-09-07 00:55:44
阅读次数:
382