Skip to content

Graham-Beer/PSCharts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published