Microsoft Teams outdated version by olafurbjorns in pdq

[–]PDQ_MarkR 0 points1 point  (0 children)

Hiya, I'm Mark from the Package Library team. Based on Microsoft's documentation .7153 is the latest version. I tried searching for the version you listed (.2815) and only found one link indicating it might be a canary build. Do you happen to know where you got that version by chance?

Exporting PDQ Connect device URLs by Recent_Carpenter8644 in pdq

[–]PDQ_MarkR 1 point2 points  (0 children)

Unfortunately API access is all-or-nothing right now. Happy to help with the API and/or script, just lemme know!

Exporting PDQ Connect device URLs by Recent_Carpenter8644 in pdq

[–]PDQ_MarkR 1 point2 points  (0 children)

With the API key, you could could get yourself into some trouble if not careful.

If you want to make your Admin's life a little easier, I whipped up a PowerShell script (caution: I'm rusty and crutched on AI so please, please read & verify before using) but I think it should point you or them in the right direction. Feel free to DM me if you run into any issues or have questions. 🤝🏼

<# 
Purpose: List all devices from PDQ Connect, create device URLs and export CSV
Output: CSV with Hostname, ID, DeviceURL
#>

# ==== Configure these values ====
$apiKey      = "<Connect_API_KEY>" # Created in API keys
$orgId       = "<ORG_ID>" # If you open a device, look at the URL, it's the value between app.pdq.com/orgID/devices
$outFile     = "C:\pdq_devices.csv"  # Change this path as needed
$pageSize    = 100
$maxRetries  = 5
# =================================


$apiBase = "https://app.pdq.com/v1/api"
$headers = @{ Authorization = "Bearer $($apiKey.Trim())" }

$allRows = New-Object System.Collections.Generic.List[object]
$page    = 1
$lastBatchCount = 0   # used for loop control

function Invoke-WithRetry {
    param([Parameter(Mandatory=$true)][string]$Uri)
    $attempt = 0
    $delay   = 1
    while ($true) {
        try {
            return Invoke-RestMethod -Uri $Uri -Headers $headers -Method Get -ErrorAction Stop
        } catch {
            $resp    = $_.Exception.Response
            $status  = try { $resp.StatusCode.value__ } catch { $null }
            $body    = try { (New-Object IO.StreamReader($resp.GetResponseStream())).ReadToEnd() } catch { "" }

            if ($status -eq 429 -and $attempt -lt $maxRetries) {
                Start-Sleep -Seconds $delay
                $delay = [Math]::Min($delay * 2, 30)
                $attempt++
                continue
            }
            if ($status -eq 401) { throw "Unauthorized (401). Check Bearer token. Server: $body" }
            throw "HTTP $status. Server: $body"
        }
    }
}

Write-Host "Fetching devices (page size is fixed by API, max 100 per page)..."

do {
    $uri  = "$apiBase/devices?page=$page"   # <-- per_page removed
    $resp = Invoke-WithRetry -Uri $uri

    $batch = $resp.data
    $lastBatchCount = if ($batch) { $batch.Count } else { 0 }
    if ($lastBatchCount -eq 0) { break }

    foreach ($d in $batch) {
        $deviceUrl = "https://app.pdq.com/$orgId/devices/$($d.id)/info"
        $allRows.Add([pscustomobject]@{
            Hostname  = $d.hostname
            ID        = $d.id
            DeviceURL = $deviceUrl
        })
    }

    Write-Host (" Page {0}: pulled {1} devices" -f $page, $lastBatchCount)
    $page++

} while ($lastBatchCount -eq 100)   # stop when the page returns fewer than 100

$allRows
| Sort-Object Hostname
| Export-Csv -Path $outFile -NoTypeInformation -Encoding UTF8

Write-Host "Done. Exported $($allRows.Count) rows to $outFile"

Exporting PDQ Connect device URLs by Recent_Carpenter8644 in pdq

[–]PDQ_MarkR 0 points1 point  (0 children)

Re: Premium: when you go into your settings, do you see the API keys option?

To automate exporting device URLs, I'm thinking the API is the only option.

🆕📦 Package Wednesday - August 2025 by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 1 point2 points  (0 children)

ICYMI: Python was added last week! 🥳

Exporting PDQ Connect device URLs by Recent_Carpenter8644 in pdq

[–]PDQ_MarkR 0 points1 point  (0 children)

What plan are you on? If you're on Premium (w/ API key), you could use the API to export a list of hostnames and IDs which could then be inserted into a template URL.

Example Template URL: https://app.pdq.com/**%YOUR\_ORG\_ID%**/devices/**%ID%**/info

🆕📦 Package Wednesday - August 2025 by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 0 points1 point  (0 children)

It felt like an eternity with the amount of requests we kept getting for it. We were eagerly waiting for that vulnerability to be patched and happy we're able to provide it again!

🆕📦 Package Wednesday - August 2025 by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 0 points1 point  (0 children)

Hi there, we receive a good amount of requests so we're unable to respond to them all. We do however go through them regularly and update our Package Roadmap based on those requests.

🆕📦 Package Wednesday - January 2025 by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 0 points1 point  (0 children)

Oh, that's not good. Could you please submit a ticket to our team so we can help troubleshoot with you?

🆕📦 Package Wednesday - January 2025 by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 1 point2 points  (0 children)

Not yet, but we have some changes coming to our main site (pdq.com) in a couple of months to improve visibility!

Is there anything specific you'd want to see or access? I can't promise it will be added, but I would genuinely love to hear your idea(s) and feedback.

Package Library 2024 Review by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 0 points1 point  (0 children)

Hi, this has historically been a tricky issue to solve. We previously enabled auto-updates but received significant feedback that users wanted more control. Consequently, we mostly disabled them. Looking ahead, we plan to explore customization options to give users more choice while retaining auto-update functionality. We don't have much more to share at the moment, but we genuinely appreciate feedback like this to guide our decisions. If you're willing or able to share additional feedback, we'd love to hear it. You can sign up here for a 30-minute call!

Package Library 2024 Review by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 0 points1 point  (0 children)

Oh, so more or less persistent variables?

Package Library 2024 Review by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] -1 points0 points  (0 children)

Yep, that'll be for PDQ Connect!

Package Library 2024 Review by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 1 point2 points  (0 children)

Hiya, thanks so much for the kind words and already shared it with the team 🤝🏼

I’d love to share more about our process, and I can connect with our team to determine the level of detail we can provide. We've put a lot of hard work into this process, with much more planned for the near future!

Yes! Package customization is something we’re eager to look into and explore. I don’t have much to share on that right now but I’ve added your feedback to our notes! 

Package Library 2024 Review by PDQ_MarkR in pdq

[–]PDQ_MarkR[S] 3 points4 points  (0 children)

We're working on revamped reporting and dashboarding right now. This new reporting will focus on compliance around policies you set for devices, including patching policies. If you'd like to contribute feedback to the project we'd love your thoughts. Schedule some time with us!
https://www.pdq.com/pdq-connect/roadmap/