Initial Commit
This commit is contained in:
13
Microsoft.SelfService.Portal.PowerShell.Deployment.psm1
Normal file
13
Microsoft.SelfService.Portal.PowerShell.Deployment.psm1
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user