Initial Commit

This commit is contained in:
Torsten Brendgen
2026-02-08 14:54:46 +01:00
commit 5de9ab325d
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
@{
ModuleVersion = '1.0.0'
GUID = 'bb381d89-f5f3-42a9-b3a3-488fa230479a'
Author = 'Torsten Brendgen'
Description = 'Microsoft SelfService Portal Domain PowerShell Functions'
RootModule = 'Microsoft.SelfService.Portal.PowerShell.Deployment.psm1'
FunctionsToExport = '*'
CmdletsToExport = @()
VariablesToExport = @()
AliasesToExport = @()
}

View File

@@ -0,0 +1,13 @@
Import-Module -Name "Microsoft.SelfService.Portal.PowerShell.Core" -Force
function Get-SSPDeployments {
return $(Invoke-SSPRequest -Method Get -Endpoint "Deployment")
}
function Get-SSPDeploymentById {
Param(
[System.Guid] $Id
)
return $(Invoke-SSPRequest -Method Get -Endpoint "Deployment" -Query "$Id")
}