We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full Operating System: win 11 VenafiPS version: 6.5 PowerShell version: 7.4.5 TLSPDC version (if applicable):
PS C:> $cred=get-credential PS C:> New-VcMachineCommonKeystore -Name 'NGINX Server 03' -Owner 'Network team' -Credential $cred -SshPassword -Hostname '10.0.1.141' -PassThru InvalidOperation: Line | 25 | … if ( $VenafiSessionNested.GetType().Name -in 'PSCustomObject', … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | You cannot call a method on a null-valued expression.
machineId : 401b0100-8672-11ef-bbc9-f716a8c02ac0 testConnection : companyId : 220e0250-c0ae-11ee-afa6-e774853f8339 name : NGINX Server 03 pluginId : 0e565e41-dd31-11ec-841d-a7d91c5a907c integrationId : 401a3c51-8672-11ef-bb5a-8c380b5ae82f edgeInstanceId : 5d8e7e00-276e-11ef-8634-ebdcba0e0fd1 creationDate : 10/9/2024 2:11:13 PM modificationDate : 10/9/2024 2:11:13 PM status : UNVERIFIED owningTeamId : 4443a6b0-fcf7-11ee-ae80-33457f188e37
machine is created, but PS shows the error.
The text was updated successfully, but these errors were encountered:
gdbarron
No branches or pull requests
Environment
Steps to reproduce
PS C:> $cred=get-credential
PS C:> New-VcMachineCommonKeystore -Name 'NGINX Server 03' -Owner 'Network team' -Credential $cred -SshPassword -Hostname '10.0.1.141' -PassThru
InvalidOperation:
Line |
25 | … if ( $VenafiSessionNested.GetType().Name -in 'PSCustomObject', …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| You cannot call a method on a null-valued expression.
machineId : 401b0100-8672-11ef-bbc9-f716a8c02ac0
testConnection :
companyId : 220e0250-c0ae-11ee-afa6-e774853f8339
name : NGINX Server 03
pluginId : 0e565e41-dd31-11ec-841d-a7d91c5a907c
integrationId : 401a3c51-8672-11ef-bb5a-8c380b5ae82f
edgeInstanceId : 5d8e7e00-276e-11ef-8634-ebdcba0e0fd1
creationDate : 10/9/2024 2:11:13 PM
modificationDate : 10/9/2024 2:11:13 PM
status : UNVERIFIED
owningTeamId : 4443a6b0-fcf7-11ee-ae80-33457f188e37
Expected behavior
Actual behavior
machine is created, but PS shows the error.
Screenshots
The text was updated successfully, but these errors were encountered: