标签: powershell active-directory
如果Get-ADPrincipalGroupMembership向我显示用户帐户所在的群组,您会用什么来查找计算机?我想在powershell中将其显示为输出。
Get-ADPrincipalGroupMembership
答案 0 :(得分:1)
之前曾问过这个问题,并在这些主题中发布了一些解决方案:
I need a script to detect if a computer is in an active directory user group
PowerShell: Get membership info for a computer account (not a user account)