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
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
78
PowerShellでActive Directoryを操作してみよう (グループ編)
minase
0
53
Other Decks in Programming
See All in Programming
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
110
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
150
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
160
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.7k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
440
ThorVG Viewer In VS Code
nors
0
760
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
17
6.2k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
Statistics for Hackers
jakevdp
799
230k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
Google's AI Overviews - The New Search
badams
0
900
WENDY [Excerpt]
tessaabrams
9
36k
Claude Code のすすめ
schroneko
67
210k
The Curious Case for Waylosing
cassininazir
0
230
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
A better future with KSS
kneath
240
18k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
59
42k
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