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
#doesn't deal with auth - need to have logged in via browser first | |
function Get-NetAppSoftwareVersion { | |
[CmdletBinding()] | |
param () | |
begin { | |
$URI = 'https://mysupport.netapp.com/api/sw-download-service/productdownloads' | |
$Results = @() | |
} | |
process { | |
$list = invoke-webrequest -uri $URI |
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
import-module DFSN | |
[string[]]$PublicCmdlets = 'Clear-Host','Get-Alias','Get-DFSNFolder','New-DFSNFolder' | |
[string[]]$PublicAliases = 'exsn','cls','gal' | |
[string[]]$PublicScripts = $Null | |
[string[]]$Apps = 'whoami' | |
[string[]]$PublicApps = ForEach ($app in $apps) { | |
Get-Command $app | Select -ExpandProperty Definition | |
} |
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
{ | |
"id": 25, | |
"title": "NetApp Detail: Node Latency Histogram", | |
"originalTitle": "NetApp Detail: Node Latency Histogram", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"hideControls": false, | |
"sharedCrosshair": true, |
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 Get-NcCLI{ | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$True, | |
ValueFromPipeline=$true, | |
ValueFromPipelineByPropertyName=$true)] | |
[Alias('Filer','Node')] | |
[String[]]$Controller, | |
[Parameter(Mandatory=$False)] |