From 7b1344e43fcb11988a54fcb96ab471f7c0961bf4 Mon Sep 17 00:00:00 2001 From: JJ Fullmer Date: Sat, 17 Aug 2024 21:32:05 -0600 Subject: [PATCH] start of Add get-fogversion #10 --- FogApi/Public/Get-FogVersion.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 FogApi/Public/Get-FogVersion.ps1 diff --git a/FogApi/Public/Get-FogVersion.ps1 b/FogApi/Public/Get-FogVersion.ps1 new file mode 100644 index 0000000..1709437 --- /dev/null +++ b/FogApi/Public/Get-FogVersion.ps1 @@ -0,0 +1,12 @@ +function Get-FogVersion { + [CmdletBinding()] + param ( + + ) + + + process { + return Invoke-FogApi -uriPath "system/info" -Method Get; + } + +} \ No newline at end of file