Skip to content
This repository was archived by the owner on May 22, 2018. It is now read-only.
This repository was archived by the owner on May 22, 2018. It is now read-only.

Connect-Splunk: Computername parameter should be positional @ position 0 #11

Description

@halr9000

This should work:

PS C:\Users\Hal> Connect-Splunk localhost -Credential $cred
Connect-Splunk : A positional parameter cannot be found that accepts argument 'localhost'.
At line:1 char:1
+ Connect-Splunk localhost -Credential $cred
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Connect-Splunk], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Connect-Splunk

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions