powershell - 로컬 사용자 및 해당 그룹 나열 모든 로컬 사용자 및 관련 그룹(사용자, 파워 사용자, 관리자 등)과 함께 보고서를 작성하고 싶습니다. 나는 다음과 같은 방법으로 사용자를 얻습니다. $adsi = [ADSI]"WinNT://." $adsi.psbase.children | where {$_.psbase.schemaClassName -match "user"} | select @{n="Name";e={$_.name}} 어떻게 그들의 그룹을 회수해야 할지 모르겠어요잘 부탁드립니다.Google 사용자의 경우 사용자 목록을 가져오는 또 다른 방법은 다음과 같습니다. Get-WmiObject -Class Win32_UserAccount 출처: http://buckeyejeeps.com/blog..