Megosztás a következőn keresztül:


Set-CMEmailProfile

SYNOPSIS

Beállítja az e-mail-profilt.

SYNTAX

ByValue (alapértelmezett)

Set-CMEmailProfile [-AccountDomainActiveDirectory <String>] [-AccountDomainCustom <String>]
 [-AccountName <String>] [-AccountUserNameType <String>] [-AllowMessageMove <Boolean>]
 [-AllowThirdPartyApplication <Boolean>] [-Description <String>] [-EmailAddressType <String>]
 [-EnableSmime <Boolean>] [-IdentityCertificate <IResultObject>] -InputObject <IResultObject>
 [-MailSyncDays <MailNumberofDaysToSync>] [-NewName <String>] [-PassThru] [-SigningCertificate <IResultObject>]
 [-SupportedPlatform <IResultObject[]>] [-SyncContentType <EasProfileSyncContentType>]
 [-SynchronizeRecentlyUsed <Boolean>] [-SyncSchedule <Schedule>] [-UseSsl <Boolean>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

ById (ById)

Set-CMEmailProfile [-AccountDomainActiveDirectory <String>] [-AccountDomainCustom <String>]
 [-AccountName <String>] [-AccountUserNameType <String>] [-AllowMessageMove <Boolean>]
 [-AllowThirdPartyApplication <Boolean>] [-Description <String>] [-EmailAddressType <String>]
 [-EnableSmime <Boolean>] -Id <Int32> [-IdentityCertificate <IResultObject>]
 [-MailSyncDays <MailNumberofDaysToSync>] [-NewName <String>] [-PassThru] [-SigningCertificate <IResultObject>]
 [-SupportedPlatform <IResultObject[]>] [-SyncContentType <EasProfileSyncContentType>]
 [-SynchronizeRecentlyUsed <Boolean>] [-SyncSchedule <Schedule>] [-UseSsl <Boolean>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

ByName (Név szerint)

Set-CMEmailProfile [-AccountDomainActiveDirectory <String>] [-AccountDomainCustom <String>]
 [-AccountName <String>] [-AccountUserNameType <String>] [-AllowMessageMove <Boolean>]
 [-AllowThirdPartyApplication <Boolean>] [-Description <String>] [-EmailAddressType <String>]
 [-EnableSmime <Boolean>] [-IdentityCertificate <IResultObject>] [-MailSyncDays <MailNumberofDaysToSync>]
 -Name <String> [-NewName <String>] [-PassThru] [-SigningCertificate <IResultObject>]
 [-SupportedPlatform <IResultObject[]>] [-SyncContentType <EasProfileSyncContentType>]
 [-SynchronizeRecentlyUsed <Boolean>] [-SyncSchedule <Schedule>] [-UseSsl <Boolean>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

A Set-CMEmailProfile parancsmag frissíti a Exchange ActiveSync protokoll e-mail-profil beállításait.

Megjegyzés

Futtassa Konfigurációkezelő parancsmagokat a Konfigurációkezelő hely meghajtóról, például: PS XYZ:\> . További információ: Első lépések.

EXAMPLES

1. példa: Profil frissítése név alapján

PS XYZ:\> Set-CMEmailProfile -Name "EmailProfile1" -NewName "newEmailProfile1"

Ez a parancs frissíti a Exchange ActiveSync protokoll e-mail-profil nevét az EmailProfile1-ről a newEmailProfile1-re.

2. példa: Profil frissítése azonosító alapján

PS XYZ:\> Set-CMEmailProfile -Id 16795654 -NewName "newEmailProfile2"

Ez a parancs frissíti a Exchange ActiveSync protokoll e-mail-profil nevét a newEmailProfile2 16795654 azonosítójával.

3. példa: Profil frissítése bemeneti objektumként

PS XYZ:\> $EmailProfile = Get-CMEmailProfile -Name "EmailProfile3"
PS XYZ:\> Set-CMEmailProfile -InputObject $EmailProfile -NewName "newEmailProfile3"

Az első parancs le Exchange ActiveSync protokoll EmailProfile3 nevű e-mail profilobjektumot, és az objektumot a $EmailProfile tárolja.

A második parancs a $EmailProfile e-mail profil nevét módosítja.

4. példa: Profil frissítése a folyamat használatával

PS XYZ:\> Get-CMEmailProfile -Name "EmailProfile4" | Set-CMEmailProfile -NewName "newEmailProfile4"

Ez a parancs lekérte Exchange ActiveSync protokoll EmailProfile4 nevű e-mail profilobjektumot, és a folyamat operátorával adja át az objektumot a Set-CMEmailProfile parancsnak, amely az e-mail profilobjektum nevét newEmailProfile4-re módosítja.

PARAMETERS

-AccountDomainActiveDirectory

A fióktartomány Active Directory meg. Az érvényes értékek a következők:

  • domain
  • ntdomain (tartomány)
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: domain, ntdomain

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccountDomainCustom

Egyéni fióktartományt ad meg. Ez a paraméter csak akkor használható, ha az sAMAccountName értéke meg van adva az AccountUserNameType paraméterhez.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccountName (Fióknév)

Megadja az e-mail-fiók megjelenítendő nevét.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccountUserNameType

Megadja a fiók felhasználónevének típusát. Az érvényes értékek a következők:

  • Levelezés
  • sAMAccountName
  • userPrincipalName
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: mail, sAMAccountName, userPrincipalName

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AllowMessageMove

Jelezze, hogy a felhasználók áthelyezhetnek-e e e-mail üzeneteket az eszközükön konfigurált különböző fiókok között.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AllowThirdPartyApplication

Azt jelzi, hogy a felhasználók küldhetnek-e e-maileket bizonyos nem alapértelmezett, külső e-mail-alkalmazásokból.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Jóváhagyást kér a parancsmag futtatása előtt.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Description (Leírás)

Megadja az e-mail-Exchange ActiveSync protokoll leírását.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

Ez a paraméter literál karakterértékekként kezeli a helyettesítő karaktereket. Nem kombinálhatja a ForceWildcardHandling használatával.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EmailAddressType

Megadja az e-mail-cím típusát. Az érvényes értékek a következők:

  • Levelezés
  • userPrincipalName
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: mail, userPrincipalName

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EnableSmime (Engedélyezések engedélyezése)

Azt jelzi, hogy a kimenő e-maileket S/MIME titkosítással küldi-e a rendszer.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

Ez a paraméter feldolgozza a helyettesítő karaktereket, és váratlan viselkedéshez vezethet (nem ajánlott). Nem kombinálhatja a DisableWildcardHandling kártyával.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id (Azonosító)

Megadja CI_ID e-mail-Exchange ActiveSync protokoll e-mail-profilhoz.

Type: Int32
Parameter Sets: ById
Aliases: CI_ID, CIId

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IdentityCertificate

Egy identitás-tanúsítványobjektumot ad meg. Identitás tanúsítványobjektumának beszerzéséhez használja a Get-CMConfigurationPolicy parancsmagot.

Type: IResultObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Egy e-Exchange ActiveSync protokoll-profilobjektumot ad meg. E-mail profilobjektum beszerzéséhez használja a Get-CMEmailProfile függvényt.

Type: IResultObject
Parameter Sets: ByValue
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-MailSyncDays

Megadja, hogy hány napig legyen szinkronizálva az e-mail. Az érvényes értékek a következők:

  • Korlátlan
  • OneDay (Nap)
  • Háromnapos
  • Egy hét
  • Két hét
  • OneMonth (Egy hónap)
Type: MailNumberofDaysToSync
Parameter Sets: (All)
Aliases:
Accepted values: Unlimited, OneDay, ThreeDays, OneWeek, TwoWeeks, OneMonth

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Egy e-mail-profil Exchange ActiveSync protokoll meg.

Type: String
Parameter Sets: ByName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NewName (Új név)

Új nevet ad meg a Exchange ActiveSync protokoll e-mail-profilhoz.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Adja hozzá ezt a paramétert, hogy visszaadja az objektumot, amely azt az elemet jelöli, amellyel dolgozik. Alapértelmezés szerint ez a parancsmag nem generál kimenetet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SigningCertificate

Egy S/MIME-aláíráshoz használt aláíró tanúsítványobjektumot ad meg. Aláíró tanúsítványobjektum beszerzéséhez használja a Get-CMConfigurationPolicy parancsmagot.

Type: IResultObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SupportedPlatform

Megadja azokat az operációs rendszereket, amelyekre az e-mail profil telepítve lesz. Támogatott platformobjektum beszerzéséhez használja a Get-CMSupportedPlatform parancsmagot.

Type: IResultObject[]
Parameter Sets: (All)
Aliases: SupportedPlatforms

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SyncContentType

Az eszközökre szinkronizálni kíván tartalomtípust határozza meg. Az érvényes értékek a következők:

  • None
  • E-mail
  • Kapcsolattartók
  • Naptár
  • Feladatok
  • Jegyzetek
  • Mind
Type: EasProfileSyncContentType
Parameter Sets: (All)
Aliases: SyncContentTypes
Accepted values: None, Email, Contacts, Calendar, Tasks, Notes, All

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SyncSchedule

Meghatározza, hogy az eszközök milyen ütemezés szerint szinkronizálják az adatokat a Exchange Server.

  • Kézi
  • FifteenMins (15 perc)
  • ThirtyMins (30 perc)
  • SixtyMins (60 perc)
  • AsArrive
Type: Schedule
Parameter Sets: (All)
Aliases:
Accepted values: Manual, FifteenMins, ThirtyMins, SixtyMins, AsArrive

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SynchronizeRecentlyUsed

Azt jelzi, hogy az eszközön legutóbb használt e-mail-címek listája szinkronizálva van-e.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UseSsl

Jelzi, SSL (SSL) kommunikáció használatos-e az e-mailek küldésekor, fogadásakor és a kommunikáció során a Exchange Server.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Bemutatja, mi történne a parancsmag futtatásakor. A parancsmag nem fut.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

Ez a parancsmag a következő általános paramétereket támogatja: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction és -WarningVariable. További információ: about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

System.Object

MEGJEGYZÉSEK

Get-CMConfigurationPolicy

Get-CMEmailProfile

Get-CMSupportedPlatform

New-CMEmailProfile