[PSS 2017] Copy Encoded Command

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Locked
User avatar
Bosparan
Posts: 282
Joined: Sun Mar 03, 2013 12:45 pm

[PSS 2017] Copy Encoded Command

Post by Bosparan » Tue Jun 13, 2017 3:25 am

Hi,

one of the things I occasionally have to do is encode a command for use with powershell.exe's -EncodedCommand parameter (especially when setting up a task).
I've worked around that by creating a function "Encode-Command" to make that faster. However ... it would be even more convenient if I could just mark a piece of code > right click > "Copy Encoded Command" and have it ready in the clipboard.

Shouldn't be hard to implement technically, on the other hand, the menu is already fairly bloated ...
Maybe instead create an option "Copy ..." that expands into a second menu with various specialty copy options (such as the already existing Copy html)

Cheers,
Fred

User avatar
davidc
Posts: 5543
Joined: Thu Aug 18, 2011 4:56 am

Re: [PSS 2017] Copy Encoded Command

Post by davidc » Tue Jun 13, 2017 7:26 am

We have discussed including a Base64 encoding option in PowerShell Studio before. Here is another reason users might use the feature. I will bring this up with the team.

Thank you for the feedback.
David
SAPIEN Technologies, Inc.

Locked