Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Permissions Map

$
0
0

I inquired about multiple switch parameters and how to deal with them about 2 days ago, to which I received amazing feedback. I wanted to provide everyone with what came of that.

I built a function, then used PowerShell Studio to ‘wrap’ it in a GUI (about 98% completed).

This function maps permissions, based upon user provided criteria, and spits out a nice css backed .html report. A report is also generated if there are errors, such as ‘Access is Denied’, etc…

*** THE REPORTS ARE BEST VIEWED IN CHROME, IE PROMPTS ACTIVE-X FOR CONTENT ***

Standalone function (with comments):

http://pastebin.com/txQCw7je

Standalone function (without comments):

http://pastebin.com/Hk0pUUjW

GUI: (run with powershell)

http://pastebin.com/404HM7eD

Thanks again, /r/powershell

submitted by /u/oze4
[link] [comments]

The post Permissions Map appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles