< Back

New-DeviceManagement_TermsAndConditions

Sat Jan 18, 2020 12:26 pm

NAME New-DeviceManagement_TermsAndConditions



SYNOPSIS

Creates a "microsoft.graph.termsAndConditions" object.





SYNTAX

New-DeviceManagement_TermsAndConditions [-acceptanceStatement <string>] [-acceptanceStatuses <object[]>]

[-assignments <object[]>] [-bodyText <string>] [-createdDateTime <DateTimeOffset>] [-description <string>]

[-displayName <string>] [-lastModifiedDateTime <DateTimeOffset>] [-title <string>] [-version <int>]

[<CommonParameters>]



New-DeviceManagement_TermsAndConditions -ODataType <string> [-acceptanceStatement <string>] [-acceptanceStatuses

<object[]>] [-assignments <object[]>] [-bodyText <string>] [-createdDateTime <DateTimeOffset>] [-description

<string>] [-displayName <string>] [-lastModifiedDateTime <DateTimeOffset>] [-title <string>] [-version <int>]

[<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.termsAndConditions" object to the "termsAndConditions" collection.



The terms and conditions associated with device management of the company.



Graph call: POST ~/deviceManagement/termsAndConditions





PARAMETERS

-createdDateTime <DateTimeOffset>

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



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



DateTime the object was created.



Required? false

Position? named

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

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-lastModifiedDateTime <DateTimeOffset>

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



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



DateTime the object was last modified.



Required? false

Position? named

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

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-displayName <string>

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



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



Administrator-supplied name for the T&C policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-description <string>

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



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



Administrator-supplied description of the T&C policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-title <string>

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



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



Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the

T&C policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-bodyText <string>

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



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



Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to

the user on prompts to accept the T&C policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-acceptanceStatement <string>

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



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



Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept

the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C

policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-version <int>

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



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



Integer indicating the current version of the terms. Incremented when an administrator makes a change to the

terms and wishes to require users to re-accept the modified T&C policy.



Required? false

Position? named

Default value 0

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-assignments <object[]>

The "assignments" property, of type "microsoft.graph.termsAndConditionsAssignment".



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



The list of assignments for this T&C policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-acceptanceStatuses <object[]>

The "acceptanceStatuses" property, of type "microsoft.graph.termsAndConditionsAcceptanceStatus".



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



The list of acceptance statuses for this T&C policy.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

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

System.DateTimeOffset

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



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



DateTime the object was created.



System.DateTimeOffset

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



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



DateTime the object was last modified.



System.String

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



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



Administrator-supplied name for the T&C policy.



System.String

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



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



Administrator-supplied description of the T&C policy.



System.String

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



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



Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the

T&C policy.



System.String

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



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



Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to

the user on prompts to accept the T&C policy.



System.String

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



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



Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept

the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C

policy.



System.Int32

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



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



Integer indicating the current version of the terms. Incremented when an administrator makes a change to the

terms and wishes to require users to re-accept the modified T&C policy.



System.Object[]

The "assignments" property, of type "microsoft.graph.termsAndConditionsAssignment".



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



The list of assignments for this T&C policy.



System.Object[]

The "acceptanceStatuses" property, of type "microsoft.graph.termsAndConditionsAcceptanceStatus".



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



The list of acceptance statuses for this T&C policy.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK