Export-StartLayout

Export-StartLayout

Exports the layout of the Start screen.

構文

Parameter Set: Literal
Export-StartLayout [-LiteralPath] <String> [[-As] <AsFileType> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Non-literal
Export-StartLayout [-Path] <String> [[-As] <AsFileType> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Export-StartLayout cmdlet exports the layout of the Start screen of the current user. You can export layout as an .xml file to verify the layout, or you can export layout as a .bin file to modify the layout of an existing Windows image. Specify the appropriate file name extension, .bin or .xml, in the name of the file. To modify the layout of a Windows image, export the layout as a .bin file, and then import it into a Windows image by using the Import-StartLayout cmdlet.

パラメーター

-As<AsFileType>

Specifies a file type to export. このパラメーターに対して使用できる値:

-- BIN. Export as a .bin file.
-- XML. Export as an .xml file.

The default value is BIN.

エイリアス

なし

必須?

false

位置は?

2

既定値

BIN

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-LiteralPath<String>

Specifies a literal path to a layout file. Include the file name extension, .bin or .xml. This parameter does not accept the wildcard character (*). If the path includes an escape character (\), enclose the string in single quotes (').

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Path<String>

Specifies an absolute path to a layout file. Include the file name extension, .bin or .xml.

エイリアス

なし

必須?

true

位置は?

2

既定値

Current Location

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • Enum

    You can specify the following file formats:

    -- BIN. Export as a .bin file.
    -- XML. Export as an .xml file.

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Export the layout as a .bin file

This command exports the layout of the Start screen to a file named Marketing.bin in the C:\Layouts folder. The command specifies a value of BIN for the As parameter, so the cmdlet creates a .bin file.

PS C:\> Export-StartLayout -Path "C:\Layouts\Marketing.bin" -As BIN

関連トピック

Import-StartLayout