CmdID / PowerShell / Cmdlets / New
New-MgSecurityAttackSimulation
Create an attack simulation campaign for a tenant. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 37 parameters Its page in the reference
Parameters
Show its 37 parameters
-AdditionalPropertiesAdditional Parameters-AttackTechniquesimulationAttackTechnique-AttackTypesimulationAttackType-AutomationIdUnique identifier for the attack simulation automation.-BodyParametersimulation To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-CompletionDateTimeDate and time of completion of the attack simulation and training campaign.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedByemailIdentity To construct, see NOTES section for CREATEDBY properties and create a hash table.-CreatedDateTimeDate and time of creation of the attack simulation and training campaign.-DescriptionDescription of the attack simulation and training campaign.-DisplayNameDisplay name of the attack simulation and training campaign.-DurationInDaysSimulation duration in days.-EndUserNotificationSettingendUserNotificationSetting To construct, see NOTES section for ENDUSERNOTIFICATIONSETTING properties and create a hash table.-ExcludedAccountTargetaccountTargetContent To construct, see NOTES section for EXCLUDEDACCOUNTTARGET properties and create a hash table.-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.-IncludedAccountTargetaccountTargetContent To construct, see NOTES section for INCLUDEDACCOUNTTARGET properties and create a hash table.-IsAutomatedFlag that represents if the attack simulation and training campaign was created from a simulation automation flow.-LandingPagelandingPage To construct, see NOTES section for LANDINGPAGE properties and create a hash table.-LastModifiedByemailIdentity To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.-LastModifiedDateTimeDate and time of the most recent modification of the attack simulation and training campaign.-LaunchDateTimeDate and time of the launch/start of the attack simulation and training campaign.-LoginPageloginPage To construct, see NOTES section for LOGINPAGE properties and create a hash table.-OAuthConsentAppDetailoAuthConsentAppDetail To construct, see NOTES section for OAUTHCONSENTAPPDETAIL properties and create a hash table.-Payloadpayload To construct, see NOTES section for PAYLOAD properties and create a hash table.-PayloadDeliveryPlatformpayloadDeliveryPlatform-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-ReportsimulationReport To construct, see NOTES section for REPORT properties and create a hash table.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-StatussimulationStatus-TrainingSettingtrainingSetting To construct, see NOTES section for TRAININGSETTING properties and create a hash table.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.