Skip to content

Printing RSJob properties #203

@kevin-james-sp

Description

@kevin-james-sp

This may just be my lack of PowerShell knowledge, but why is it when I do something like this:
PS >$job=Get-Job
PS >$job.Name
Name-Of-My-Job
PS >echo "job Name=$job.Name"
job Name=RSJob.Name

Basically, when I try to access any property of a RSJob object inside a quoted string it prints RSJob. instead of the property value?

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