powershell for user rights assignment settings export
are there any functions in powershell that could be used to export the user rights assignment settings and users from a windows server into a csv/text file? I used to use an application called WINAUDIT but it seems a little faulty on newer versions of windows server.