gpt-3.5-turbo-0125· OpenAI
WildChat-4.8M (AI2)
why isnt this working (run on domain controller with domain admin priveleges)…
- User
why isnt this working (run on domain controller with domain admin priveleges) Get-WmiObject -Class "Win32_GroupUser" -ComputerName computer"",Name=""$adminGroupName""'"
- Assistant
It appears there may be an issue with the syntax of the command. Try removing the quotes around the computer name and admin group name variables. Additionally, make sure the adminGroupName variables are properly defined before running the command.
Here is an updated version of the command:
Get-WmiObject -Class "Win32_GroupUser" -ComputerName computer',Name='$adminGroupName'"