I was hoping someone may be able to help me out, I want to look into using the CCS Powershell APIs and what if any value they can add to our day to day operating processes.
Problem is the CCS standard documentation does not give any examples to start from, does anyone have any Powershell scripts they are willing to share to help get me started?
I am specifically interested in pulling back CCS data collection information and statuses.
Any help would be very much appreciated and treated in confidence.
I've attached a zip file which contains a whole bunch of working examples (they are a few years old but work fine on CCS11). Over time a few more snap-ins were released – details about them are in the release notes of the corresponding SCU/PU.
I hope this helps,
Thanks guys, really appreciate you shareing :-)
I have attached a ps1 file for using the Job Manager CCS PS snap-in to search jobs for data collection type jobs. You will have to rename the file Search-DC-Jobs.ps1 after download.
Once you have the CCS Powershell snap-ins loaded into the powershell environment, then use the get-help feature. for example to get informaiton on the move-assets cmdlet then do this:
get-help move-assets - examples
Hope that helps.