Redgate Monitor 14

Help for older versions available.

Where are you using Redgate Monitor? (pick the closest answer)

Remove-RedgateMonitorSshPrivateKey

Removes a SSH private key.

Syntax

  1. Remove-RedgateMonitorSshPrivateKey [-SshPrivateKey] <SshPrivateKey> [<CommonParameters>]
  2.  

Description

Removes a SSH private key previously retrieved using Get-RedgateMonitorSshPrivateKey.

Parameters

-SshPrivateKey <SshPrivateKey>

SshPrivateKey to be removed

Aliases None
Required? true
Position? 1
Default Value None
Accept Pipeline Input True (ByValue)
Accept Wildcard Characters false

-ProgressAction <ActionPreference>

{{ Fill ProgressAction Description }}

Aliases None
Required? false
Position? named
Default Value None
Accept Pipeline Input False
Accept Wildcard Characters false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • [SshPrivateKey] See Get-RedgateMonitorSshPrivateKey.

Examples

-------------------------- EXAMPLE 1 --------------------------

  1. $baseMonitor = Get-RedgateMonitorBaseMonitor -Name 'us2.server'
  2. $sshPrivateKey = Get-RedgateMonitorSshPrivateKey -Name "myKey"
  3. Remove-RedgateMonitorSshPrivateKey -SshPrivateKey $sshPrivateKey


Didn't find what you were looking for?