added example

This commit is contained in:
dfinke
2015-07-09 12:42:06 -04:00
parent 63ee3908a8
commit 140aaba049

View File

@@ -121,6 +121,9 @@ function Export-Excel {
ps | Export-Excel .\test.xlsx -WorkSheetname Processes -IncludePivotTable -Show -PivotRows Company -PivotData PM
.Example
ps | Export-Excel .\test.xlsx -WorkSheetname Processes -ChartType PieExploded3D -IncludePivotChart -IncludePivotTable -Show -PivotRows Company -PivotData PM
.Example
Remove-Item "c:\temp\test.xlsx" -ErrorAction Ignore
Get-Service | Export-Excel "c:\temp\test.xlsx" -Show -IncludePivotTable -PivotRows status, name -PivotData status
#>
param(
[Parameter(Mandatory=$true)]