tag:blogger.com,1999:blog-5384857.post1555699631270046494..comments2023-10-10T03:52:55.494+01:00Comments on Under The Stairs: PowerShell Audit Reports – Turning Great Scripts Into a ModuleUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5384857.post-43911777977789090032009-01-14T20:11:00.000+00:002009-01-14T20:11:00.000+00:00Thanks for the introduction on modules for v2 Thom...Thanks for the introduction on modules for v2 Thomas.<BR/><BR/>-DillonDillonhttps://www.blogger.com/profile/11839911989694763340noreply@blogger.comtag:blogger.com,1999:blog-5384857.post-69937958588119217202009-01-06T14:49:00.000+00:002009-01-06T14:49:00.000+00:00Hi Thomas,Thanks for this - and for the other arti...Hi Thomas,<BR/><BR/>Thanks for this - and for the other articles on modules - very useful!<BR/><BR/>You can export multiple functions from the module using "Export-ModuleMember" in the psd1 file (you don't need to do it in the manifest).<BR/><BR/>See here:<BR/>http://chrisjwarwick.spaces.live.com/<BR/><BR/>Where I've written some ISE editor functions in a module using the hints from your previous article:-)<BR/><BR/>PS. Watch out for the Get-RecursiveGroupMembership function - looking at the code there's no check for mutually nested groups (A belongs to B belongs to A) so in these cases the function will loop until it hits the recursion limit (99-ish afaik).<BR/><BR/>Cheers,<BR/>ChrisChris Warwickhttps://www.blogger.com/profile/06557285166626447886noreply@blogger.com