Hello Everyone,
First of all i am new here and english is not my first language so i am sorry for wrong spellings in my writing.
My question is;
I need to create a custom dynamic computer group using with script. I can get users sam account name with powershell codes. What i think i need to do but dont how to do is, how can i pair samaccountname and logged on user names and create this dynamic custom computer group.
By the way, the whole thing is about i want to send an announcement to who is their password expires in 7 days. I dont want to manually set this announcement every week so I am thinking of creating a dynamic group and set this announcement periodically.
Thanks in advance to all