Skip to content

Out-Marvin

SYNOPSIS

return properly structured output to Marvin

SYNTAX

Out-Marvin [-Server] <String> [-State] <String> [[-Changed] <String>] [[-Output] <Object>] [<CommonParameters>]

DESCRIPTION

return properly tructured output to Marvin so it can be proccessed correctly by the Ansible 'call-marvin' module

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Server

The servername in FQDN format

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-State

pass the state of the script to marvin and fail/complete the action in Ansible

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Changed

let know if your script did something, if not the ansible action will show 'ok'. Otherwise it will display 'changed'

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: Yes
Accept pipeline input: False
Accept wildcard characters: False

-Output

Only used internaly to pick up output ganerated by a child script using 'out-marvin'

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES