码迷,mamicode.com
首页 >  
搜索关键字:poweshell    ( 15个结果
11. PoweShell - 函数
PowerShell函数介绍PowerShell脚本中,可以将常用的代码块集成在一个函数内,这样提高脚本的高可用性和易维护性;当需求变化发生时候,只需改进或删除对应的代码块即可;代码块即函数;函数使用”$input”变量来从管道中获取信息;函数,在获取数据时,$input变量会接受所有的..
分类:系统相关   时间:2015-04-28 00:09:41    阅读次数:220
1. Poweshell - What's windows powershell
1.WhatisWindowsPowerShellWindowsPowerShellisanewWindowscommand-lineshelldesignedespeciallyforsystemadministrators.TheWindowsPowerShellincludesaninteractivepromptandascriptingenvironmentthatcanbeusedindependentlyorincombination.Unlikemostshells,whichacceptan..
分类:Windows程序   时间:2015-04-24 10:46:21    阅读次数:173
Poweshell修改AD账号属性
Poweshell修改AD账号属性最近项目中需要对大批量AD用户属性进行修改,如电话、手机等不唯一属性。顺便整理了个用户属性对应AD字段信息,方便查看。1.常规属性2.地址属性3.电话属性4.组织属性--------------------------------------------------------------------------------..
分类:系统相关   时间:2015-01-10 06:39:14    阅读次数:675
PowerShell AD域管理命令-示例(陆续添加)
获取密码即将过期用户的信息,90天有效期的话,获取过期前7天的密码Get-ADUser-filter*-searchbase"ou=kewendangdang,dc=dangdang,dc=com"-Properties*|where{($_.passwordlastset-lt(Get-Date).adddays(-83))-and($_.passwordneverexpires-ne"True")}|selectname,samaccountna..
分类:系统相关   时间:2014-10-17 19:02:54    阅读次数:205
Powershell 功能函数大全(Sharepoint 2013/2010)
1. Poweshell 对 Site Column的完整操作 2. Powershell 对 Content Type的完整操作 3. Powershell 对 List 的完整操作 4. Powershell 对 Web Part(页面)操作 5. Powershell 对 Security Group操作...
分类:其他好文   时间:2014-07-09 12:29:39    阅读次数:372
15条   上一页 1 2
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!