< Back

Save-PodeRequestFile

Sat Jan 18, 2020 7:19 pm

NAME Save-PodeRequestFile



SYNOPSIS

Saves an uploaded file on the Request to the File System.





SYNTAX

Save-PodeRequestFile [-Key] <String> [[-Path] <String>] [<CommonParameters>]





DESCRIPTION

Saves an uploaded file on the Request to the File System.





PARAMETERS

-Key <String>

The name of the key within the web event's Data HashTable that stores the file's name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Path <String>

The path to save files.



Required? false

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:\\>Save-PodeRequestFile -Key 'avatar'













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



PS C:\\>Save-PodeRequestFile -Key 'avatar' -Path 'F:/Images'















RELATED LINKS