I am SQL DBA in current role. I have created few PowerShell commands as part of a module named SQLDBATools to carry out some basic tasks against SQL Server. Now, I wish to grant execute permission for few of those commands for another AD group like 'IT-Network-Teams'.
Kindly suggest me any blog post/article/method to carry out the task.
There's no such thing as "execute permissions" for a PowerShell command; PowerShell itself is not a security layer. Provided the people have permission to do whatever it is the command is doing, then they can execute them.
Security is not something you do on a per-command basis in Windows.