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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
minase
June 06, 2016
Programming
0
41
PowerShellでActive Directoryを操作してみよう (ユーザ編)
minase
June 06, 2016
Tweet
Share
More Decks by minase
See All by minase
IoTバス降車サポートボタンを2日間で開発した話
minase
2
440
Vue.jsでesa風Markdownエディタを作成してみた
minase
1
1k
kintone・PowerShell連携
minase
0
87
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
0
59
Other Decks in Programming
See All in Programming
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
250
AI活用のコスパを最大化する方法
ochtum
0
340
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
230
飯MCP
yusukebe
0
390
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
660
Codex の「自走力」を高める
yorifuji
0
1.3k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
430
ファインチューニングせずメインコンペを解く方法
pokutuna
0
200
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
310
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
180
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
0
300
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Building Applications with DynamoDB
mza
96
7k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
420
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
200
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
The SEO Collaboration Effect
kristinabergwall1
0
410
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Un-Boring Meetings
codingconduct
0
240
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
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