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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
minase
June 06, 2016
Programming
46
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
June 06, 2016
More Decks by minase
See All by minase
IoTバス降車サポートボタンを2日間で開発した話
minase
2
440
Vue.jsでesa風Markdownエディタを作成してみた
minase
1
1.1k
kintone・PowerShell連携
minase
0
96
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
0
69
Other Decks in Programming
See All in Programming
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
330
Press start. Python's next generation.
willingc
PRO
3
150
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.1k
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.2k
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
490
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
120
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
110
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
250
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
280
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
360
不幸な GC
chencmd
0
750
信頼性の目標を誰も求めてない
shubox
0
110
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
520
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
Building AI with AI
inesmontani
PRO
1
1.2k
Making the Leap to Tech Lead
cromwellryan
135
10k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Typedesign – Prime Four
hannesfritz
42
3.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
The Mindset for Success: Future Career Progression
greggifford
PRO
0
480
Prompt Engineering for Job Search
mfonobong
0
420
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