Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like


6,148 views

If this is your first visit, take your time and look around. Here are some things you might be looking for:

Do you like my work? Did my work help you?

  • Leave a comment and tell me how it was usefull to you.
  • If you want you can make a donation with the Paypal Donate Button in the right Sidebar.

Thank you!

  • Comments Off
  • Filed under: Uncategorized
  • 227 views

    ShareFileLogoThe Citrix ShareFile Sync application is quite limited in functionality, one of those limitations is that you can only synchronize to a single (one) local folder.

    As Helge Klein wrote in his excellent article "Configuring Citrix ShareFile Sync from PowerShell" this is simply a GUI restriction and not a restriction in the actual ShareFile sync engine.

    Helge describes that you can easily do this in PowerShell with the following example:

    While the command was accepted, nothing was synchronized.

    Read the rest of this entry »

    115 views

    Twitter has opened access to Analytics for all users. However when you use an Ad Blocker, like Adblock Plus, you’ll get the following error:

    A problem occurred while loading the page. To use this site, you need to disable AdBlock or any other ads-blocking extension you are using, or customize it to show ads on this site

    For Adblock Plus you can fix this by adding a filter: go to Filter Preferences and on the "Custom filters" tab add a new filter within a filter group (or create a filter group for this rule).

    Use this as a filter rule:

    @@||ads.twitter.com/stylesheets/ads-allow.css

    SNAGHTMLea2974c

    And don’t forget to Enable the rule!

    EDIT: Twitter user @Ertraeglichkeit mentioned a different method:

    Read the rest of this entry »

    1,828 views

    Ini File IconThis morning Aaron Parker was wondering if Hash Tables could be used to work with ini files:

    Aaron Parker | @stealthpuppy | @remkoweijnen @msh_dave need to see if this approach works for editing INI files

    I thought it was a great idea because in Hash Tables you can use the . operator to get or set a Hash Table entry. But I wondered what to do with sections in ini files. Then I got the idea to use nested Hash Tables for that.

    The result is two functions, one to read an ini file into a nested Hash Table and one function to write it back to an ini file.

    Read the rest of this entry »

    231 views

    In a PowerShell script I needed to sort a hash table by byte value (not alphabetically, lowercase parameters will be listed after uppercase ones). An example for this requirement is the Amazon Product Advertising API.

    Consider the following hashtable as an example:

    If we use the Sort-Object to order the list (note that we need to use the GetEnumerator method):

    We will get the following result:

    If you use the -CaseSensitive switch the resulting order will remain the same.

    Read the rest of this entry »

    793 views

    To get the best performance out of Virtual Desktops it is essential that the power configuration in the system BIOS and the HyperVisor are configured for maximum performance.

    Many people have blogged about the importance of these settings like, Andrew Wood, Helge Klein and Didier Van Hoye. So I will not go into details again.

    But how do you check from a Virtual Machine if you are actually running at full clock speed or not?

    I have written a PowerShell script to do just that (requires at least PowerShell v3).

    Here are some screenshots:

    Running with "High Performance profile":

    CPU Clock Speed with d"High Performanced" Power Profile

    Running with "Balanced" power profile:

    CPU Clock Speed with High Performance Balanced Profile

    Read the rest of this entry »

  • 1 Comment
  • Filed under: PowerShell
  • 179 views

    System Center Operations Manager LogoIn a SCOM Management Pack Custom Properties can be used for Alert Description and Notification as described in this blog by Kevin Holman.

    In my case I wanted to add the Display Name and the Performance Counter Value in a Performance Threshold Monitor. In XML it would look this this:

    But how to add these parameters when using the System Center 2012 Visual Studio Authoring Extensions?

    Read the rest of this entry »

    495 views

    Sophos UTM IconI am currently implementing Sophos UTM and I quite like this solution. It is free up for home usage and can easily be installed on a hypervisor.

    I wanted to scan encrypted traffic (ssl) as well so I activated the "Decrypt and scan" option:

    image

    When testing this on one of my iPad’s I noticed that the App Store didn’t work properly anymore.

    When I tried to update applications I got the following error: "Cannot connect to iTunes Store". Additionally when I searched for Apps the search would return no results.

    Read the rest of this entry »

    86 views

    System Center Operations Manager LogoToday I encounterd what seems to be a bug in the System Center 2012 Visual Studio Authoring Extensions. I wanted to define a Performance Collection Rule that reads out the percentage of free memory from an SNMP device.

    Since the device returns only the percentage of used memory I needed to use the ComputedPerfProvider provider to substract the used memory percentage from 100.

    I could of course report used memory instead of free memory but I wanted the resulst to appear in the default SCOM Performance View, which only lists Free Memory:

    System Center Operations Manager | Default Performance View

    Read the rest of this entry »

    169 views

    System Center Operations Manager LogoI am currently working on a Management Pack for SCOM and I have studies a few examples on adding processor and memory counters.

    These examples all reference a Management Pack named "System.NetworkManagement.Monitoring.mp" but this Management Pack is not bundled with the System Center 2012 Visual Studio Authoring Extensions.

    Read the rest of this entry »

    Profile

    Tags

    Views

      Donate


      Blogroll


      Categories


      Archives