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
$FunctionsToExport = '*' | |
function ConvertFrom-RackUnits { | |
[cmdletbinding()] | |
param( | |
[int]$RackUnits, | |
[switch]$Imperial | |
) | |
if ($Imperial) { |
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 Test-S2DHealthState { | |
[cmdletbinding()] | |
param() | |
$Healthy = $true | |
# Check all nodes are running (not paused) | |
Write-Verbose "Checking Nodes are all up..." | |
$Nodes = Get-ClusterNode | |
Switch ($Nodes) { | |
{ $_.State -ne 'Up' } { |
UTC: 2024-05-06 23:15 comnam90/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
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-S2DCacheChurn { | |
<# | |
.SYNOPSIS | |
Query a cluster for cache daily write stats | |
.DESCRIPTION | |
Makes use of the 'Get-StorageHistory' command and the Cluster Performance | |
History database to display stats for each cache drive in a cluster, such as | |
estimated Drive Writes per Day (DWPD), average daily writes, and average | |
write throughput. |
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
<# | |
.DESCRIPTION | |
Align-VMsWithStorage is a script that can be used to align your VMs | |
with your Cluster Shared Volumes. With Storage Spaces Direct all writes | |
are routed through the owner of the CSV which can cause ineffiecient IO paths. | |
This script makes sure your VM is running on the same host which owns the CSV | |
the VM is running on. | |
The script finds the volume where most of your disks of your VMs are on and moves the VM there. |
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
#I2outlook.ps1 | |
## UPDATED: 2020-09-22 | |
## UPDATED By: Ben Thomas (@NZ_BenThomas) | |
### Changelog: | |
### - Fixed up api url | |
### - Added handling for pre-recorded sessions with no start time | |
### - Fixed up duration calculation | |
### - Fixed up invalid characters | |
### - Added session and speaker urls to event descriptions |
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-CacheDiskStatus | |
{ | |
<# | |
.DESCRIPTION | |
Get-CacheDiskStatus is a script that can be used verify the boundings to cache devices | |
with Storage Spaces Direct | |
.INPUTS |
I hereby claim:
- I am comnam90 on github.
- I am nz_benthomas (https://keybase.io/nz_benthomas) on keybase.
- I have a public key ASCYwHHIswAo8pe3lOqe3dlg8n-ImZis-VmcOm0oggrokQo
To claim this, I am signing this object: