Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • May 13 10:14
    Manikmp23 commented #710
  • May 13 09:47
    lucdekens commented #710
  • May 13 09:46
    lucdekens commented #710
  • May 13 08:18
    Manikmp23 commented #710
  • May 11 13:11
    lucdekens labeled #710
  • May 11 13:11
    lucdekens labeled #708
  • May 11 13:11
    lucdekens commented #704
  • May 11 13:10
    lucdekens labeled #704
  • May 11 13:09
    lucdekens commented #710
  • May 11 13:07
    lucdekens commented #708
  • May 11 13:03
    lucdekens commented #711
  • May 11 13:03
    lucdekens labeled #711
  • May 11 13:02
    lucdekens commented #712
  • May 11 13:00
    lucdekens labeled #712
  • May 10 20:19
    ishintaro12 opened #712
  • May 05 03:31
    rachappachalmi edited #711
  • May 05 02:50
    rachappachalmi opened #711
  • May 01 07:22
    Manikmp23 opened #710
  • Apr 21 07:08
    dploeger opened #709
  • Apr 15 19:27
    pratikprays edited #708
Kevin Kirkpatrick
@alanrenouf Do you know if it's possible to reuse/pass an authenticated PowerCLI session into a child .NET runspace, in order to be used for async' script execution?
Alan Renouf
I normally pass the
Whoops hit enter too fast, I normally pass the session secret and use that to connect to the vcenter server $session = $global:DefaultVIServer.sessionsecret
Then connect-viserver VC -session $session
If your doing this for jobs go careful, I had vCheck working with jobs but it takes a lot of resources from the client machine and kills the process.
I mean specifically for vCheck that is, not jobs in general
Kevin Kirkpatrick
@alanrenouf Cool; that's what I was thinking, as far as method. I thought about using it for vCheck, but I am working on a reasonably high priority request and I think seperate .NET runspaces could potentially eliminate some unnecessary overhead. That said, I'm going to keep a closer eye out on resource consumption, per your comment. Thanks a lot :thumbsup:
Anyone available for assistance configuring this to run as scheduled task. I must be missing something, or at least right direction for debug?
The usual problem for running as a scheduled task is if you have the vCenter Services/Events plugins enabled and running as a different user. You need to run Powershell as the user that is running the task and run vCheck manually first, this will create the credential file.
I see that this script is meant to be used for only specific uses vsphere, exchange, vcenter audit... Why not make this more generic
And let the plugins fetch results from: exchange, vsphere, ADS, SQL, and such?
This is definitely on the to do list, but requires quite a bit of work to do properly. Technically this is possible now, if you structure your plugins folder appropriately.
Alan Renouf
Exactly, it works at the moment but what would you want to see @Proxx ? an initial selection of which product to check?
Alan Renouf
The HTML framework was adapted along time ago to basically make it easy to report on any PowerShell script that creates an output
Personally I would like to see the GUI config completed as in this case it would be so much easier to configure, especially as the plugins are now getting more and more.
BTW, there is a video at the end of this post here which shows me making a random vCheck for something simple in PowerShell using the framework...
Yeah, the config GUI and changes to the settings (to facilitate easier updates) would be definitely the top of the list. This is more of a nice to have, and could trim down the execution time and resource usage by only fetching information that is required by plugins.
Alan Renouf
Maybe we should share a PowerShell studio project in the Github repo as well so we can start building the GUI, I have a few ideas
the Get-HMTLTable accepts $FormatRules. can i use this parameter from a plugin?
sorry must have overlooked the $TableFormat :-1:
my bad
Michel Zehnder
Has anyone thought about doing stuff multithreaded? Especially 79 - find uncontrolled snapshots
This does take a long time to complete
Yeah, it's certainly something worth considering at some point.
Dan Rowe
I have done multi-processing for 79 - find uncontrolled snapshots and other plugins.
Hi All
Running with all plugins takes considerable amount of time
can we disable few plugins which are not required
Mohammed Amir Khan
Hi all, Iam trying to install the vcheck from nuget package manager in visual studio and getting this error. Can anyone help me out:
Severity Code Description Project File Line Suppression State
Error Could not install package 'vCheck 6.23.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
cloud your please help me out which version does vcheck supports