Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PowerShellでActive Directoryを操作してみよう (ユーザ編)
Search
minase
June 06, 2016
Programming
0
35
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
June 06, 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
77
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
0
52
Other Decks in Programming
See All in Programming
認証・認可の基本を学ぼう前編
kouyuume
0
260
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
280
チームをチームにするEM
hitode909
0
370
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
310
認証・認可の基本を学ぼう後編
kouyuume
0
250
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
2
520
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
410
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
2.9k
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.4k
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.7k
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
200
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
527
40k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
96
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
92
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
190
SEO for Brand Visibility & Recognition
aleyda
0
4.1k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
72
Balancing Empowerment & Direction
lara
5
810
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
140
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
81
Context Engineering - Making Every Token Count
addyosmani
9
540
Unsuck your backbone
ammeep
671
58k
Transcript
None
• • •
• Set-ExecutionPolicy RemoteSigned • Import-Module ActiveDirectory
• • Get-ADUser -Filter * • Get-ADUser -Filter * -Properties
EmailAddress • Get-ADUser -Filter * -SearchBase DN • Get-ADUser -Filter {name -like "水無瀬*"}
None
• • New-ADUser ` -Name "水無瀬 忠正" -UserPrincipalName "
[email protected]
" `
-SamAccountName "minase" ` -Enabled $true ` -Surname "水無瀬" ` -GivenName "忠正" ` -DisplayName "水無瀬 忠正" ` -PasswordNotRequired $true ` -Path DN
• • Set-ADUser ` -Identity "minase" ` -EmailAddress "
[email protected]
" •
Get-ADUser ` -Filter {name -like "水無瀬*"} ` | Set-ADUser -EmailAddress "
[email protected]
"
• • Remove-ADUser "minase" • Remove-ADUser -Identity DN • Get-ADUser
` -filter {SamAccountName -eq "minase"} ` -SearchBase DN ` | Remove-ADUser
None