Hey dran, when I run the Get-ADGroup command and it asks me to specify the nane of the group it will list members. But when i run the script to pukl multiple groups from the .txt file it says none of the groups can be found in the specofied DC even thougb it works individually
Hi bro, did you mean that you have a text file which contains the list of security groups and you need to get the members of those each security groups?
Its just awesome 🤩.... Clean and crystal clear explanation with simple codes...Thank you so much and please keep going Maybe in each video you could put the code below it would be more helpful
Hey Dran, I need to get the local Administrators of many computers remotely that are inside some OUs from the Global Domain. Have you any tool or simple script to achieve this? Thanks in advance!
$Servers = get-content c:\temp\computers.txt $output = Invoke-command -computername $servers -scriptblock {Get-localgroupmember -group 'adminstrators'} $output | export-csv c:\temp\admins.csv -notypeinformation Hi Ale, This script will get the local admins from all the computers you mentioned in the servers.txt file and export them to a CSV file
@@drantrix3950 Hello, thank you very much for your answer and I have one more question. If the servers that I need are inside sub-OUs, will this script reach them or does it only work with the OU of servers or a direct primary OU?
I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks
I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks
I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks
want to thank you for your videos, really helped me for resolving issue export members of nested dLs
keep uploading
Thank you for the educational and interesting video!
🙂🙂
Thank you dude, awesome straight forward video made my life so much easier!
You saved my job 😁
THANKS A LOT, you saved various minutes of work
Pls make a video on usecase in powershell for Citrix
Hey dran, when I run the Get-ADGroup command and it asks me to specify the nane of the group it will list members. But when i run the script to pukl multiple groups from the .txt file it says none of the groups can be found in the specofied DC even thougb it works individually
Bro need your quick help .... if I want to find users from a text file in the groups from text file and get the members
Hi bro, did you mean that you have a text file which contains the list of security groups and you need to get the members of those each security groups?
Its just awesome 🤩.... Clean and crystal clear explanation with simple codes...Thank you so much and please keep going
Maybe in each video you could put the code below it would be more helpful
Thank you so much Klinsmann!
Thank you Bro
Osm 🎉🎉🎉Thanks a lot ..
Thank you bro!
Hey Dran, I need to get the local Administrators of many computers remotely that are inside some OUs from the Global Domain. Have you any tool or simple script to achieve this? Thanks in advance!
$Servers = get-content c:\temp\computers.txt
$output = Invoke-command -computername $servers -scriptblock {Get-localgroupmember -group 'adminstrators'}
$output | export-csv c:\temp\admins.csv -notypeinformation
Hi Ale, This script will get the local admins from all the computers you mentioned in the servers.txt file and export them to a CSV file
@@drantrix3950 Hello, thank you very much for your answer and I have one more question. If the servers that I need are inside sub-OUs, will this script reach them or does it only work with the OU of servers or a direct primary OU?
Hello! Sorry I got busy, pls let me know if you still help on this, thank you!
Super !
Btw, how do we search multiple OU’s ?
I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks
Need some urgent help please - how do you filter disabled users in those groups?
can you please help in extracting security groups from 6 different domains/servers in a single query?
I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks
I want to know owners of the group, I have 200 group. How to take it, please help
I'm sure it's been so long and you would;ve already know the answer by now. I've started becoming active in YT now. Let me know if you need help with anything else., thanks