-
- Expert
- Posts: 137
- Liked: 8 times
- Joined: Dec 23, 2020 4:43 pm
- Full Name: Becki Kain
- Contact:
credentials for netapp storage
this is a product request/question if it's veeam 11 - it doesn't appear you can query get-netapphost to get the credentials used to mount the netapp storage and the only way to get credentials for the storage is get-credentials, which gives the whole vbr. Can we request get-netapphost to show everything the gui shows?
thanks
Becki Kain
thanks
Becki Kain
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: credentials for netapp storage
Hi Becki,
You can get credentials for NetApp host calling GetConnectionCredentials method():
Thanks,
Oleg
You can get credentials for NetApp host calling GetConnectionCredentials method():
Code: Select all
$netApp = Get-NetApphost
$netApp.GetConnectionCredentials()
Oleg
-
- Expert
- Posts: 137
- Liked: 8 times
- Joined: Dec 23, 2020 4:43 pm
- Full Name: Becki Kain
- Contact:
Re: credentials for netapp storage
thanks, that works but doesn't say for which connection each credential is. ours are all the same, for vbr to netapp, but if we had four different service accounts, you couldn't tell which connection was which credential. thanks
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: credentials for netapp storage
True, but you can get the credential id precisely with another method:
Thanks!
Code: Select all
$netApp = Get-NetApphost
$netApp.GetConnCredsId()
-
- Expert
- Posts: 137
- Liked: 8 times
- Joined: Dec 23, 2020 4:43 pm
- Full Name: Becki Kain
- Contact:
Re: credentials for netapp storage
that gives me a hex GUID dump. but thanks
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: credentials for netapp storage
You can then use that guid to parse credential object:
Thanks!
Code: Select all
$credsId = $netApp.GetConnCredsId()
$creds = Get-VBRCredential | where {$_.Id -eq $credsId}
Who is online
Users browsing this forum: No registered users and 7 guests