hi
- User
hi
- Assistant
Hello! How can I assist you today?
- User
why isnt this working (run on domain controller with domain admin priveleges) Get-WmiObject -Class "Win32_GroupUser" -ComputerName computer"",Name=""$adminGroupName""'"
- Assistant
It looks like there may be an issue with the syntax of your PowerShell command. Here is a corrected version of the command:
powershellGet-WmiObject -Class "Win32_GroupUser" -ComputerName $computer -Filter "GroupComponent='Win32_Group.Domain=""$computer"",Name=""$adminGroupName""'"Make sure you have replaced
$computerand$adminGroupNamewith the actual values you want to use in the command. Also, ensure that the computer you are running this command on has the necessary permissions to access the specified computer and group information over WMI.If you continue to experience issues, please provide more information about the error message or any specific problems you are encountering.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.