Create Pull Request
| Date | Scan | Status | Result |
|---|---|---|---|
| 2026-01-14 00:00 | #250 | in_progress |
Biased
|
| 2026-01-13 00:00 | #246 | completed |
Biased
|
| 2026-01-11 00:00 | #240 | completed |
Biased
|
| 2026-01-10 00:00 | #237 | completed |
Biased
|
| 2026-01-09 00:34 | #234 | completed |
Biased
|
| 2026-01-08 00:53 | #231 | completed |
Biased
|
| 2026-01-06 18:15 | #225 | cancelled |
Clean
|
| 2025-08-17 00:01 | #83 | cancelled |
Clean
|
| 2025-07-13 21:37 | #48 | completed |
Biased
|
| 2025-07-12 23:44 | #41 | cancelled |
Biased
|
| 2025-07-09 13:09 | #3 | cancelled |
Clean
|
| 2025-07-08 04:23 | #2 | cancelled |
Biased
|
$ResourceGroupName = "MyResourceGroup"
$LabName = "MyLab"
$LabPublicIP = $null
$lab = Get-AzLabServicesLab -Name $LabName -ResourceGroupName $ResourceGroupName
if (-not $lab){
Write-Error "Could find lab $($LabName) in resource group $($ResourceGroupName)."
}
if($lab.NetworkProfilePublicIPId){
#Lab is using advance networking
# Get public IP from networking properties
$LabPublicIP = Get-AzResource -ResourceId $lab.NetworkProfilePublicIPId | Get-AzPublicIpAddress | Select-Object -expand IpAddress
}else{
#Get first VM from lab
# If customizable lab, this is the template VM
# If non-customizable lab, this is the first VM published.
$vm = $lab | Get-AzLabServicesVM | Select -First 1
if ($vm){
if($vm.ConnectionProfileSshAuthority){
$connectionAuthority = $vm.ConnectionProfileSshAuthority.Split(":")[0]
}else{
$connectionAuthority = $vm.ConnectionProfileRdpAuthority.Split(":")[0]
}
$LabPublicIP = [System.Net.DNS]::GetHostByName($connectionAuthority).AddressList.IPAddressToString | Where-Object {$_} | Select -First 1
}
}
if ($LabPublicIP){
Write-Output "Public IP for $($lab.Name) is $LabPublicIP."
}else{
Write-Error "Lab must be published to get public IP address."
}