Updated Orion URL

This commit is contained in:
Zachary Gorman 2024-10-25 13:10:17 -07:00
parent 9121237f1b
commit 4d1276f727
3 changed files with 7 additions and 8 deletions

View file

@ -463,7 +463,7 @@ function Get-PrinterIP {
start "http://$domainName" start "http://$domainName"
$mac = $printer.MAC $mac = $printer.MAC
Sleep -Seconds 1 Sleep -Seconds 1
start "https://shsorion/Orion/UDT/EndpointDetails.aspx?NetObject=UE-MAC:VAL=$mac" start "https://azporion1/Orion/UDT/EndpointDetails.aspx?NetObject=UE-MAC:VAL=$mac"
} }
else{ else{

View file

@ -370,12 +370,7 @@ Function Get-PC {
Write-Warning 'Active Drirectory Thick Client is required for this function' Write-Warning 'Active Drirectory Thick Client is required for this function'
break break
} }
$comp | Get-ADComputer | Enable-ADAccount Invoke-EnableComputer $comp
if (Get-ADUser -Filter "Name -like 'K_$comp'") {
Write-Host -ForegroundColor Yellow "Kiosk account found. Please re-kiosk this workstation."
} else {
Add-ADGroupMember -Identity (Get-ADGroup -Identity 'CN=SSO Workstations') -Members (Get-ADComputer $comp)
}
continue continue
} }
@ -697,7 +692,7 @@ Function Get-PC {
$mac = $mac[2] -split "," $mac = $mac[2] -split ","
$mac = $mac[0] $mac = $mac[0]
Write-Host "Launching Orion page to $mac" Write-Host "Launching Orion page to $mac"
Start-Process "https://shsorion/Orion/UDT/EndpointDetails.aspx?NetObject=UE-MAC:VAL=$mac" Start-Process "https://azporion1/Orion/UDT/EndpointDetails.aspx?NetObject=UE-MAC:VAL=$mac"
} }
else { else {
Write-Host "Unable to validate MAC" Write-Host "Unable to validate MAC"

View file

@ -1,3 +1,7 @@
Path:
-Fix Enable flag also removes workstation from Disabled Computers group
-Update Orion url
Patch: 2024-10-11 Patch: 2024-10-11
-Fix no more functions create a profile on the remote machine -Fix no more functions create a profile on the remote machine
-Add Zebra GK420d and ZD421 report ip config mode in shsprinter -Add Zebra GK420d and ZD421 report ip config mode in shsprinter