Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export-TssReport does not output CSV report data #242

Closed
wsmelton opened this issue Sep 30, 2021 · 0 comments
Closed

Export-TssReport does not output CSV report data #242

wsmelton opened this issue Sep 30, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wsmelton
Copy link
Contributor

Verified issue does not already exist?

Yes

What error did you receive

No error, no output.

Please run the command using -Verbose

[2] > Export-TssReport -TssSession $sessionProd -ReportId 5 -Delimiter '|' -Parameters @{User = 2} -Verbose                            
VERBOSE: Command invocation: Export-TssReport -TssSession:TssSessionObject -ReportId:TssSessionObject -Delimiter:| -Parameters:| -Verbose:True
VERBOSE: Performing the operation POST http://prod/SecretServer/api/v1/reports/export with: 
{
  "delimiter": "|",
  "id": "5",
  "parameters": [
    {
      "Name": "User",
      "Value": 2
    }
  ],
  "format": "csv"
}

Provide a test case or steps to reproduce

Export-TssReport -TssSession $sessionProd -ReportId 5 -Delimiter '|' -Parameters @{User = 2} -Verbose

Expected behavior

Outputs the CSV formatted data from a report

What Edition of Secret Server?

Platinum

What version of Secret Server

11.0

What PowerShell host was used when producing this error

PowerShell Core (pwsh)

PowerShell Host Version

Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
@wsmelton wsmelton added bug Something isn't working triage needed new issues that are still in state of triage and removed triage needed new issues that are still in state of triage labels Sep 30, 2021
@wsmelton wsmelton self-assigned this Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant