Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

SetAFDatabase Properties

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFDatabase Properties

The SetAFDatabase type exposes the following members.

Properties

  NameDescription
Public property
AFDatabase

AFDatabase object representing the AF Database to set. Can be obtained with Get-AFDatabase.

Run "Get-Help Get-AFDatabase -Examples" for more information and sample usage.

Public property
Default

Set the AF Database to be the default database for the associated AF Server

Public property
DefaultPIServerName

Default PI Server for the Database

Public property
Description

Description of the AF Database

Public property
NewName

New name of the AF Database

Public property
PassThru

Returns objects that were changed. By default, this cmdlet does not generate any output

See Also

TitleResults for “How to create a CRG?”Also Available in