Skip to main content

I am curious if anyone else in the community has attempted to leverage PowerShell to bulk create xml files for application group items based on results from exporting analytics?

I have recently began working towards setting up my organization with a test policy to provide more restrictive settings and exceptions and currently trying to do these in bulk through web policy editor is not very fun. I know there are likely enhancements coming in this regard, but without a tentative release date I have a mountain of work ahead of myself as the sole individual administering the application for an organization.

This got me thinking more along the lines of bulk creation to import the settings into the PMC policy leveraging PowerShell and CSV exports from analytics. 

 

Reason I bring this up, I have over 150k unique applications from 26k publishers that will eventually be in the policy in various high, medium, low, block process, with leveraging JIT as a means for unknown applications pumped through Service Now to generate the evaluation of the applications and determination if they should be added to the High, Medium, Low, Block lists.

That sounds like a really valid use-case but I’m not aware of way to import snippets of xml in the the policy. 

I just had a quick check on the ideas portal but can’t see anything that matches this. I suggest adding an idea so product management can get visibility. It would be a very popular feature!

 

 


The copy/paste on the Applications grid is in XML format and accepts multiple entries.
It’s not what you’re after but will work for small numbers of apps.
Not quite intended for insertion of user generated XML as it’s easy to make mistakes but it can be done.


That sounds like a really valid use-case but I’m not aware of way to import snippets of xml in the the policy. 

I just had a quick check on the ideas portal but can’t see anything that matches this. I suggest adding an idea so product management can get visibility. It would be a very popular feature!

 

So as JoeC mentioned, anytime you copy from the policy its in an XML format. So I figured rather than recreating the wheel I would ask if anyone else has already done something like this, as I know the Solutions Engineer’s tend to come up with some personal shortcuts at times :)

 

The copy/paste on the Applications grid is in XML format and accepts multiple entries.
It’s not what you’re after but will work for small numbers of apps.
Not quite intended for insertion of user generated XML as it’s easy to make mistakes but it can be done.

While it would technically be user generated, it would be systemically created using values from the system in the identical format the system expects, or so that's my thought behind it at least.


Reply