- Community Home
- >
- Software
- >
- HPE OneView
- >
- HPE OneView 8.2 - Unable to Connect-OVMgmt via po...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 01:51 PM - last edited on 05-08-2023 11:56 AM by support_s
05-04-2023 01:51 PM - last edited on 05-08-2023 11:56 AM by support_s
Receiving the error below when trying to connect OV appliance via powershell. Appliance is currently running version 8.20.00-0475724.
Tried providing username password directly as well as using a credential object.
Connect-OVMgmt -appliance fqdn or IP (tried both) -user "Administrator" -password "pw"
or
$Cred = Get-Credential -UserName Administrator -Message Password
Connect-OVMgmt -appliance xXx -Credential $Cred
Keep receveiving the error below:
Connect-OVMgmt : Invalid username or password. Enter correct credentials and retry.
At line:1 char:1
+ Connect-OVMgmt -appliance xXx -Credential ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : AuthenticationError: (Appliance:xXx:String) [Connect-OVMgmt], AuthSessionException
+ FullyQualifiedErrorId : InvalidUsernameOrPassword,Connect-OVMgmt
I have also tried to unblock-file with no luck.
unblock-file -path 'C:\Program Files\WindowsPowerShell\Modules\HPEOneView.800\8.0.3439.1646\lib'
Any assistance is appreaciated.
Solved! Go to Solution.
- Tags:
- OneView
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 10:55 AM
05-08-2023 10:55 AM
SolutionSolved! The below syntax worked.
$Creds = Get-Credential
Connect-OVMgmt -Hostname "XXXXX" -Credential $Creds -AuthLoginDomain "Local"
@HPE Thanks Neha!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 08:37 PM
05-08-2023 08:37 PM
Re: HPE OneView 8.2 - Unable to Connect-OVMgmt via powershell
Hello @LGC-One,
That's awesome!
We are extremely glad to know the issue has been resolved and we appreciate you for keeping us updated.