IIS配置(安装IIS、.Net、更改IIS Log目录位置)
摘要:#安装IIS、.NetFramework 3.5Import-Module servermanagerGet-WindowsFeature web-* | ? {$_.Name -ne "Web-WHC" -and $_.Name -ne "Web-Ftp-Server" -and $_.Name ...
阅读全文
posted @
2015-06-30 16:41
momingliu11
阅读(1291)
推荐(0) 编辑
批处理当前脚本所在路径
摘要:echo所在完整路径:%~dp0echo文件名为:%~n0.batpowershell.exe "%~dp0\NewADUserInfo_CopyToDC.ps1"
阅读全文
posted @
2015-06-29 16:12
momingliu11
阅读(485)
推荐(0) 编辑
将Excel另存为CSV格式文件
摘要:直接将Excel另存为CSV,速度很快:$CurrentPath = $MyInvocation.MyCommand.Path.substring(0,$MyInvocation.MyCommand.Path.LastIndexOf('\')+1)$NewADUserInfo_excel = Joi...
阅读全文
posted @
2015-06-26 11:51
momingliu11
阅读(1758)
推荐(0) 编辑