Audit PowerShell changes in event log

I was thinking the time when I was trying to automate the Storefront configuration and want to share my tips on how I discovered how to do it in this very quick post.

As you’ve probably seen in XenDesktop Studio, there’s a Powershell tab at the root level of the console. This is very helpfull when you want to automate tasks. Do it once manually, check on the Powershell tab, and adapt the code for your needs.

I wish Storefront console had the same to make my stores easier to setup. At the time of my article, no documentation was published. So I used a little GPO setting that enable Powershell logging. You juste have to know the beginning of the module name. This setting is :

 HKLM\Software\Policies\Microsoft\Windows\powershell\ModuleLogging\EnableModuleLogging

I don’t say it’s easy to read, but sometimes, it could help.

Advertisements

Citrix, mobility & virtualization @Work / father, husband & geek @home

Tagged with:
Posted in Citrix

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: