PoshBot icon indicating copy to clipboard operation
PoshBot copied to clipboard

Is it possible to only show the commands you have access to when running help.

Open delrio1110 opened this issue 8 years ago • 4 comments

delrio1110 avatar Sep 11 '18 02:09 delrio1110

With help no, but I added a new built in command with v0.11.0 called Get-MyCommands with an alias of mycommands that will only show commands you’re authorized to run.

devblackops avatar Sep 11 '18 03:09 devblackops

But maybe that could become a configurable setting for those that want to restrict Get-CommandHelp to only the commands allowed.

devblackops avatar Sep 11 '18 03:09 devblackops

I could see something like PowerShell where you have a Get-Command esque function and a Get-Help esque function? A switch on Get-CommandHelp like you mentioned might also be handy.

I'd love to see this. Would be helpful to narrow down the output. I could potentially see something for filtering out built in commands (much less important, not sure if it makes sense) - guessing we might not be the only org like this, but I'm pretty much the only one working with built in commands (and rarely at that)

Cheers!

RamblingCookieMonster avatar Oct 30 '18 01:10 RamblingCookieMonster

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 23 '19 05:08 stale[bot]