Skip to content

Srinu3366/readPiPoChannels

Repository files navigation

readPiPoChannels

This powershell script reads all the channels in PI system and reads the XML of the channel configuration. Then writes the connection parameters of the channel to an excel file.

This will be helpful to generate documentation for all the channels available in the system.

After cloning this repository create a Properties.json file in the root directory of this repository.

Sample properties json looks like

{
    "pi_system_url" : "https://host:port/CommunicationChannelService/HTTPBasicAuth",
    "file_name" : "C:\\PIPOChannels-Test.xlsx",
    "download_channel_xml" : true
}

pi_system_url - Used for web-service connection

file_name - Used for file download path

download-channel_xml - Checks if channel XML files download is required. If true then downloads the files under Channels folder in the repo. Channels folder is added to .gitignore to avoid committing sensitive information.

Login credentials for CommunicationChannelService

A pop-up will be displayed asking for PI system credentials. These credentials will be used to access CommunicationChannelService

Enter PI System credentials

About

Channel parameters download from SAP PI system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published