|
| 1 | +--- |
| 2 | +external help file: |
| 3 | +online version: https://learn.microsoft.com/powershell/module/exchange/new-mailboxextendedpropertycleanuprequest |
| 4 | +applicable: Exchange Online |
| 5 | +title: New-MailboxExtendedPropertyCleanupRequest |
| 6 | +schema: 2.0.0 |
| 7 | +author: chrisda |
| 8 | +ms.author: chrisda |
| 9 | +ms.reviewer: |
| 10 | +--- |
| 11 | + |
| 12 | +# New-MailboxExtendedPropertyCleanupRequest |
| 13 | + |
| 14 | +## SYNOPSIS |
| 15 | +This cmdlet is available only in the cloud-based service. |
| 16 | + |
| 17 | +Use the New-MailboxExtendedPropertyCleanupRequest cmdlet to create extended mailbox property clean-up requests in cloud-based mailboxes. |
| 18 | + |
| 19 | +For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax). |
| 20 | + |
| 21 | +## SYNTAX |
| 22 | + |
| 23 | +``` |
| 24 | +New-MailboxExtendedPropertyCleanupRequest [[-Identity] <MailboxExtendedPropertyId>] -Properties <String> |
| 25 | + [-Confirm] |
| 26 | + [-DetectOnly] |
| 27 | + [-WhatIf] |
| 28 | + [<CommonParameters>] |
| 29 | +``` |
| 30 | + |
| 31 | +## DESCRIPTION |
| 32 | +You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions). |
| 33 | + |
| 34 | +## EXAMPLES |
| 35 | + |
| 36 | +### Example 1 |
| 37 | +```powershell |
| 38 | +{{ Add example code here }} |
| 39 | +``` |
| 40 | + |
| 41 | +{{ Add example description here }} |
| 42 | + |
| 43 | +## PARAMETERS |
| 44 | + |
| 45 | +### -Identity |
| 46 | +The Identity parameter specifies the mailbox extended property request that you want to create. |
| 47 | + |
| 48 | +```yaml |
| 49 | +Type: MailboxExtendedPropertyId |
| 50 | +Parameter Sets: (All) |
| 51 | +Aliases: |
| 52 | +Applicable: Exchange Online |
| 53 | + |
| 54 | +Required: False |
| 55 | +Position: 0 |
| 56 | +Default value: None |
| 57 | +Accept pipeline input: True (ByPropertyName, ByValue) |
| 58 | +Accept wildcard characters: False |
| 59 | +``` |
| 60 | +
|
| 61 | +### -Properties |
| 62 | +The Properties parameter specifies the mailbox property to inspect or remove. |
| 63 | +
|
| 64 | +You can specify a comma separated list of properties without spaces. |
| 65 | +
|
| 66 | +If a named property has a namespace GUID, a string name that doesn't contain `#`, and an integer type, use the following syntax |
| 67 | + |
| 68 | +`s#GUID#Name#Type` |
| 69 | + |
| 70 | +Specify the property type with the corresponding integer value: |
| 71 | + |
| 72 | +- 0: Unspecified |
| 73 | +- 1: Null |
| 74 | +- 2: Short |
| 75 | +- 3: Int16 |
| 76 | +- 3: Int32 |
| 77 | +- 4: Float |
| 78 | +- 5: Double |
| 79 | +- 5: Real64 |
| 80 | +- 6: Currency |
| 81 | +- 7: AppTime |
| 82 | +- 10: Error |
| 83 | +- 11: Boolean |
| 84 | +- 13: Object |
| 85 | +- 20: Long |
| 86 | +- 20: Int64 |
| 87 | +- 30: AnsiString |
| 88 | +- 30: String8 |
| 89 | +- 31: String |
| 90 | +- 31: Unicode |
| 91 | +- 64: SysTime |
| 92 | +- 72: Guid |
| 93 | +- 258: Binary |
| 94 | +- 4098: ShortArray |
| 95 | +- 4099: IntArray |
| 96 | +- 4100: FloatArray |
| 97 | +- 4101: DoubleArray |
| 98 | +- 4102: CurrencyArray |
| 99 | +- 4103: AppTimeArray |
| 100 | +- 4109: ObjectArray |
| 101 | +- 4116: LongArray |
| 102 | +- 4126: AnsiStringArray |
| 103 | +- 4127: StringArray |
| 104 | +- 4160: SysTimeArray |
| 105 | +- 4168: GuidArray |
| 106 | +- 4354: BinaryArray |
| 107 | + |
| 108 | +```yaml |
| 109 | +Type: String |
| 110 | +Parameter Sets: (All) |
| 111 | +Aliases: |
| 112 | +Applicable: Exchange Online |
| 113 | +
|
| 114 | +Required: True |
| 115 | +Position: Named |
| 116 | +Default value: None |
| 117 | +Accept pipeline input: False |
| 118 | +Accept wildcard characters: False |
| 119 | +``` |
| 120 | + |
| 121 | +### -Confirm |
| 122 | +The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding. |
| 123 | + |
| 124 | +- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: `-Confirm:$false`. |
| 125 | +- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding. |
| 126 | + |
| 127 | +```yaml |
| 128 | +Type: SwitchParameter |
| 129 | +Parameter Sets: (All) |
| 130 | +Aliases: cf |
| 131 | +Applicable: Exchange Online |
| 132 | +
|
| 133 | +Required: False |
| 134 | +Position: Named |
| 135 | +Default value: None |
| 136 | +Accept pipeline input: False |
| 137 | +Accept wildcard characters: False |
| 138 | +``` |
| 139 | + |
| 140 | +### -DetectOnly |
| 141 | +When enabled, we just search these properties and report any corruptions found. |
| 142 | + |
| 143 | +When disabled properties are removed from the elements they are found in. |
| 144 | + |
| 145 | +```yaml |
| 146 | +Type: SwitchParameter |
| 147 | +Parameter Sets: (All) |
| 148 | +Aliases: |
| 149 | +Applicable: Exchange Online |
| 150 | +
|
| 151 | +Required: False |
| 152 | +Position: Named |
| 153 | +Default value: None |
| 154 | +Accept pipeline input: False |
| 155 | +Accept wildcard characters: False |
| 156 | +``` |
| 157 | + |
| 158 | +### -WhatIf |
| 159 | +The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch. |
| 160 | + |
| 161 | +```yaml |
| 162 | +Type: SwitchParameter |
| 163 | +Parameter Sets: (All) |
| 164 | +Aliases: wi |
| 165 | +Applicable: Exchange Online |
| 166 | +
|
| 167 | +Required: False |
| 168 | +Position: Named |
| 169 | +Default value: None |
| 170 | +Accept pipeline input: False |
| 171 | +Accept wildcard characters: False |
| 172 | +``` |
| 173 | + |
| 174 | +### CommonParameters |
| 175 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216). |
| 176 | + |
| 177 | +## INPUTS |
| 178 | + |
| 179 | +## OUTPUTS |
| 180 | + |
| 181 | +## NOTES |
| 182 | + |
| 183 | +## RELATED LINKS |
0 commit comments