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

Brian W 121 Reputation points

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.
858 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AlexZhu-MSFT 5,551 Reputation points Microsoft Vendor


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



    0 comments No comments