Skip to content

[Bug]: Get-ModuleCommand throws error on line 39 #156

@lboening

Description

@lboening

Describe the problem

Line 39 of Get-ModuleCommand.ps1 has error:

Line |
  39 |  … nctions.keys | Where-Object { $_ -like "$CommandName" } | Get-Command
     |                                                              ~~~~~~~~~~~
     | The term 'Set-LocationToFile' is not recognized as a name of a cmdlet, function, script file, or executable
     | program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
     | again.

   ModuleName: PSScriptTools [v3.0.0]

Expectation

No error

Additional Information

Using PowerShell version 7.5.1

PowerShell version

7.3

Platform

Windows 11 Home

Additional Checks

  • You are using the latest version of this module.
  • You have read this repository's README file.
  • You have read full help and examples for the command you are having problems with.
  • You are running PowerShell in an elevated session.
  • You are running in a traditional PowerShell console or Windows Terminal

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions