Skip to content

Documentation Around Invoking Powershell Script From C# Is Sparse #8594

@cmeyertons

Description

@cmeyertons

Prerequisites

  • Write a descriptive title.
  • Search the existing issues.

Summary of the new document or enhancement

I struggled to find the correct way to implement invoking an external Powershell file using the Powershell SDK from C#.

I ended up having to log PowerShell/PowerShell#16893 in order to get some help and get unblocked.

In the Hosting samples, there isn't an example that reflects the use case and the documentation the maintainer supplied was sourced from SO.

Documentation desired location: https://docs.microsoft.com/powershell/scripting/developer/hosting/host-application-samples

Proposed title

Runspace Sample 012 - Running Exter

Proposed location in the TOC

Under Runspace Samples

List of related articles to link to

https://docs.microsoft.com/powershell/scripting/developer/hosting/host-application-samples

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri1Priority - Higharea-sdk-docsArea - SDK docsissue-doc-ideaIssue - request for new contentup-for-grabsTag - issue is open for any contributor to resolve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions