ก่อนนำไปประยุกต์ใช้ให้เข้าใจตรงกันก่อนนะครับ
Domain = demo.local
คำสั่ง PowerShell เพื่อเปลี่ยน List User Account
Get-Help Get-ADUser -Parameter Properties(พิมพ์คำสั่งนี้เพื่อดูตัวอย่างการใช้งานคำสั่ง –Parameter ของ Get-ADUser)
Get-ADUser -Filter 'office –eq ”BKK"' –Properties Office,StreetAddress,City,State,Country,PostalCode | Format-Table SamAccountName,Office,StreetAddress,City,State,Country,PostalCode (พิมพ์คำสั่งนี้เพื่อให้...