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 06, 2016
Programming
42
0
Share
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
1k
kintone・PowerShell連携
minase
0
89
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
0
61
Other Decks in Programming
See All in Programming
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
350
🦞OpenClaw works with AWS
licux
1
350
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.8k
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.8k
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
500
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
320
実用!Hono RPC2026
yodaka
2
310
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.2k
空間オーディオの活用
objectiveaudio
0
150
20260514_its_the_context_window_stupid.pdf
heita
0
870
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
360
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
340
Site-Speed That Sticks
csswizardry
13
1.2k
The SEO identity crisis: Don't let AI make you average
varn
0
460
A better future with KSS
kneath
240
18k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
110
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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