Currently browsing category

Powershell

Following the #powershell hashtag on twitter, i’ve seen a los of solution to use multithreading in powershell, the used example was “launch script on many distant hots”… hmm imho fail ! Just a quick remind to the technet notes _ https://technet.microsoft.com/en-us/library/hh849719.aspx _ “When you run commands on multiple computers, Windows …

powershell_ise my RRD

Why ? We looked for a way to add punctually and easily new monitoring, but, nothing that justify to add it in cacti or else. However, the idea of ​​re-use “cacti-like graphs” has naturally imposed. In order to facilitate the use of RRDTool, we started to write a small powershell …

Modify Citrix Policy With Powershell

I had to recreate an 4 day scheduled reboot plan on an XA65 farm, so i look for a way to recreate all these policies with powershell. When we load Citrix snapins, we automatically create 3 PSDrive, using CitrixGroupPolicy provider, these drives are accessible with a set-location. Under the “Computer” …

TIPS PSH Runas and which

As you already know, The PSH equivalent of RUNAS is start-process We need to specify the commande full path… Is there a way to use an unix which equivalent ? We can use the cmdlet Get-command to find the full path We can use the member “definition”.So ,the invocation can …

PSH Jobs ? wtf

Due to some hotline call, we need to check if some server doesn’t execute a particular process. We start using this powershell script : As we have more than 300 servers in this Citrix Farm, we try to find a better way to do this check, using the “oneliner sequential …

List TSE/RDS Mapping Config

Du to a prod incident, we had to check all the TSE/RDS mapping config on our farm. Of course, there is no way to do it manually on 200 servers … How can we do it with Powershell ? First, we need to find which are registry keys that are …