This script will take parameters from .CSV file and configure various BIOS options on HP DL360 / DL380 Server (Gen9)
- Windows Workstation with Powershell 5.1 installed
- HP Powershell cmdlets for BIOS & iLO installed
"""Python Script to extract specific rows from a .csv file based on a lookup string in a given column. | |
Information: | |
maintained by: Omer Barel | |
mail: [email protected] | |
website: http://jungopro.com | |
Example: | |
python3 CSV_Report.py -o /Users/User/Desktop/Original.csv -t /Users/User/Desktop/output.csv -l 123456789 -c 2 | |
""" | |
import csv | |
import argparse |
<# | |
.SYNOPSIS | |
Add a folder to the Environment PATH | |
.DESCRIPTION | |
This script will take a folder as parameter and edit the system PATH variable for all users, appending the specified folder to the existing PATH | |
.PARAMETER AddedLocation | |
Full path of location to add. Spcify with " " around it please |
<# | |
.SYNOPSIS | |
<Overview of script> | |
.DESCRIPTION | |
<Brief description of script> | |
.PARAMETER <Parameter_Name> | |
<Brief description of parameter input required. Repeat this attribute if required> |
{ | |
"dashboard": { | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" |
dependencies: | |
... | |
- name: grafana | |
version: 0.0.37 | |
## uncomment the below line to enable | |
e2e-repository: file://../grafana | |
## comment out the below line to disable | |
# repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/ | |
condition: deployGrafana |
{ | |
"__inputs": [ | |
{ | |
"name": "DS_DEV-PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
... | |
## A list of additional configmaps that contain -dashboard.json and/or -datasource.json files | |
## that should be imported into grafana. | |
serverDashboardConfigmaps: | |
- custom-dashboards | |
... |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: custom-dashboards | |
data: | |
{{ (.Files.Glob "custom-dashboards/*.json").AsConfig | indent 2 }} |
provider "azurerm" { | |
subscription_id = "xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx" | |
client_id ="xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx" | |
client_secret ="xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx" | |
tenant_id ="xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx" | |
} |