Hi there, I know, I know, why would you install the ZENworks Client when you got SCCM? Well, sometimes that´s just the way it is… Installting the ZENwork Clients is not as easy as it may seem. There is an installer that brings everything needed and so I started by just running that installer during…
Category: Powershell
PowerShell interactive filter with Out-GridView
Recently, during the first meeting of our new south-german PowerShell Usergroup, Rolf Masuch showed us a nice feature which I didn´t know: Using Out-GridView as interactive filter. Here is how to do it: The magic parameter is –PassThru ! If you want the user to select, let´s say, some services to stop, you just can…
#Powershell – Compare a list of values against a list of values #PoSh
Hi everyone, recently I had to solve the following problem: I had to split up a list of costcenters and names in a csv-file based on the costcenter. In the first iteration the requirement was pretty easy: “If the costcenter is beginning with a 5 then the usernames shal be put into file “List1.txt”. There…
#Powershell Oneliner: Delete Personal / Machine Certificates
While searching for a solution to delete a personal machine certificate, I again found Powershell to provide the best solution. Let´s say you have a machine certificate Issued by CA “testca.domain.bla” and want to delete it. This is solved in a one liner in Powershell Version 3: get-childitem -path cert:localmachinemy | where {$_.Issuer -like…