You can create aliasses in PowerShell as well. But that does not allow to add parameters. It’s just a way to shorten a long name of a cmdlet.
Really? Wow. Then you could simply ignore the error!?
I’d recommend to put a little more complexity to your function by adding parameters for the command line arguments you want to process.
The available help is actually quite complete and comprehensive.
A little wile ago MSFT released a new module called " Crescendo". It makes it easier to wrap external tools into a PowerShell cmdlet.
BTW: When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.