Initial commit

This commit is contained in:
2022-11-30 16:53:56 +03:00
parent 11d98e7007
commit 50c048eb34
25 changed files with 1534 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
function Test-PSIPAMSession {
[CmdletBinding()]
param (
)
if ($script:ipamToken) {
if ($script:ipamExpires -lt (Get-Date)) {
return "Expired"
} else {
return "Valid"
}
} else {
return "NoToken"
}
}