diff --git a/Functions/Setup/Get-NetboxTimeout.ps1 b/Functions/Setup/Get-NetboxTimeout.ps1
new file mode 100644
index 0000000..7547e33
--- /dev/null
+++ b/Functions/Setup/Get-NetboxTimeout.ps1
@@ -0,0 +1,13 @@
+
+function Get-NetboxTimeout {
+ [CmdletBinding()]
+ [OutputType([uint16])]
+ param ()
+
+ Write-Verbose "Getting Netbox Timeout"
+ if ($null -eq $script:NetboxConfig.Timeout) {
+ throw "Netbox Timeout is not set! You may set it with Set-NetboxTimeout -TimeoutSeconds [uint16]"
+ }
+
+ $script:NetboxConfig.Timeout
+}
\ No newline at end of file
diff --git a/Functions/Setup/Set-NetboxTimeout.ps1 b/Functions/Setup/Set-NetboxTimeout.ps1
new file mode 100644
index 0000000..cee71d2
--- /dev/null
+++ b/Functions/Setup/Set-NetboxTimeout.ps1
@@ -0,0 +1,17 @@
+
+function Set-NetboxTimeout {
+ [CmdletBinding(ConfirmImpact = 'Low',
+ SupportsShouldProcess = $true)]
+ [OutputType([uint16])]
+ param
+ (
+ [Parameter(Mandatory = $false)]
+ [ValidateRange(1, 65535)]
+ [uint16]$TimeoutSeconds = 30
+ )
+
+ if ($PSCmdlet.ShouldProcess('Netbox Timeout', 'Set')) {
+ $script:NetboxConfig.Timeout = $TimeoutSeconds
+ $script:NetboxConfig.Timeout
+ }
+}
\ No newline at end of file
diff --git a/NetboxPS.psproj b/NetboxPS.psproj
index 60a4dff..f78ceb1 100644
--- a/NetboxPS.psproj
+++ b/NetboxPS.psproj
@@ -112,6 +112,8 @@
Functions\Setup\Set-NetboxCipherSSL.ps1
Functions\Setup\Set-NetboxInvokeParams.ps1
Functions\Setup\Set-NetboxUnstrustedSSL.ps1
+ Functions\Setup\Set-NetboxTimeout.ps1
+ Functions\Setup\Get-NetboxTimeout.ps1
R:\Netbox\NetboxPS\Test-Module.ps1
\ No newline at end of file