import-module OperationsManager can't find files on an agent managed computer

Brian W 121 Reputation points
2024-04-24T13:58:30.3066667+00:00

I just recently upgraded to SCOM 2022 UR2, but this happens on an agent I did not upgrade from 2019 UR4. from the powershell console:

PS C:> import-module operationsmanager

import-module : The specified module 'operationsmanager' was not loaded because no valid module file was found in any

module directory.

At line:1 char:1

  • import-module operationsmanger
  • 
        + CategoryInfo          : ResourceUnavailable: (operationsmanger:String) [Import-Module], FileNotFoundException
    
        + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
    
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
838 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AlexZhu-MSFT 5,551 Reputation points Microsoft Vendor
    2024-04-25T06:47:37.0533333+00:00

    Hi,

    There are extra steps if you want to install SCOM PowerShell Modules without installing SCOM Console. For details, please refer to this article.

    Regards,

    Alex

    0 comments No comments