Skip to content

Remove-AuvikAPICredential broken #3

@erbnatee

Description

@erbnatee

PS C:\WINDOWS\system32> Remove-AuvikAPICredential
Remove-Variable : Cannot find a variable with the name 'Auvik_User'.
At C:\Users\nate.erb\Documents\WindowsPowerShell\Modules\AuvikAPI\Internal\APICredential.ps1:41 char:5

  • Remove-Variable -Name "Auvik_User","Auvik_API_Key","Auvik_API_Cre ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Auvik_User:String) [Remove-Variable], ItemNotFoundException
    • FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand

Remove-Variable : Cannot find a variable with the name 'Auvik_API_Key'.
At C:\Users\nate.erb\Documents\WindowsPowerShell\Modules\AuvikAPI\Internal\APICredential.ps1:41 char:5

  • Remove-Variable -Name "Auvik_User","Auvik_API_Key","Auvik_API_Cre ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Auvik_API_Key:String) [Remove-Variable], ItemNotFoundException
    • FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand

Remove-Variable : Cannot find a variable with the name 'Auvik_API_Credential'.
At C:\Users\nate.erb\Documents\WindowsPowerShell\Modules\AuvikAPI\Internal\APICredential.ps1:41 char:5

  • Remove-Variable -Name "Auvik_User","Auvik_API_Key","Auvik_API_Cre ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Auvik_API_Credential:String) [Remove-Variable], ItemNotFoundException
    • FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand

PS C:\WINDOWS\system32> get-auvikapicredential

UserName Password


@xxxxx.com System.Security.SecureString

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions