PS AD命令之remove-adgroup!

??

我们通常会有一个场景,就是需要删除我们的一个用户组,这个用户组可能是安全组,也可能是通讯组,删除单个用户组我们可以使用如下的命令完成:

Remove-adgroup-identity adgroup

这样一条命令就将我们的AD组给删除掉了。

Remoue一nDGrouP一Identit夕adgroup 缸块 =。d,,。u色ou=iine,Dc=piiot,。c=c。。”执行操 [。]全是(。>[N]否<N>[L]全否(L>[s 执行此操作? 作“Re ]挂起 n0Ueo :," src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAESCAIAAACNdG3JAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACa8SURBVHhe7d1dsCVXddjxqzv6uGCBZkCWR+ajMjGxM0IIz/BlZHCisXFVlEql0IPjInZSKRwnruQJYj8Emwc8fsGxKyZ2le2UUF6gUpUgkiIljJMIE1RSqqjSYCQ0FmANkYQ0Go2YCwLm6mNmsu5Z+y6tu7+6+5zuc8/p8/9V12H32qv33t2nTy/OnTujyy5dunTywROHbzwir2tra0ffe7u8qg/+/vsPXL1x5ND1WyGwtvZi+F+ztbX2iS/ef9fv36m757/+h/L6sr/1r7O7KU1IRSOkKmPOrjSpGnRq9K7rPYk58++I/+j594g3EVOolbdD/+TYv/vlYyfPbh2+duPQ1Rt3P761+eJOpXtxY+3yrY21jeuvXrv98/ffu7u8VcgdmeZY0DcmPZn7OI20l07tZcecZTrsuX7vHwyhzacyetd4E9FGrbzd+oHbbn3bDaeePX/zoQO3/o39p7639skHT5/TL3AvbL8cuGJt44Xzp05v3v7h7aPsnvP3q+36ezHKzDbkVehuyo/Wnh+81I5UulLpau3A6cZpmd9VtM6BZlHpXO3Pzh9rydlgVjS18LOrNiM0rrNkxsMjlZX3O9Gc+cX7c8yeYHQR1JKeOIa2Hv435/prD0htO/29rbtPnbv78c1DV6/d+ob98vVt89m1za21JzfPn39WXkNtM9H9Z7vSyN6awudow8iNm91C9/LotOyhT9DG10bpfZmdjh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496cek9e//v4PJCIJmmwNAEuB8oYVpbVKq5q44NiudgkKG7B0KG9YXVq05DUUsQktbCLsuy9wAJYI5Q0rTeuWFjCpZFrV/Kt2WSaAZUF5w6rTAia0mMmrsojmaDKAZUF5A7ZJAasISQCWB+UNeEmoZjtCFMASorwBAEaI8gYAGCHKGwBghChvAIARorwBAEaI8gYAGCHKGwBghChvAIARorwBAEaI8gYAGCHKGwBghChvAIARorwBAEaI8gYAGCHKGwBghChvAIARorwBAEZo/fCNR0ITAICx4NsbAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGCEKG8AgBGivAEARojyBgAYIcobAGB01tb+P2K3rqx/HhMsAAAAAElFTkSuQmCC" />

接下来我们结合我们的get-adgroup 来将用户的组批量的删除:

Get-adgroup-searchbase "ou=line,dc=pilot,dc=com" -searchscope subtree -filter *|remove-adgroup

filter并 get一adgroup一SearchBase‘ou=line,dc=pilot,dc=com”一searchscopesubtree :Renove一nDGroup一Confirn:车false- 万几\\ \\\, \、 \、\、 u三匕l土工二t 上土 八产.4护.r产1r4产七口硒 产尸,r甲冲才卜卜" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAADCCAIAAADYeq1GAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACAnSURBVHhe7d1tkFzVfedxaWakGckSEgKEbAwOTwaxIrZAi5EC3mJYJ8QpnDhFNlVxarPlVO2DK7vrF9ndqjXrqrWV3bKdF4njTXBeJK7a2H6TiKq1oTaLNWTjFPYmRgL0xIMeACEkIbAkkDQz0mi0/+7/fw6He889fU/37Z6+Pd+P28fnnnv+595+mO6fe4bLoks5e3ft0FZuW7+0dfy+8eDgIg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gsK7EUHnZOjzqk+ta1Vzf4ObI2TTb1Vzz7u1btC1qrmzwbab/BMAOqSvJSWb/ktX+m6Oa0VwTlDLObLXtaLkyrLXtRn+YGZCvio/0gNyOL2bto0B0vIVlZkgHTci4j9N/Wzgfr9w5j1fFTS+RRjzv0Vo7M3MceRZdPKbyrbfO0F3CduekxnUTWHbTTbUlB8B2qAvJCczqJvCtotHgm9tOkHoZpk5wrZzM302o2A122huWq9J9wrbLnesCjU/AuxBkFY3dRcGQ/PV1GDbObZ77jWQoXPqaNDywakzp6yn3xxI2wwDzW8RxppBYcqfA6BImbe2Wr/9dUijQPMj4N0HQTd1lw0B9dRHX31Ucn2kh//zw9aL2vrftloPAADkDFo+AAAAnRvYf34BAAC0jXwAAACyyAcAACCLfAAAALLIBwAAIGvQ8sGP/u5Hcps6M+U6E09O/OjH1rFJAAAgagC/P9h898adz+y8/meu185tN9+2edPGp/7hqctXXj7xBBEBAIDWBvP3C9fftL5xtUSvc9v6O6ZmprZs3kJEAACgpUHLB5OTk9Kuu3JMbpmO7HrqR09Jn4gAoD/Fr8qc2cslnNFVC+jvE8fv3bJl85bb1t9m2wBKK/NRxMdV5/Tf3WAbBXic0RuDdn3liScmLr+2RQI4eXTv+H3jtlEp93ObeVRlvH8eZywE+Zdi8MXpvzLdBNVymj9B+HNEflM7maqMTJUKDvraq6qEu19CD5cZ0U1/V/BUrVfAlRd10G3xh9o9gzLH9Z36Pkd99PKqKh+M37tl0YhtBk08+dT4J7qSD1R7P7T8qKMq/mtJ+/kR7UibH8/zS4rmZ3ZJG5yZqfJlqlRw0NdeVSX8+6L9/EiwE5Tfmxnx19ERX2RldEgf8Pgj7D87RZ3a6aPzriQfPP69x99/8x22UeDk4b3kAwww/7Wk/fxIvJ/hdkXmxzedonEVXKTlymWquqHlmSg3GD+l+GrSl1Y2M4ORBVGhlg+1Tgg+O3V9mhYt+v/HySSOfCWBgwAAAABJRU5ErkJggg==" />

执行命令即可删除掉这些用户组。

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-12 14:56:33

PS AD命令之remove-adgroup!的相关文章

PS AD命令之Add-ADGroupMember

?? 上面我们创建了我们的活动目录组,但是里面是空的呀,接下来我们就必须向里面添加成员了,不然总是个空的组肯定不行啊.所以我们需要将相应的用户添加进来,怎么添加呢?Fellow Me 我们先来看看需要执行的命令: 很简单,我们只要执行简单的命令就可以将我们的用户添加到我们的组中,我们看下针对单个用户组的: Add-adgroupmember -identity it -members lirun,lisi 即可完成: ndd辱DG"oupHe"be"一Identit, :.&

PS AD命令系列 之new-adcomputer命令!

?? New-adcomputer和new-aduser 主要是对象的不同,Adcomputer是活动目录的计算机对象,而aduser 是用户. 计算机的对象相对有比较少的对象,当我们创建计算机对象的时候就没有需要特别多一些属性设置,所以创建起来也非常简单. 我们先来个简单的场景,就是在OU名称为IT的下面创建计算机名称为xupengComputer1的对象,我们执行下面的命令就可以创建了: New-adcomputer-name xupengcomputer1 -path "ou=it,dc=

PS AD命令之Remove-adcomputer!

?? Remove-adcomputer 是一个删除计算机的命令,执行比较简单,执行格式如下: Remove-adcomputer-identity raymondpc RerIOUe一ADcomputer一Identit,r已,mDndpc,一刀 _口l> 二人ctiveDirectory用户和计算御 田口保存的查询 曰自pi10t·co. 口万uiltin 口comput"rs 团D.mainController: 口r.rei娜ec二ityFrincir 团工T 口..a'edSer

linux ps top 命令 VSZ,RSS,TTY,STAT, VIRT,RES,SHR,DATA的含义

linux ps top 命令 VSZ,RSS,TTY,STAT, VIRT,RES,SHR,DATA的含义 linuxpstop http://javawind.net/p131 VIRT:virtual memory usage 虚拟内存 1.进程“需要的”虚拟内存大小,包括进程使用的库.代码.数据等 2.假如进程申请100m的内存,但实际只使用了10m,那么它会增长100m,而不是实际的使用量 RES:resident memory usage 常驻内存 1.进程当前使用的内存大小,但不包

PS快捷键命令大全

PS快捷键命令大全    先列举几个本人在P图过程中经常用的~    打开已有的图像 [Ctrl]+[O] 保存当前图像 [Ctrl]+[S] 另存为... [Ctrl]+[Shift]+[S] 还原/重做前一步操作 [Ctrl]+[Z] 一步一步向前还原 [Ctrl]+[Alt]+[Z] 拷贝选取的图像或路径 [Ctrl]+[C] 自由变换 [Ctrl]+[T](使用频率很高) 打开曲线调整对话框 [Ctrl]+[M] 补充下面没有的: 盖印可见图层 [Ctrl]+[Alt]+[Shift]+

Linux ps aux 命令详解

ps aux 命令产生的进程信息的各字段含义 字段 含义 USER 进程创建者的用户名 PID 进程的ID号 %CPU 进程占用百分百比 %MEM 进程占用内存百分比 VSZ 进程占用虚拟内存百分比 RSS 内存中页的数量(页是管理内存的单位,在PC上统称4K)  TTY  进程所在终端的ID号  STAT 进程状态对应的字母: R:正在运行/可运行D:睡眠中(不可被唤醒,通常在等待I\O设备) S:睡眠中(可以被唤醒) T:停止(由于收到信号或者被跟踪) Z:僵进程(已经结束但是没有被释放系统

linux下的进程管理(进程的基本了解及查看pstree,ps,pgrep命令)

Linux下的进程管理 1.什么是进程?程序是静态的文件进程是运行中的程序的一个副本进程存在生命周期(准备期,运行期,终止期)2.进程状态 状态 定义 R(TASK_RUNNING) . 可执行状态(RUNNING,READY)running:正在被处理 ready: 在排队, cpu处理进程个数有限 S(TASK_INTERRUPTIBLE) 可唤醒状态 :在cpu上使用的时间超时,此时被打入休眠状态,随着程序的调用会被唤醒 D(TASK_UNINTERRUPTIBLE) 不可唤醒状态 T(T

PS AD系列命令之new-aduser 新建用户命令!

New-aduser 1.当我们仅仅需要建立用户的时候,我们只写下面这个命令就好了,New-aduser-name raymond 新建用户名是raymond 的单个用户,但是奇怪的是,我们的用户是被禁用的,为什么呢?很简单,因为他没有密码属性 2.如果我们需要建立一个启用的账户,并且有完整的用户信息,下面的信息可以参考下: 我们希望建立一个拥有姓名-姓-名-登录名词-UPN-显示名称-创建用户的OU  账户密码,这些属性,这个怎么办,很多人犯愁了.其实也好办,利用powershell,很简单就

PS 之AD命令 之Remove-ADGroupMember!

?? 前面讲了添加成员,接下来我们来讲讲删除我们组的成员,首先还是一样的讲删除单个成员和多个成员,我们执行如下的命令完成相关的删除操作: Remove-adgroupmember-identity linegroup -members line1,line2 Renoue一ODGrouPHeober一Identit夕linegroup一Henberslinel, 翼薯,:,执行止匕操作? X丁日怀"cH=Linegroup,ou=line [兰丹.匙丫.>,,Ie.,全是<"