Powershell 中计算机的活动目录组
Active directory groups of a computer in powershell
如果 Get-ADPrincipalGroupMembership
显示用户帐户属于哪些组,您会使用什么来查找计算机?我想在 powershell 中将其显示为输出。
这个问题之前有人问过,一些解决方案发布在这些线程中:
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)
如果 Get-ADPrincipalGroupMembership
显示用户帐户属于哪些组,您会使用什么来查找计算机?我想在 powershell 中将其显示为输出。
这个问题之前有人问过,一些解决方案发布在这些线程中:
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)