This document provides details on two new functions, Set-PodeConfiguration and Get-PodeConfiguration, to manage Pode server configurations programmatically.
Functions
Set-PodeConfiguration
This function allows users to set various configurations for the Pode server as an alternative to using the server.psd1 file or directly modifying the $PodeContext hashtable.
Summary
This document provides details on two new functions,
Set-PodeConfiguration
andGet-PodeConfiguration
, to manage Pode server configurations programmatically.Functions
Set-PodeConfiguration
This function allows users to set various configurations for the Pode server as an alternative to using the
server.psd1
file or directly modifying the$PodeContext
hashtable.Parameters
Examples
Get-PodeConfiguration
This function retrieves the current configurations for the Pode server by reading from the
$PodeContext
hashtable.Parameters
Section: Specifies which section of the configuration to retrieve (e.g., SslProtocols, RequestTimeout, AutoImport, etc.).