Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
Out-PieChart.ps1
README.md

README.md

PSCharts

What is Out-PieChart?

Out-PieChart is a function to take data from the pipeline and create a pie chart. The function makes use of the .net assembly 'System.Windows.Forms.DataVisualization'.

Examples

3D pie chart

Get-Process | 
    select -First 5 name, pm | 
    Out-PieChart -PieChartTitle "Top 5 Windows processes running" -DisplayToScreen -Pie3D

standard pie chart

Get-Process | 
     select -First 5 name, pm | 
     Out-PieChart -PieChartTitle "Top 5 Windows processes running" -DisplayToScreen

Display pie chart to screen

use switch -DisplayToScreen

Get-Process | 
     select -First 5 name, pm | 
     Out-PieChart -PieChartTitle "Top 5 Windows processes running" -DisplayToScreen

Save pie chart

Get-Process | 
    select -First 5 name, pm | 
    Out-PieChart -PieChartTitle "Top 5 Windows processes running" -saveImage 'C:\tmp\Win_Process.png'

Pie Chart examples

Standard Pie Chart

3D Pie Chart

You can’t perform that action at this time.