Public/Open-PSGalleryStats.ps1
|
function Open-PSGalleryStats { [CmdletBinding()] param( [string]$Path ) if ([string]::IsNullOrWhiteSpace($Path)) { $Path = Join-Path (Get-SnapshotPath) 'PSGalleryDownloads.csv' } if (-not (Test-Path -LiteralPath $Path)) { Write-Warning "CSV file not found: $Path. Run Update-PSGalleryStats first." return } Start-Process -FilePath $Path } |