Files
nimmersky/tools/SSedit/SSEEdit Export Armor Script-90522-1-0-1683004422/PS-Scripts/armor-by-slot.ps1

4 lines
257 B
PowerShell

param([Parameter(Mandatory=$true)][int]$slot)
#slot to filter
$csvDir=(Join-Path $PSScriptRoot ..)
Get-Content $csvDir\ArmorExport-Armor-Slot.csv|ConvertFrom-Csv -Delimiter ';'|Sort-Object -Property FormID,Slot -Unique|Where-Object { $_.Slot -eq $slot }