{"url":"https://gd-pishi.hatenablog.com/entry/2025/09/20/211813","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgd-pishi.hatenablog.com%2Fentry%2F2025%2F09%2F20%2F211813\" title=\"PowerShell\u3067Active Directory\u30e6\u30fc\u30b6\u30fc\u306eOU\u3092\u8abf\u3079\u308b\u65b9\u6cd5 - \u30d4\u30c3\u30b7\u30fc\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Active Directory\u3067\u3001\u305f\u307e\u306b\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u304c\u3069\u306eOU\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u5206\u304b\u3089\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308b\u3002Active Directory\u7ba1\u7406\u30bb\u30f3\u30bf\u30fc\u304b\u3089\u8abf\u3079\u308b\u65b9\u6cd5\u3082\u3042\u308b\u304c\u3001\u4eca\u56de\u306fPowerShell\u3067\u8abf\u3079\u308b\u65b9\u6cd5\u3092\u7c21\u5358\u306b\u7d39\u4ecb\u3059\u308b\u3002 \u30b3\u30de\u30f3\u30c9\u4f8b Get-ADUser\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u4f7f\u3046\u3002 \u4f8b\u3048\u3070\u30e6\u30fc\u30b6\u30fc\u300cuser01\u300d\u304c\u3069\u306eOU\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002 Get-ADUser -identity user01 DistinguishedName\u306b\u3001\u767b\u9332\u3055\u308c\u3066\u3044\u308bOU\u304c\u8868\u793a\u3055\u308c\u308b\u3002 \u304a\u308f\u308a\u306b OU\u304c\u4f55\u500b\u3082\u3042\u308b\u3068\u30e6\u30fc\u30b6\u30fc\u3092\u3069\u306eOU\u306b\u767b\u9332\u3057\u305f\u304b\u5fd8\u308c\u304c\u3061\u306b\u306a\u2026","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/gd-pishi/","provider_name":"Hatena Blog","author_name":"gd-pishi","provider_url":"https://hatena.blog","categories":["PowerShell","\u30b5\u30fc\u30d0"],"image_url":null,"published":"2025-09-20 21:18:13","type":"rich","blog_title":"\u30d4\u30c3\u30b7\u30fc\u306e\u30e1\u30e2\u5e33","version":"1.0","blog_url":"https://gd-pishi.hatenablog.com/","title":"PowerShell\u3067Active Directory\u30e6\u30fc\u30b6\u30fc\u306eOU\u3092\u8abf\u3079\u308b\u65b9\u6cd5"}