thekamilpro / kppwpush

PowerShell module for pwpush.com API
MIT License
9 stars 0 forks source link

Commands not recognized #7

Closed CharEmMech closed 6 days ago

CharEmMech commented 4 months ago

I installed the module, imported the module and your commands are available through auto discover in the session however parameter tab completion fails and cmdlets are not recognized.

PS S:> Import-Module kppwpush PS S:> New-Pwpush -payload "yo" New-Pwpush : The term 'New-Pwpush' 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:1

PS S:> Get-Command new-pwpush Get-Command : The term 'new-pwpush' 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:1

PS S:> Get-Module kppwpush

ModuleType Version Name ExportedCommands


Script 1.3.1 kppwpush {Connect-KpPwpush, Get-KpPwpush, Get-KpPwpushActive, Get-K...

PS S:> Get-Module kppwpush | select -ExpandProperty exportedcommands

Key Value


Connect-KpPwpush Connect-KpPwpush Get-KpPwpush Get-KpPwpush Get-KpPwpushActive Get-KpPwpushActive Get-KpPwpushExpired Get-KpPwpushExpired Get-KpPwpushPreview Get-KpPwpushPreview Get-KpPwpushUrl Get-KpPwpushUrl Get-KpPwpushUrlActive Get-KpPwpushUrlActive Get-KpPwpushUrlExpired Get-KpPwpushUrlExpired Get-KpPwpushUrlPreview Get-KpPwpushUrlPreview Invoke-KpPwpushRequest Invoke-KpPwpushRequest New-KpPwpush New-KpPwpush New-KpPwpushUrl New-KpPwpushUrl Remove-KpPwpush Remove-KpPwpush Remove-KpPwpushUrl Remove-KpPwpushUrl

thekamilpro commented 4 months ago

Hi @CharEmMech all commands have a prefix of Kp hence in your example you'd like to run New-KpPwpush