Closed NakedPowerShell closed 5 years ago
Correction: I found the function in the code, but it does not work.
Invoke-Generate (New-NameItTemplate {[PSCustomObject]@{Company="";Name=""}}) -Count 5 -AsPSObject
Results:
Invoke-Generate (New-NameItTemplate {[PSCustomObject]@{Company="";Name=""}}) -Count 5 -AsPSObject
New-NameItTemplate : The term 'New-NameItTemplate' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:18
+ Invoke-Generate (New-NameItTemplate {[PSCustomObject]@{Company="";Nam ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-NameItTemplate:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What version of NameIT do you have?
The file required for this to work was deleted in 83160fc5316fd2f8f8a742783bc7354ee294cea0 . This will be restored in #26
In the readme.md you have several examples of New-NameItTemplate and the function is not found in the module.