Start-OBRegistration

Start-OBRegistration

Registers the current computer with using the vault credentials downloaded during enrollment.

语法

Parameter Set: Default
Start-OBRegistration [-VaultCredentials] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

详细说明

The Start-OBRegistration cmdlet registers the server with using the vault credentials downloaded during enrollment.

This cmdlet supports WhatIf and Confirm parameters with a high impact. The high impact signifies that the cmdlet will prompt the user for confirmation by default. The WhatIf parameter gives a verbose description of what the cmdlet does without performing any operation. The Confirm parameter specifies whether the cmdlet should prompt the user. Using –Confirm:$FALSE will override the prompt.

参数

-VaultCredentials<String>

Specifies a vault credentials file. You must include the full path to the file and the file name.

别名

是否为必需?

true

位置?

2

默认值

是否接受管道输入?

True (ByValue)

是否接受通配符?

false

-Confirm

运行 cmdlet 之前提示你进行确认。

是否为必需?

false

位置?

named

默认值

false

是否接受管道输入?

false

是否接受通配符?

false

-WhatIf

显示如果运行 cmdlet 则会发生什么情况。cmdlet 未运行。

是否为必需?

false

位置?

named

默认值

false

是否接受管道输入?

false

是否接受通配符?

false

<CommonParameters>

此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

输入

输入类型是指可通过管道传送给 cmdlet 的对象的类型。

  • None

输出

输出类型是 cmdlet 所发出对象的类型。

  • None

示例

Example 1: Register a server

This example starts computer registration by using the vault credentials stored in the location specified.

PS C:\> Start-OBRegistration –VaultCredentials "D:\CredentialsFile. vaultcredentials"

相关主题

ConvertTo-SecureString

New-Object