New issue
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
Get-PvsDiskInfo : The specified vDisk does not exist. #18
Comments
Does it fail completely? Or continues?
For some of machines (the ones with no vdisk assigned) in my infra, it also
fails, but the report continues on.
|
wow. fast response. no the report doesn't continue. (But I have no device with a vdisk assigned - I have not even a vdisk) |
So quick workaround would be adding "-ea silentlycontinue" with no quotes
after every invoke of Get-PvsDiskInfo as another parameter.
This may cause some problems in the script.
I did not have an opportunity to test it on 7.13
I may need to deploy one on test environment.
|
Thanks. |
Read the prerequisites in the powershell script... You have to register a DLL, the command you have to run is listed in the powershell scrip.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Patrick Matula <notifications@github.com>
Sent: Monday, May 29, 2017 4:01:07 AM
To: sacha81/citrix-pvs-healthcheck
Cc: Subscribed
Subject: [sacha81/citrix-pvs-healthcheck] Get-PvsDiskInfo : The specified vDisk does not exist. (#18)
Hello,
I've a new pvs 7.13 server and imported the devices without a vdisk assignment.
When I start the script I get the message:
PS C:\scripts> .\Citrix-PVS77-Farm-Health-toHTML.ps1
Begin with Citrix Provisioning Services HealthCheck
Read some PVS Farm Parameters
Check PVS Target Devices
xenapp01
Collection: collection
Used DiskVersion: 0
Used Server:
Retry:
Retry:
Get-PvsDiskInfo : The specified vDisk does not exist.
At C:\scripts\Citrix-PVS77-Farm-Health-toHTML.ps1:705 char:15
* ... $diskinfo = Get-PvsDiskInfo -DiskLocatorId $short_diskLocatorID
*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* CategoryInfo : ObjectNotFound: (System.Collecti...ystem.String][]:KeyValuePair`2[]) [Get-PvsDiskInfo],
PvsException
* FullyQualifiedErrorId : Citrix.PVS.SnapIn.InvalidDiskLocator,Citrix.PVS.SnapIn.GetPvsDiskInfo
Is there any workaround/fix?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#18>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ASyJGLt9yD5nD0PmXUUWz2vtqwJr_h4Tks5r-olTgaJpZM4NpEI9>.
|
@ryanchauvin I don't understand what you mean? |
Run this in powershell first, just one time, then run the script from Sacha:
set-alias installutil C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe
installutil "C:\Program Files\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll"
…________________________________
From: Patrick Matula <notifications@github.com>
Sent: Monday, May 29, 2017 10:02 AM
To: sacha81/citrix-pvs-healthcheck
Cc: ryanchauvin; Mention
Subject: Re: [sacha81/citrix-pvs-healthcheck] Get-PvsDiskInfo : The specified vDisk does not exist. (#18)
@ryanchauvin<https://github.com/ryanchauvin> I don't understand what you mean?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#18 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ASyJGFVpUvzlbj01UesEfNruTsBbuvL1ks5r-t38gaJpZM4NpEI9>.
|
Well, I did this already. As I described the script works without devices. |
i need help in modifying the script to individual sites instead of using vdisk store |
Hello,
I've a new pvs 7.13 server and imported the devices without a vdisk assignment.
When I start the script I get the message:
Is there any workaround/fix?
Thanks
The text was updated successfully, but these errors were encountered: