Quantcast
Channel: Scripting / Programming – Ingmar Verheij
Browsing all 35 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Compute numeric values in arrays with System.Linq namespace

Microsoft .NET Framework can store values in an array which makes it easy to use in methods and properties. An array can contain any kind of object, but I most commonly use it to store numeric value....

View Article


Image may be NSFW.
Clik here to view.

Reverse and forward engineering databases in Visual Studio 2010

Author : Ingmar Verheij In a previous post I’ve described how you can reverse and forward engineer a database from a Microsoft SQL server to (and from Microsoft Office Visio 2010. But what if you’re...

View Article


Image may be NSFW.
Clik here to view.

Connect to VM without XenCenter

Author: Ingmar Verheij If you want to connect to the console of a virtual machine running on Citrix XenServer you either need XenCenter or the Web Self Service portal. I created a PowerShell script...

View Article

Image may be NSFW.
Clik here to view.

Remote desktop to XenServer VM via PowerShell

Author : Ingmar Verheij Recently I wrote a PowerShell script that connects to the console of a virtual machine on a Citrix XenServer, without using XenCenter or the Web Self Service portal. This...

View Article

Image may be NSFW.
Clik here to view.

Change XenApp 6.5 edition via PowerShell

Author : Ingmar Verheij If you wanted to change the product edition (Advanced / Enterprise / Platinum) of a Citrix XenApp (4, 5 of 6.0) server this was done per server. How you can change the product...

View Article


Image may be NSFW.
Clik here to view.

Set DCOM remote access via PowerShell

Author : Ingmar Verheij If you want to use the Delivery Services Console (the management console of Citrix XenApp 6.x) from a remote machine, you need to enable remote access in DCOM (as described in...

View Article

Image may be NSFW.
Clik here to view.

DataSet.ReadXML throws DirectoryNotFoundException

Author: Ingmar Verheij A .NET application that reads a dataset from an XML using the DataSet.ReadXML method might throw the exception : System.IO.DirectoryNotFoundException: Could not find a part of...

View Article

Image may be NSFW.
Clik here to view.

Using objects as key in HashTable

Author : Ingmar Verheij A HashTable can be used to store a collection of key/value pairs. The key object is used to uniquely identify the key/value pair which makes is easy to store data like a...

View Article


PowerShell: Query Cisco (Catalyst 4500) Flow Control statistics

Author: Ingmar Verheij Last week I attended E2EVC in Vienna, a non-commercial,virtualization community Event, and attended a session of Saša Mašić about an issue he had at a customer. In short, the...

View Article


Image may be NSFW.
Clik here to view.

Configure WANem via PowerShell

Author: Ingmar Verheij If you want to simulate a WAN connection (lower bandwidth, add delay, jitter, etc.) then WANem is a solution that is (relatively) easy to use and free.   Configuring the WAN...

View Article

Image may be NSFW.
Clik here to view.

Monitor Atlantis ILIO via SNMP

Atlantis ILIO Center can monitor the health and availability of ILIO Session- and Replication hosts. If necessary ILIO Center sends alerts via SMTP (aka Mail) or via a SNMP trap (push). However, if the...

View Article

Image may be NSFW.
Clik here to view.

Configure Citrix Session Printer via PowerShell

In a previous article I explained how you can set Citrix (domain) policies via PowerShell. In one of the comments I got a question from Tony who wanted to set Session Printers. In this article I’ll...

View Article

Image may be NSFW.
Clik here to view.

Read DHCP options received by the client

When a DHCP client receives information from a DHCP server only basic information, like IP / subnet / gateway / dns /etc, is visible. In some situations clients also receive DHCP options to set...

View Article


Image may be NSFW.
Clik here to view.

Citrix PVS: Optimize endpoint with PowerShell

With Citrix PVS the content of a disk is streamed over the network to an endpoint. This requires sufficient bandwidth and an optimized configuration. If both criteria are not met the endpoint suffers...

View Article

Image may be NSFW.
Clik here to view.

Change XenApp 6.5 edition via PowerShell

If you wanted to change the product edition (Advanced / Enterprise / Platinum) of a Citrix XenApp (4, 5 of 6.0) server this was done per server. How you can change the product edition is explained in...

View Article


Image may be NSFW.
Clik here to view.

Set DCOM remote access via PowerShell

If you want to use the Delivery Services Console (the management console of Citrix XenApp 6.x) from a remote machine, you need to enable remote access in DCOM (as described in CTX131829). You can...

View Article

Image may be NSFW.
Clik here to view.

DataSet.ReadXML throws DirectoryNotFoundException

A .NET application that reads a dataset from an XML using the DataSet.ReadXML method might throw the exception : System.IO.DirectoryNotFoundException: Could not find a part of the path ‘<path of XML...

View Article


Image may be NSFW.
Clik here to view.

Using objects as key in HashTable

A HashTable can be used to store a collection of key/value pairs. The key object is used to uniquely identify the key/value pair which makes is easy to store data like a database. The type of the key...

View Article

PowerShell: Query Cisco (Catalyst 4500) Flow Control statistics

Last week I attended E2EVC in Vienna, a non-commercial,virtualization community Event, and attended a session of Saša Mašić about an issue he had at a customer. In short, the problems where caused by a...

View Article

Image may be NSFW.
Clik here to view.

Configure WANem via PowerShell

If you want to simulate a WAN connection (lower bandwidth, add delay, jitter, etc.) then WANem is a solution that is (relatively) easy to use and free.   Configuring the WAN emulator is done via a...

View Article
Browsing all 35 articles
Browse latest View live