I would like to conclude that his suggestion is right, and I solved one of the many chained problems I had. With the modification suggested by Thomas, the problem changed. Do not use the following special characters in group names: /&.
Note: I couldn't make PSColor work, and this is possibly worth a another question.Īs mentioned in a comment, after importing the module, (almost?) any cmdlet outputs Value cannot be null. Supply values for the following parameters: Group Name. (I am certain the issue is quite simple). Is this ok? If so, what should I enter? Or how do I fix this? I am working on a powershell script to export the following parameter. Supply values for the following parameters: If you dont limit the values those parameters accept, you can guarantee that. Now when I open a new session I get cmdlet New-CommandWrapper.ps1 at command pipeline position 1 I obtained the code for New-CommandWrapper from the OP (it is the same as provided by O'Reilly), placed it in file New-CommandWrapper.ps1, and dot source it in my profile.ps1. Use New-CommandWrapper, as advocated in the OP and the answer by Jon Z.Also, multiple types of alternative names are supported. Unlike Subject field, this extension allows to specify more than one name. I checked Powershell: Properly coloring Get-Childitem output once and for all. Specifies alternative names for the subject.