Skip to content

Syntax error in Documentation for PowerShell #90

@bwya77

Description

@bwya77

Environment

MacOS, Windows

Steps to Reproduce

https://docs.sentry.io/platforms/powershell/
The Configure Steps show the following:

# You may need to import the module if you've just installed it.
Import-Module Sentry
Start-Sentry {
    # You can set it in the SENTRY_DSN environment variable, or you can set it in code here.
    $_.Dsn = 'https://effecb5de25f3aceb41fa9e754a5f8ba@o4507154508152832.ingest.us.sentry.io/4508841355182080ntiva-dev / 228-sherweb-license-trueup'
    # If you'd like to include data that potentially includes PII, such as Machine Name
    $_.SendDefaultPii = true
}

But $_.SendDefaultPii = true should be $_.SendDefaultPii = $true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions