schema |
---|
2.0.0 |
This function tells the agent to execute the desired command.
Invoke-LTServiceCommand [-Command] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
This function will allow you to execute all known commands against an agent.
{{ Fill Command Description }}
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Version: 1.2
Author: Chris Taylor
Website: labtechconsulting.com
Creation Date: 2/2/2018
Purpose/Change: Initial script development
Thanks: Gavin Stone, for finding the command list
Update Date: 2/8/2018
Purpose/Change: Updates for better overall compatibility, including better support for PowerShell V2
Update Date: 3/21/2018
Purpose/Change: Removed ErrorAction Override