TechNet
Table of contents
TOC
Collapse the table of content
Expand the table of content

How to Install Chargeback Reports

Bill Anderson|Last Updated: 8/15/2016

Applies To: System Center 2016 Technical Preview - Service Manager

Chargeback reports in Service Manager consist of various files such as management pack files, Windows PowerShell scripts to import the management pack files, and a Microsoft Excel sample report. The first of the following procedures imports Service Manager management pack files and the second procedure imports management pack files on the Operations Manager management server.

All files that comprise chargeback reports are located in the Service Manager installation folder in the Chargeback subfolder. For example, if you installed Service Manager in C:\Program Files, then all chargeback report files will be located in C:\Program Files\Microsoft System Center 2016\Service Manager\Chargeback

You must have Service Manager installed and have administrative credentials on the server hosting the Service Manager and Operations Manager management servers in order to install chargeback report files. Additionally, Operations Manager must monitor Virtual Machine Manager servers.

The installation procedure below uses the ImportToSM.ps1 PowerShell script that uses parameters described in the following table. If you run the script without specifying any parameters, you are prompted for them.

ParameterDescription
omServerName of the Operations Manager server
omUsernameUser name of the account that has administrative access to the Operations Manager management server
omPasswordPassword of the account that has administrative access to the Operations Manager management server
smUsernameUser name of the account that has administrative access to the Service Manager management server
smPasswordPassword of the account that has administrative access to the Service Manager management server

After you have installed chargeback report files on the Operations Manager and Service Manager management servers and configured the Operations Manager CI connector, you are ready to use chargeback report features.

To install chargeback report files on the Operations Manager management server

  1. Log on to the Operations Manager management server.

  2. In the Chargeback folder, copy the subfolder named Dependencies from the Service Manager management server to the Operations Manager management server.

  3. On the Operations Manager management server, start Windows PowerShell and then navigate to the Dependencies folder. For example, type cd Dependencies.

  4. If you have not already set execution policy to remotesigned, then type the following command, and then press ENTER:

    Set-ExecutionPolicy -force RemoteSigned
    
  5. Type the following command, and then press ENTER to run the PowerShell script that imports chargeback management packs and that add chargeback functionality to Operations Mananger:

    .\ImportToOM.ps1
    
  6. After the script has completed running, type exit, and then press ENTER to close the Administrator: Windows PowerShell window.

  7. Ensure that Operations Manager is connected to Virtual Machine Manager, as described at How to Connect VMM with Operations Manager.

  8. Ensure that Operations Manager has discovered information from virtual machine manager such as virtual network interface cards, virtual hard disks, clouds, and virtual machines.

To install chargeback reports on the Service Manager management server

  1. Log on to the Service Manager management server.

  2. On the computer where you want to run Windows PowerShell, click Start, click All Programs, click Microsoft System Center 2016, click Service Manager, and then click Service Manager Shell.

  3. If you have not already set execution policy to remotesigned, then type the following command, and then press ENTER:

    Set-ExecutionPolicy -force RemoteSigned
    
  4. Navigate to the Chargeback folder. For example, type cd chargeback.

  5. Type the following command, and then press ENTER to run the PowerShell script that imports chargeback management packs and that add chargeback functionality to Service Manager:

    .\ImportToSM.ps1
    
  6. After the script has completed running, type exit, and then press ENTER to close the Administrator: Windows PowerShell window.

  7. In the Service Manager console, click Data Warehouse, expand the Data Warehouse node, and then click Data Warehouse Jobs.

  8. In the list of data warehouse jobs, select MPSyncJob and then in the Task list, click Resume.

  9. Configure the Operations Manager CI connector and ensure that Service Manager has discovered the virtual machine information from Operations Manager.

© 2016 Microsoft