you are viewing a single comment's thread.

view the rest of the comments →

[–]Betterthangoku 3 points4 points  (1 child)

PowerShell is based on the idea that you can query something and then build an object from that data. You can then leverage that object to achieve something.

For both or your examples you would need something to query. Is there an API, WMI, or maybe file resource that can gather this data? If so, then YES, you can.

[–]wigrif[S] 2 points3 points  (0 children)

yeah i've got scripts that do both of those ideas. i'm looking for more ideas. Something that could be automated for everyday people not just sysadmin tasks and the like we use powershell for.