Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PowerShellでActive Directoryを操作してみよう (グループ編)
Search
minase
June 07, 2016
Programming
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
June 07, 2016
More Decks by minase
See All by minase
IoTバス降車サポートボタンを2日間で開発した話
minase
2
440
Vue.jsでesa風Markdownエディタを作成してみた
minase
1
1k
kintone・PowerShell連携
minase
0
94
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
0
44
Other Decks in Programming
See All in Programming
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
240
エンジニアにデザインハーネスを 〜デザインプロセスを規定するためのハーネス〜 / Design harness from an engineer's perspective
rkaga
2
1.4k
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
220
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
160
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
4k
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
200
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
480
スマートグラスで並列バイブコーディング
hyshu
0
290
The Bowling Game- From Imperative to Functional Programming - Part 1
philipschwarz
PRO
0
310
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
210
フィードバックで育てるAI開発
kotaminato
1
110
Creating Composable Callables in Contemporary C++
rollbear
0
200
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
260
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Everyday Curiosity
cassininazir
0
250
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
390
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
Automating Front-end Workflow
addyosmani
1370
210k
WENDY [Excerpt]
tessaabrams
11
38k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
220
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Transcript
None
None
• • •
• • Set-ExecutionPolicy RemoteSigned Import-Module ActiveDirectory
• • • Get-ADGroup -Filter * Get-ADGroup -Filter * -SearchBase
'OUのDN' Get-ADGroup -Filter {Name -like "*開発管理部*"}
•
• • Get-ADGroupMember -Identity 'TestGroup' Get-ADGroupMember -Identity 'TestGroup' | Select-Object
{$_.SamAccountName}
• New-ADGroup -Name 'TestGroup' ` -Description 'test' ` -GroupScope Global
` -GroupCategory Security ` -Path '作成先OUのDN'
• • • • Set-ADGroup -Identity 'TestGroup' -Description 'Change' Rename-ADObject
-Identity 'グループのDN' -NewName 'TestGroup' Set-ADGroup -Identity 'TestGrop' -GroupCategory Distribution Get-ADGroup -Identity 'TestGroup' | Set-ADGroup -Description 'change'
• • • Remove-ADGroup -Identity 'TestGroup' Remove-ADGroup -Identity 'TestGroup' -Confirm:$false
Get-ADGroup -Identity 'TestGroup' | Remove-ADGroup
• • • • Add-ADGroupMember -Identity 'TestGroup' -Members minase,isami Remove-ADGroupMember
-Identity 'TestGroup' -Members yamashita Get-ADGroup -Identity 'TestGroup' | Add-ADGroupMember -Members yamashita Get-ADGroup -Identity 'TestGroup' | Remove-ADGroupMember -Members isami
None