Archive for the 'Systems' Category

 

 

Mar 21 2017

Powershell Count Returns Incorrect Values

Published by under Windows

Powershell provides a “count” method that comes first to mind when you have to count lines, files or objects. I was astonished to observe PowerShell would display nothing when it should count 0 or 1. Here’s a screenshot where I retrieve the number of Active Directory accounts and showing count is unreliable. Instead use the Measure-Object […]

No responses yet

Mar 09 2017

Move RDS profiles to Another Volume/Drive

Published by under Windows

You’re in charge of a Remote Desktop Services (RDS) server but unfortunately, the C: drive starts running out of space, user profiles being on that same volume.Lucky enough, a huge amount of space remains on the D: drive, but how shall I move RDS profiles? Set Path for New Profiles You can set up a […]

No responses yet

Oct 06 2016

Processing CSV Files with Perl and Bash

Published by under Linux

Olivier, a friend of mine, had to parse a CSV file and took the opportunity to benchmark the performance of 3 programming languages.   The file contains server names and disks he needs to add up into a hash table in order to get the total disk space for each server. He assumes on his […]

No responses yet

Aug 25 2016

List AS400 User Profiles and their Default JOBQ

Published by under AS400

I want to do a bit of cleanup on our main IBM i because users jobs are running in all sort of queues. Most users have a dedicated JOBD and JOBQ, which is wrong in my humble opinion. A user’s JOBQ is defined within the user’s JOBD (Job Description). A JOBD references a JOBQ and […]

No responses yet

Feb 22 2016

AS400 Mass Object Owner Change

Published by under AS400

Change Owner Through IBM i Terminal There are many ways to change an object owner on IBM i. With CHGOBJOWN for a single object, or WRKOBJOWN then press 9 for each object if you want to start with all objects belonging to somebody.Changing ownership of thousands of objects this way will be very painful and […]

No responses yet

« Prev - Next »