< Back

Get-AzureVMResourceReportCSV

Sat Jan 11, 2020 10:30 am

NAME Get-AzureVMResourceReportCSV



SYNOPSIS

Output a CSV report of information returned from the Get-AzureVMResourceReport cmdlet.





SYNTAX

Get-AzureVMResourceReportCSV [[-Path] <String>] [<CommonParameters>]





DESCRIPTION

This cmdlet will output a report of information returned from the Get-AzureVMResourceReport cmdlet. This will

default to the user's desktop.





PARAMETERS

-Path <String>

The Path, including filename, of the desired location to store the CSV.



Required? false

Position? 1

Default value "$env:USERPROFILE\\Desktop\\AzureVMResourceReport-$(get-date -Format

'yyyy_MM_dd').csv"

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>This command will gather information about your VMs from your Azure subscriptions and convert it to a CSV

at c:\\Report.csv.



Get-AzureVMResourceReportCSV -Path c:\\Report.csv









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>This command will gather information about VMs from your Azure subscriptions and convert it to a CSV stored

on the users desktop.



Get-AzureVMResourceReportCSV











RELATED LINKS