Upload
srinivas-kumar
View
218
Download
0
Embed Size (px)
Citation preview
7/24/2019 Vi-PW-2
1/2
-flterValue Value to flter the report by (or
spreadsheet reports) Values depend
on report type
Yes (i
flterColum
n
parameter
is present)
-chart If this parameter is present it indicates
that a chart will be created using the
report data (for spreadsheet reports)
No
-chartType Possible values:
bar
pie
No
-chartXColumns Indicates the columns to take the values
from for the X axe in for the chart (see
chart parameter)
es (if
chart
parameter
is present)
-chartYColumn Indicate the column to take the value for axe for the chart (see chart parameter)
es (if chart
parameter
is present)
7/24/2019 Vi-PW-2
2/2
Reports
DataCenter n!entory Report
!ordProcessing"# format
$%ntax:
.\New-VMInfrastructureReport.ps1 -leName [reportFileName] -outputType
"wordprocessingml" -reportType "inventory"-wor!tyleTemplate
[worstyletemplatepat"] -company [companyname] -ser#erIp [es$ ser#er ip
aress] -user [es$ user name] %passwor [es$ user passwor]
$ample:
.\New-VMInfrastructureReport.ps1 -fileName "datacenterInventoryReportSample.docx" -outputype
"wordprocessin!ml" -reportype "inventory" -wordStyleemplate "wordprocessin!mlStyleemplate.docx"-company "our #ompany Name $ere" -serverIp 1%.%.1.&% -user root -password pass'word1
&he output for previous command could be seen at
'datacenterinventor%report$ampledocx provided along with the Product *uide
Virtual "achines Report
!ordProcessing"# format
$%ntax:
.\New-VMInfrastructureReport.ps1 -leName [reportFileName] -outputType"wordprocessingml" -reportType "vm"-wor!tyleTemplate
[worstyletemplatepat"] -company [companyname] -ser#erIp [es$ ser#er ip
aress] -user [es$ user name] %passwor [es$ user passwor]
$ample:
.\New-VMInfrastructureReport.ps1 -fileName "vmReport(istSample.docx" -outputype "wordprocessin!ml"
-reportype "vm" -wordStyleemplate "wordprocessin!mlStyleemplate.docx" -company "our #ompany Name
$ere" -serverIp 1%.%.1.&% -user root -password pass'word1
&he output for previous command could be seen at 'vmlistreport$ampledocx
provided along with the Product *uide
$pread$heet"# format
$%ntax:
.\New-VMInfrastructureReport.ps1 -leName [reportFileName] -outputType
"spreadsheetml"-reportType "vm"-spreas"eet!tyleTemplate
[spreas"eetstyletemplatepat"] -company [companyname] -ser#erIp [es$ ser#er
ip aress] -user [es$ user name] %passwor [es$ user passwor]