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

PI Powershell

RemoveTrustedProvider Class

  • Last UpdatedDec 15, 2025
  • 2 minute read
RemoveTrustedProvider Class

Removes the specified trusted provider subject name from the list of trusted providers in the PISystem.

This method is used to remove the specified trusted provider subject name from the list of trusted providers in the PISystem. This list is used when validating the AFPlugin being loaded from the server when the plugin verify level is AFVerifySignatureLevel.RequireSignedTrustedProvider.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellRemoveTrustedProvider

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[CmdletAttribute("Remove", "AFTrustedProvider", SupportsShouldProcess = true)]
public class RemoveTrustedProvider : OSICmdletBase
<CmdletAttribute("Remove", "AFTrustedProvider", SupportsShouldProcess := true)>
Public Class RemoveTrustedProvider
	Inherits OSICmdletBase

Dim instance As RemoveTrustedProvider
[CmdletAttribute(L"Remove", L"AFTrustedProvider", SupportsShouldProcess = true)]
public ref class RemoveTrustedProvider : public OSICmdletBase
[<CmdletAttribute("Remove", "AFTrustedProvider", SupportsShouldProcess = true)>]
type RemoveTrustedProvider =  
    class
        inherit OSICmdletBase
    end

The RemoveTrustedProvider type exposes the following members.

Constructors

  NameDescription
Public method
RemoveTrustedProvider

Properties

  NameDescription
Public property
AFServer

Instance of the AFServer

Public property
ProviderName

Name of the Trusted Provider to add

Examples

$afServer | Remove-AFTrustedProvider -ProviderName "SampleProviderName"

Where:

$afServer = Get-AFServer -Name "AFServerMachineName"

Removes the "SampleProviderName" provider as a trusted provider in PISystem specified by the AFServer.

See Also

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