< Back

New-ActivityHistoryItemObject

Sat Jan 18, 2020 12:08 pm

NAME New-ActivityHistoryItemObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.activityHistoryItem" (or one of its derived types).





SYNTAX

New-ActivityHistoryItemObject [-activeDurationSeconds <int>] [-activity <object>] [-createdDateTime

<DateTimeOffset>] [-expirationDateTime <DateTimeOffset>] [-lastActiveDateTime <DateTimeOffset>]

[-lastModifiedDateTime <DateTimeOffset>] [-startedDateTime <DateTimeOffset>] [-status <string>] [-userTimezone

<string>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.activityHistoryItem" (or one of its derived types).





PARAMETERS

-status <string>

The "status" property, of type "microsoft.graph.status".



This property is on the "microsoft.graph.activityHistoryItem" type.



Valid values: 'active', 'updated', 'deleted', 'ignored', 'unknownFutureValue'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-activeDurationSeconds <int>

The "activeDurationSeconds" property, of type "Edm.Int32".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-createdDateTime <DateTimeOffset>

The "createdDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-lastActiveDateTime <DateTimeOffset>

The "lastActiveDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-lastModifiedDateTime <DateTimeOffset>

The "lastModifiedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-expirationDateTime <DateTimeOffset>

The "expirationDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-startedDateTime <DateTimeOffset>

The "startedDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? false

Accept wildcard characters? false



-userTimezone <string>

The "userTimezone" property, of type "Edm.String".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-activity <object>

The "activity" property, of type "microsoft.graph.userActivity".



This property is on the "microsoft.graph.activityHistoryItem" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS