CmdID / PowerShell / Cmdlets / New
New-MgDeviceManagementManagedDeviceWindowsProtectionStateDetectedMalwareState
Create new navigation property to detectedMalwareState for deviceManagement Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-AdditionalInformationUrlInformation URL to learn more about the malware-AdditionalPropertiesAdditional Parameters-BodyParameterMalware detection entity.-BreakWait for .NET debugger to attach-CategoryMalware category id-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DetectionCountNumber of times the malware is detected-DisplayNameMalware name-ExecutionStateMalware execution status-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-InitialDetectionDateTimeInitial detection datetime of the malware-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-LastStateChangeDateTimeThe last time this particular threat was changed-ManagedDeviceIdThe unique identifier of managedDevice-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-SeverityMalware severity-StateMalware current status-ThreatStateMalware threat status-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.