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
0
43
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
June 07, 2016
Tweet
Share
More Decks by minase
See All by minase
IoTバス降車サポートボタンを2日間で開発した話
minase
2
430
Vue.jsでesa風Markdownエディタを作成してみた
minase
1
980
kintone・PowerShell連携
minase
0
69
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
0
30
Other Decks in Programming
See All in Programming
新世界の理解
koriym
0
130
GUI操作LLMの最新動向: UI-TARSと関連論文紹介
kfujikawa
0
870
AIコーディングエージェント全社導入とセキュリティ対策
hikaruegashira
16
9.8k
decksh - a little language for decks
ajstarks
4
21k
オホーツクでコミュニティを立ち上げた理由―地方出身プログラマの挑戦 / TechRAMEN 2025 Conference
lemonade_37
2
460
CEDEC2025 長期運営ゲームをあと10年続けるための0から始める自動テスト ~4000項目を50%自動化し、月1→毎日実行にした3年間~
akatsukigames_tech
0
120
202507_ADKで始めるエージェント開発の基本 〜デモを通じて紹介〜(奥田りさ)The Basics of Agent Development with ADK — A Demo-Focused Introduction
risatube
PRO
6
1.4k
書き捨てではなく継続開発可能なコードをAIコーディングエージェントで書くために意識していること
shuyakinjo
1
270
kiroでゲームを作ってみた
iriikeita
0
160
Scale out your Claude Code ~自社専用Agentで10xする開発プロセス~
yukukotani
9
2k
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2.1k
Go製CLIツールをnpmで配布するには
syumai
2
1.2k
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
183
54k
Git: the NoSQL Database
bkeepers
PRO
431
65k
Building Applications with DynamoDB
mza
96
6.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
20k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
What's in a price? How to price your products and services
michaelherold
246
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Music & Morning Musume
bryan
46
6.7k
YesSQL, Process and Tooling at Scale
rocio
173
14k
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