Skip to content

[Bug] Get-Date issue when running scoop export #6607

@supahfox

Description

@supahfox

Bug Report

Current Behavior

scoop export
Get-Date: C:\Users\fabuz\scoop\apps\scoop\current\lib\buckets.ps1:111
Line |
 111 |  … th $path -ArgumentList @('log', '--format=%aD', '-n', '1') | Get-Date
     |                                                                 ~~~~~~~~
     | The input object cannot be bound to any parameters for the command either because the command does not take
     | pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
{
    "apps": [
        {
            "Info": "",
            "Version": "26.00",
            "Name": "7zip",
            "Source": "main",
            "Updated": "2026-03-07T01:24:19.5107562-03:00"
        },
        {
            "Info": "",
            "Version": "1.6.0-641",
            "Name": "bento4",
            "Source": "main",
            "Updated": "2026-03-07T01:24:59.4976845-03:00"
        },
        {
            "Info": "",
            "Version": "13.52",
            "Name": "exiftool",
            "Source": "main",
            "Updated": "2026-03-07T01:25:27.2899888-03:00"
        },
        {
            "Info": "",
            "Version": "1.31.7",
            "Name": "gallery-dl",
            "Source": "main",
            "Updated": "2026-03-07T01:24:17.091009-03:00"
        },
        {
            "Info": "",
            "Version": "25.8.0",
            "Name": "nodejs",
            "Source": "main",
            "Updated": "2026-03-07T01:24:31.9102258-03:00"
        },
        {
            "Info": "",
            "Version": "10.30.3",
            "Name": "pnpm",
            "Source": "main",
            "Updated": "2026-03-07T01:24:34.9453047-03:00"
        }
    ],
    "buckets": [
        {

Expected Behavior

scoop export should run without issues. This never happened to me before.

Additional context/output

BCUninstaller uses this command to list which programs were installed through scoop

System details

Windows version: [e.g. 7, 8, 10, 11]
11 25H2

OS architecture: [e.g. 32bit, 64bit, arm64]
amd64

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
7.5.4

Additional software: [(optional) e.g. ConEmu, Git]
git

Scoop Configuration

{
  "last_update": "2026-03-07T01:23:47.8391146-03:00",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions