13 lines
336 B
PowerShell
13 lines
336 B
PowerShell
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")
|
|
} |