How to use Script resource to verify Packageprovider

Welcome Forums DSC (Desired State Configuration) How to use Script resource to verify Packageprovider

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
2 years, 1 month ago.

  • Author
    Posts
  • #60681
    GS

    Participant
    Points: 12
    Rank: Member

    Hello,

    There is no DSC resource available for packageprovider and I need to have Nuget package provider available. I'm not sure what is most effective way to use Test{} method since invocation of this method takes pretty long time and does not return $true or $false either.

    Thanks,
    GS

  • #60889

    Keymaster
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    You may want to provide some more details. "Test" could just check for a specific file, for instance; you mention "invocation of this method" but I'm not sure what method you're writing about.

The topic ‘How to use Script resource to verify Packageprovider’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort