external help file | Module Name | online version | schema |
---|---|---|---|
Intersight.PowerShell.dll-Help.xml |
Intersight.PowerShell |
2.0.0 |
Remove the SmtpPolicy
Remove-IntersightSmtpPolicy -Moid <String> [<CommonParameters>]
Delete a 'SmtpPolicy' resource.
PS C:\> Remove-IntersightSmtpPolicy -Moid "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
Above cmdlet removes the specified SmtpPolicy
PS C:\>Get-IntersightSmtpPolicy -Name "MoName"| Remove-IntersightSmtpPolicy
Above cmdlet pipes the output of Get cmdlet to Remove cmdlet
Specifyies the Moid of SmtpPolicy.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.