PowerRelic is a PowerShell script module with various cmdlets used to interact with both NerdGraph API and the REST v2 API for New Relic.
- This module was built to be compatible with PowerShell v 6.0+ (aka "PowerShell Core") for cross-platform compatibility and to take advantage of the -FollowRelLink switch added to the Invoke-RestMethod cmdlet.
# Clone the repository locally via HTTPS
git clone https://github.com/newrelic-experimental/powerrelic.git
# Or via SSH
# git clone [email protected]:newrelic-experimental/powerrelic.git
# Import the module into PowerShell
Import-Module -Name "./powerrelic/PowerRelic"
# Validate module was imported successfully
Get-Module -All | Where-Object { $_.Name -eq "PowerRelic" } | Format-List -Property Name, Description, ModuleBase, Version
# Get a list of available cmdlets
Get-Command -Module PowerRelic | Select-Object Name
New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.
Issues and enhancement requests can be submitted in the Issues tab of this repository. Please search for and review the existing open issues before submitting a new issue.
At New Relic we take your privacy and the security of your information seriously, and are committed to protecting your information. We must emphasize the importance of not sharing personal data in public forums, and ask all users to scrub logs and diagnostic information for sensitive information, whether personal, proprietary, or otherwise.
We define “Personal Data” as any information relating to an identified or identifiable individual, including, for example, your name, phone number, post code or zip code, Device ID, IP address, and email address.
For more information, review New Relic’s General Data Privacy Notice.
We encourage your contributions to improve PowerRelic! Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.
If you have any questions, or to execute our corporate CLA (which is required if your contribution is on behalf of a company), drop us an email at [email protected].
A note about vulnerabilities
As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.
If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.
If you would like to contribute to this project, review these guidelines.
To all contributors, we thank you! Without your contribution, this project would not be what it is today.
PowerRelic is licensed under the Apache 2.0 License.