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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
minase
June 07, 2016
Programming
0
53
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
1k
kintone・PowerShell連携
minase
0
78
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
0
35
Other Decks in Programming
See All in Programming
CSC307 Lecture 02
javiergs
PRO
1
770
Patterns of Patterns
denyspoltorak
0
1.3k
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
210
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
240
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
590
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
17
6.2k
CSC307 Lecture 06
javiergs
PRO
0
680
組織で育むオブザーバビリティ
ryota_hnk
0
170
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Rails Girls Zürich Keynote
gr2m
96
14k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
88
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
KATA
mclloyd
PRO
34
15k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
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