| external help file | ConnectWiseManageAPI-help.xml |
|---|---|
| Module Name | ConnectWiseManageAPI |
| online version | |
| schema | 2.0.0 |
This will update a time entry.
Update-CWMTimeEntry -id <Int32> [-Operation] <String> [-Path] <String> [-Value] <Object>
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
{{ Fill in the Description }}
$UpdateParam = @{
ID = 1
Operation = 'replace'
Path = 'name'
Value = $NewName
}
Update-CWMTimeEntry @UpdateParam$UpdateParam = @{
ID = 1
Operation = 'replace'
Path = 'subType'
Value = ${id = 123}
}
Update-CWMTimeEntry @UpdateParamPrompts 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: FalseWhat you are doing with the value. replace, add, remove
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: add, replace, remove
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe value that you want to perform the operation on.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe value of the path.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows 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{{ Fill id Description }}
Type: Int32
Parameter Sets: (All)
Aliases: entryId
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://developer.connectwise.com/Products/Manage/REST#/TimeEntries