Hi Scripts guys,
I am new to powershell . I would like to achieve the following :
1. to check e.g if current logon user is member of .e.g. to domain1\group1
if yes then execute another
a. do a subst of a: to d:
b. follow by executing the 2nd cmd e.g execute.ps1
else exit and
proceed with execute.ps1
please advice how best to achieve this ? Thanks in advance for your help :)