-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Generate splatting command from command #736
Comments
Definitely, we've thought about this in the past. @kapilmb, want to give that a shot at some point? |
@daviwil Sure. |
This is the same as #517. There was a little bit of strategic planning going on in that one, just in case it matters. |
Good catch! I'll close this one in favor of the other since it came first. Please subscribe to #517 to be notified when this feature gets implemented. |
Hi,
it would be nice to be able to create a splatting command, f.e selecting the long command -> right click -> create splatting command
Before:
Get-Process -Name explorer -ComputerName localhost -Verbose: $true -ErrorAction Stop
After the conversion it could look like this:
$params=@{
Name = "explorer"
Computername = "localhost"
Verbose = $true
ErrorAction = "Stop"
}
Get-Process @params
This is helpful if you have long commands and it makes it easier to read the code.
Thanks
The text was updated successfully, but these errors were encountered: