PoShMon icon indicating copy to clipboard operation
PoShMon copied to clipboard

Different Behavior Import-Module vs src psd1 code

Open Mr-W1nst0n opened this issue 3 years ago • 1 comments

Hello,

I was trying to implement PoShMon to monitor SP2019 and OOS service for testing purpose.

I noticed there are some differences in the module depending on the download location.

If you download the module from PowerShell Gallery:

  • function Invoke-SPMonitoring is not present
  • function Invoke-OOSMonitoring is not finding one resource for Get-OOSTest

If I try to download the src code after calling directly psd1 I don't have this issue

Mr-W1nst0n avatar Dec 02 '20 18:12 Mr-W1nst0n

just seen I missed this message!

Are you sure you downloaded the latest version from PS Gallery?

HiltonGiesenow avatar Feb 14 '21 10:02 HiltonGiesenow