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
93
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
0
44
Other Decks in Programming
See All in Programming
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
550
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.7k
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
300
Contextとはなにか
chiroruxx
1
330
C# and C++ Interoperability - cho-dotnetnew
harukasao
0
280
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.3k
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
400
AI 輔助遺留系統現代化的經驗分享
jame2408
1
800
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
150
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
850
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Claude Code のすすめ
schroneko
67
230k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Building AI with AI
inesmontani
PRO
1
1.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
310
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
71
40k
30 Presentation Tips
portentint
PRO
1
330
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