This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Nexus Service | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/opt/nexus/bin/nexus start | |
ExecStop=/opt/nexus/bin/nexus stop | |
ExecReload=/opt/nexus/bin/nexus restart | |
PIDFile=/var/run/nexus/nexus.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Written by [email protected] | |
## Required installation of the ACMESharp powershell module | |
## Follow installation steps at https://github.com/ebekker/ACMESharp/wiki/Quick-Start | |
## | |
Import-Module acmesharp | |
## !! Modify these variables before running script !! | |
$domain = "adfs.contoso.com" | |
$email = "[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body {background-color: #EEE;} | |
.emubox { | |
border: 3px solid green; | |
padding: 10px; | |
} | |
.container{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding(SupportsShouldProcess=$False)] | |
Param ( | |
[parameter( | |
Mandatory=$true, | |
HelpMessage='Filter jobs by name')] | |
[string]$Filter, | |
[parameter( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Help | |
# ---------- | |
<# | |
.SYNOPSIS | |
OracleZFS-StorageConsumptionReport.ps1 will send an email to a specified address when executed | |
with a list of projects (according to a filter) and the consumed backup storage for each project. | |
Highlights: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extractors": [ | |
{ | |
"condition_type": "regex", | |
"condition_value": "^filterlog:.*,(in|out),4,.*", | |
"converters": [], | |
"cursor_strategy": "copy", | |
"extractor_config": { | |
"index": 17, | |
"split_by": "," |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Help | |
# ---------- | |
<# | |
.SYNOPSIS | |
NetApp-SnapshotReport.ps1 will send an email to a specified address with a list of detected volume snapshots on | |
any volume belonging to specified controllers. | |
Highlights: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Help | |
# ---------- | |
<# | |
.SYNOPSIS | |
NetApp-ActiveDedupAlert.ps1 will send an email to a specified address if it detects a running SIS process on | |
any volume belonging to specified controllers. | |
Highlights: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DDavkTFBmKe5VNtQZftq3NJLncD6FWnQNz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function ViewVM-SetState { | |
[cmdletBinding()] | |
Param ( | |
[parameter(Mandatory=$true)] | |
[string]$vm, #VM name | |
[parameter(Mandatory=$true)] | |
[ValidateSet("MAINTENANCE","READY","DELETING","ERROR")] | |
[string]$state #State to set the VM to | |
) |