Set-SPO365LinkSettings

Legen Sie SharePoint O365-Linkeinstellungen für die Hybridkonfiguration fest.

Syntax

Set-SPO365LinkSettings
   -MySiteHostUrl <String>
   [-Audiences <String[]>]
   [-RedirectSites <Boolean>]
   [-HybridAppLauncherEnabled <Boolean>]
   [-OnedriveDefaultToCloudEnabled <Boolean>]
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]

Beschreibung

Verwenden Sie das Cmdlet Set-SPO365LinkSettings , um einige Hybridfeatures (Hybridwebsiteumleitung, OneDrive-Umleitung, ODB-Standard zu Cloud) zu konfigurieren, ohne den Hybridkonfigurations-Assistenten auszuführen.

Zum Ausführen dieses Cmdlets ist die Berechtigung eines Farmadministrators erforderlich, und das Benutzerkonto hat Vollzugriff auf den Benutzerprofilanwendungsdienst.

Beispiele

------------EXAMPLE 1-----------

Set-SPO365LinkSettings -MySiteHostUrl https://contoso-my.sharepoint.com/ -RedirectSites $true

In diesem Beispiel wird die Host-URL für meine Website auf contoso-my.sharepoint.com

Parameter

-AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-HybridAppLauncherEnabled

Legt ein Kennzeichen fest, das angibt, ob das App-Startfeld Daten aus SharePoint Online (SPO) abrufen darf.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-MySiteHostUrl

Legt die Stamm-URL für die umgeleiteten Seiten fest.

Type:String
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-OnedriveDefaultToCloudEnabled

Legt ein Flag fest, das angibt, ob lokales Onedrive an SPO OneDrive umgeleitet wird.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Zielgruppen

Legt die Benutzer fest, für die die Umleitung aktiv ist.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition