PoshCAT 0.2 version released

I just published PoshCAT 0.2 version and the changes are as follows:

· New Client Actions

o Desired Configuration Manager Cycle

o Application Machine Policy Cycle

o Application Global Evaluation Cycle

o Install ConfigMgr Client

o Get App-V Client Packages

o Get App-V Client Configuration

o Get App-V Client Version

o Enable App-V Client Package Scripts

o Get ConfigMgr Client Available Applications

o Get Applied Group Policies

o Refresh Group Policies

o Get Free Disk Space

· Alternate Credentials Support – you can specify only one account

· Active Directory Connector

· Better error handling

· Separate folder for reports

· Ability to remove multiple computers from computer list

image

You can donwload PoshCAT 0.2 version from here

Enjoy!

About the Author:

Kaido Järvemets
Configuration Manager MVP

7 Comments

  1. Sylvain August 29, 2013 at 9:34 - Reply

    When I try to load collections from my SCCM server, I get the following exception:

    Exception: Invalid parameter
    ErrorID: GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
    ScriptLineNumber: 618
    Message: At C:…Start-PoshCAT.ps1:618 char:28
    + $RootFolders = Get-WmiObject -Namespace “RootSMSSite_$($SiteCodeQu …

    I had a look to the specified line and made some test. The root cause is the evaluation of “RootSMSSite_$($SiteCodeQuery.SiteCode)”.

    Running your script in debug mode, I can see that $SiteCodeQuery.SiteCode equals the expected value. But the whole above expresssion returns an error when evaluated. If I remplace the expression directly by the expected value “SITE_XXX”, remaining part of your tool works fine.

    Any idea ?

    • Kaido Järvemets
      Kaido Järvemets August 29, 2013 at 11:00 - Reply

      Hi,

      Good question. So SMS Provider location query does not fail, if I understand correctly ? Do you have only one SMS Provider and are you running it remotly or locally on CM server?

      Best

      • Sylvain August 29, 2013 at 13:04 - Reply

        1. Yes SMS Provider location query does not fail
        2. I have 3 SMS Provider
        3. For the above trial, I tried from my primary site server itself which is also one of my SMS provider
        4. I just tried from a different server, same result

        • Kaido Järvemets
          Kaido Järvemets August 29, 2013 at 13:25 - Reply

          Now I see the issue. The problem is that you have multiple SMS Providers and it returns an Array object. I will try to fix it somehow.

          Thanks!

  2. Rudy March 5, 2014 at 16:40 - Reply

    Hi, I’m missing the wake-on-lan function which was really handy in the ClientActionsTool. Will this be added in a future release?

    Best Regards
    Rudy

    • Kaido Järvemets
      Kaido Järvemets March 8, 2014 at 20:04 - Reply

      Hi,

      Yes that is on my list.

      Best,
      Kaido

Leave A Comment