< Back

New-UserSecurityStateObject

Sat Jan 18, 2020 1:43 pm

NAME New-UserSecurityStateObject



SYNOPSIS

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





SYNTAX

New-UserSecurityStateObject [-aadUserId <string>] [-accountName <string>] [-domainName <string>] [-emailRole

<string>] [-isVpn <bool>] [-logonDateTime <DateTimeOffset>] [-logonId <string>] [-logonIp <string>]

[-logonLocation <string>] [-logonType <string>] [-onPremisesSecurityIdentifier <string>] [-riskScore <string>]

[-userAccountType <string>] [-userPrincipalName <string>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-aadUserId <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-accountName <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-domainName <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-emailRole <string>

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



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



Valid values: 'unknown', 'sender', 'recipient', 'unknownFutureValue'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-isVpn <bool>

The "isVpn" property, of type "Edm.Boolean".



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



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-logonDateTime <DateTimeOffset>

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



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



Required? false

Position? named

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

Accept pipeline input? false

Accept wildcard characters? false



-logonId <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-logonIp <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-logonLocation <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-logonType <string>

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



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



Valid values: 'unknown', 'interactive', 'remoteInteractive', 'network', 'batch', 'service',

'unknownFutureValue'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-onPremisesSecurityIdentifier <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-riskScore <string>

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



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



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userAccountType <string>

The "userAccountType" property, of type "microsoft.graph.userAccountSecurityType".



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



Valid values: 'unknown', 'standard', 'power', 'administrator', 'unknownFutureValue'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userPrincipalName <string>

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



This property is on the "microsoft.graph.userSecurityState" 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