AddTrustedProvider Class
- Last UpdatedDec 15, 2025
- 2 minute read
Add a Trusted Provider in the PISystem
The Add-AFTrustedProvider cmdlet allows you to add the specified trusted provider subject name to the list of trusted providers in the PISystem.
Inheritance Hierarchy
SystemObject
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellAddTrustedProvider
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellAddTrustedProvider
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[CmdletAttribute("Add", "AFTrustedProvider", SupportsShouldProcess = true)] public class AddTrustedProvider : OSICmdletBase
<CmdletAttribute("Add", "AFTrustedProvider", SupportsShouldProcess := true)> Public Class AddTrustedProvider Inherits OSICmdletBase Dim instance As AddTrustedProvider
[CmdletAttribute(L"Add", L"AFTrustedProvider", SupportsShouldProcess = true)] public ref class AddTrustedProvider : public OSICmdletBase
[<CmdletAttribute("Add", "AFTrustedProvider", SupportsShouldProcess = true)>] type AddTrustedProvider = class inherit OSICmdletBase end
The AddTrustedProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AddTrustedProvider |
Properties
| Name | Description | |
|---|---|---|
| AFServer | Instance of the AFServer | |
| ProviderName | Name of the Trusted Provider to add |
Examples
$afServer | Add-AFTrustedProvider -ProviderName "SampleProviderName"Where:
$afServer = Get-AFServer -Name "AFServerMachineName"
Adds the "SampleProviderName" provider as a trusted provider in PISystem specified by the AFServer