CmdID / PowerShell / Cmdlets / New
New-ServicePrincipal
Use the New-ServicePrincipal cmdlet to create service principals in your cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-AppIdThe AppId parameter specifies the unique AppId GUID value for the service principal.-ObjectIdThe ObjectId parameter specifies the unique ObjectId GUID value for the service principal.-ServiceIdThis parameter is being deprecated.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DisplayNameThe DisplayName parameter specifies the friendly name of the service principal.-OrganizationThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.