< Back

Compress-P1Logs

Sat Jan 18, 2020 6:59 pm

NAME Compress-P1Logs



SYNOPSIS

Archive to zip the logs for a tenant





SYNTAX

Compress-P1Logs [-Tenant] <String> [-OutFile] <String> [<CommonParameters>]





DESCRIPTION

Zip all PlannerOne logs for tenant in a given file





PARAMETERS

-Tenant <String>

The tenant name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OutFile <String>

The zip file to write.



Required? true

Position? 2

Default value

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:\\># Zip Prod logs



Archive-P1Logs -Tenant Prod -OutFile c:\\temp\\prodlogs.zip











RELATED LINKS