Set-SPOHomeSite

SharePoint サイトをホーム サイトとして設定します。

構文

Default (既定)

Set-SPOHomeSite
    -HomeSiteUrl <String>
    [-VivaConnectionsDefaultStart <Boolean>]
    [-Force]
    [-DraftMode <Boolean>]
    [<CommonParameters>]

説明

このコマンドレットを使用して、SharePoint サイトをホーム サイトとして設定します。 ホーム サイトとは、お客様が作成し、イントラネット内のすべてのユーザーが使用するトップ ランディング ページとして設定するコミュニケーション サイトのことです。 詳細については、「Set up a home site for your organization (組織のホーム サイトをセットアップする) を参照してください。

例

例 1

Set-SPOHomeSite -HomeSiteUrl "https://contoso.sharepoint.com/sites/homesite"
This example set the site collection at *<https://contoso.sharepoint.com/sites/homesite>* as SharePoint Online Home Site.

例 2

Set-SPOHomeSite -HomeSiteUrl "https://contoso.sharepoint.com/sites/homesite" -VivaConnectionsDefaultStart:$true
Sets the home site to the provided site collection url and keeps the Viva Connections landing experience to the SharePoint home site.

パラメーター

-DraftMode

適用対象: SharePoint Online

ホーム サイトを下書きモードに設定するかどうか。

パラメーターのプロパティ

型:System.Boolean
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Force

適用対象: SharePoint Online

確認のプロンプトを表示せずにホーム サイトを設定するかどうか。

パラメーターのプロパティ

型:System.Management.Automation.SwitchParameter
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-HomeSiteUrl

サイト コレクションの URL をホーム サイトに設定します。

パラメーターのプロパティ

型:System.String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-VivaConnectionsDefaultStart

$true に設定すると、VivaConnectionsDefaultStart パラメーターは、デスクトップ エクスペリエンスの SharePoint ホーム サイトへの Viva Connections ランディング エクスペリエンスを保持します。 $false に設定すると、Viva Connections ホーム エクスペリエンスが使用されます。 このコマンドは、モバイル エクスペリエンスには影響しません。

パラメーターのプロパティ

型:System.Boolean
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットは、共通パラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable をサポートします。 詳細については、「about_CommonParameters」を参照してください。

入力

None

出力

System.Object