$pshome :powershell的主目录$profile :显示 Windows PowerShell 配置文件的路径test-path $profile :确定是否已经在系统上创建了 Windows PowerShell 配置文件powershell.exe 主机配置文件(在 Windows...
分类:
系统相关 时间:
2014-10-30 17:00:25
阅读次数:
210
作为一个大公司的IT管理人员,最痛苦的是每天创建、禁用、删除好几十个人员用户信息,目前我们通过程序批量创建域用户,但是离职用户的相关信息禁用及删除,需要我们手动来完成,之前文件介绍了,我们通过powershell来对指定的用户禁用及移动到指定的OU下,今天我们就通过vbs来..
分类:
移动开发 时间:
2014-10-30 15:33:59
阅读次数:
280
Environment: Exchange 2010 SP2 + Outlook 2010Adding delegate is actually not that easy i thought, at least not just one command to complete everything...
分类:
系统相关 时间:
2014-10-30 15:15:58
阅读次数:
439
This arctical will be published in English also -http://www.cnblogs.com/LarryAtCNBlog/p/4062593.html环境Exchange 2010 SP2 + Outlook 2010加delegate其实并不是一条...
分类:
系统相关 时间:
2014-10-30 15:11:32
阅读次数:
330
本次扩展工具我们继续带来SharePoint2013的扩展命令New-SPUserProfile该命令将允许你在指定的“我的网站”宿主站点创建指定用户的个人配置文件如下图Get-SPUserProfileServiceApplication该命令将获取场中的UserProfileServiceApplication如下图本次发布扩展工具包含之前版本更..
分类:
系统相关 时间:
2014-10-29 19:38:54
阅读次数:
293
查询PowerShell当前版本$psversiontable.BuildVersion.Major查询Windows当前版本:[System.Environment]::OSVersion.Version.Major([string]::concat((cmd /c "ver"))).split(...
分类:
系统相关 时间:
2014-10-28 17:33:35
阅读次数:
720
===============================================================在最新版本的DPM2012R2中,包含非常丰富的关于DPM服务器的powershell命令行管理程序,面对如此众多的DPMpowershellcmdlet,我们应该如何快速获取自己想要的管理程序呢,本文就来一一揭晓。我教给大家的不是具..
分类:
系统相关 时间:
2014-10-21 19:57:46
阅读次数:
385
1 $NewUserPath = ".\Office365AddUserToGroup.csv" 2 3 $NewUsers = import-csv $NewUserPath 4 5 foreach ($NewUser in $NewUsers) { 6 $Mail=$NewUser.Mai...
分类:
系统相关 时间:
2014-10-21 10:12:50
阅读次数:
263
1 #$Mails=get-mailbox -ResultSize 10 2 $Mails=get-mailbox -ResultSize Unlimited 3 $Mails | Measure-Object 4 5 $i=0 6 7 foreach ($Mail in $Mails) 8...
分类:
系统相关 时间:
2014-10-21 10:04:59
阅读次数:
472
The article shows how to download and upload VHD to Azure.http://michaelwasham.com/windows-azure-powershell-reference-guide/uploading-and-downloading-...