Category Archives: Scripting

Redirecting the .OST file to a network share

      No Comments on Redirecting the .OST file to a network share

# # $Author: Berry de Jager $ # $Rev: 1.0 $ # # Version control: # 1.0 Redirect .OST from local to network location by using a symbolic link. # # Functionality: # Rotating the log file # Redirection of the OST location # # # Start of function definitions… Read more »

Installing Ubiquiti Unifi Controller on a Raspberry Pi (Raspbian Stretch)

      1 Comment on Installing Ubiquiti Unifi Controller on a Raspberry Pi (Raspbian Stretch)

Running on Raspbian ‘Stretch’ ? To get the apt-key command successfully downloading the Ubiquity GPG-key on Raspbian Stretch, you need to install the dirmngr manually. Don’t forget to update the repository first! sudo apt-get update sudo apt-get install dirmngr Please note that  the APT-KEY is deprecated and this isn’t a… Read more »

Quest ActiveRoles Management Shell Download

      No Comments on Quest ActiveRoles Management Shell Download

Quest ActiveRoles Management Shell Download Quest ActiveRoles is a collection of very useful PowerShell cmdlets for Active Directory. They used to be offered for free by Quest Software (now owned by Dell), but have since after version 1.5.1 (as far as I know) started charging money for the cmdlets in… Read more »

Installing VICE on RaspberryPi

      1 Comment on Installing VICE on RaspberryPi

Prior to installing VICE on your Jessie distribution of Raspbian you need to alter the sources list. sudo nano /etc/apt/sources.list Add the following lines on the end of the file #Source for VICE deb http://ftp.nl.debian.org/debian/ jessie main contrib Execute the following commands to completely install VICE including the ROM files…. Read more »

Installing OMSA in VMware ESXi

      No Comments on Installing OMSA in VMware ESXi

Download the OMSA 8.3 package Dell OpenManageServer Administrator vSphere Installation Bundle (VIB) for ESXi 6.0, v8.3 SCP to /tmp esxcli software vib install -d=/tmp/OM-SrvAdmin-Dell-Web-8.3.0-1908.VIB-ESX60i_A00.zip Installation Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: Dell_bootbank_OpenManage_8.3.0.ESXi600-0000… Read more »

PiMusicBox not showing Spotify playlist [FIXED]

      4 Comments on PiMusicBox not showing Spotify playlist [FIXED]

As some point my PiMusicBox stopped showing the Spotify playlists in the PiMusicBox web interface. As far as i noticed this happened since a specific time, as one PiMusicbox is still showing the playlists and a newly installed PiMusicBox v0.60, which contains Mopidy 0.19.5, didn’t show the Spotify playlists anymore…. Read more »

Dell Perc H700 firmware upgrade under Citrix Xenserver

      2 Comments on Dell Perc H700 firmware upgrade under Citrix Xenserver

Updating the Dell Perc H700 raid controller firmware can be a hideous job. Let me explain how i got this done. First download the “SAS-RAID_Firmware_C3X7D_LN_12.10.6-0001_A12.BIN” file from the Dell Support website   Make sure that the file is available in your ~ directory. Either use wget of (win)scp to get… Read more »

How to install XenServer 6.5 patches

      1 Comment on How to install XenServer 6.5 patches

Updating your free XenServer 6.5 install can be a struggle, unless you do your home-work first! So the choir is downloading the .zip files from Citrix (see links in the XenCenter console) and unpack the files. You only need the *.xsupdate files, the source files are not needed for updating… Read more »

XenApp in search of unsupported client names

      No Comments on XenApp in search of unsupported client names

XenApp can choke on client names which contain client names which contains weird characters (according to Citrix). The result can be that the search functionality, within Citrix AppCenter, doesnt come up with any users. The other manifestation of the problem can occur in the ‘Servers’-node in the farm seems to… Read more »

How to install XenServer 6.2 patches

      No Comments on How to install XenServer 6.2 patches

Updating your free XenServer 6.2 install can be a struggle, unless you do your home-work first! So the choir is downloading the .zip files from Citrix (see links in the XenCenter console) and unpack the files. You only need the *.xsupdate files, the source files are not needed for updating… Read more »

Simplistic way of getting memory statistics

      No Comments on Simplistic way of getting memory statistics

# $Author: berrydejager $ # $Rev: 1.0 $ # # Version control: # # 1.0 Initial version # # Functions definitions # Function GetFreeMem { Param([string]$ComputerName) Write-host “————————————————————————————” Write-host “- START SCANNING $Computername —————————————————” Write-host “————————————————————————————” Get-WmiObject -Class Win32_OperatingSystem -Namespace root/cimv2 -ComputerName . | Format-Table -Property TotalVirtualMemorySize,TotalVisibleMemorySize,FreePhysicalMemory,FreeVirtualMemory,FreeSpaceInPagingFiles Write-host “————————————————————————————” Write-host… Read more »

Getting statistics directly from the RES Powerfuse database

      No Comments on Getting statistics directly from the RES Powerfuse database

PowerFuse: MSSQL query to gather the application usage as a table compared to the cumbersome PowerFuse Usage Tracker Viewer To generate a list of all applications, sorted on the application name, you can use the following query. select b.strtitle, count(1) from (select distinct a.struser, a.strtitle from dbo.TBLhistory a where a.lngappid… Read more »

GetPrinterDetails

      No Comments on GetPrinterDetails

Function GetVersion{ Param ([string]$PrintServer = “localhost”) $Results = @() ForEach ($Driver in (Get-WmiObject Win32_PrinterDriver -ComputerName $PrintServer)) { $Drive = $Driver.DriverPath.Substring(0,1) $Results += New-Object PSObject -Property @{ Name = $Driver.Name Server = $Driver.PSComputername } Write-Host $Results } $Results } cls Add-PSSnapin Citrix* -ErrorAction SilentlyContinue $GetXAZone = Get-XAZone $XAZoneName = $GetXAZone.ZoneName $XAServerList… Read more »

Clean Internet Explorer Cache (CleanInternetExplorerCache)

      No Comments on Clean Internet Explorer Cache (CleanInternetExplorerCache)

# # Name: CleanInternetExplorerCache.ps1 # # Function: Clean up the Internet Explorer Cache # # $Author: Berry de Jager $ # # Version: 1.0 Initial version in powershell scripting # [string]$Version = “1.0” # RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess [#] # 1 Delete History # 2 Delete Cookies # 8 Delete Temporary Internet… Read more »

Using PowerShell 3.0 in conjunction to PowerGUI 3.5

      No Comments on Using PowerShell 3.0 in conjunction to PowerGUI 3.5

My favourite editor for PowerShell script is definitely PowerGUI from Quest Software, Inc. This editor is very intuitive and gives you a good overview on the PowerShell environment and extensive debugging features. Recently i needed to create a script to use with AppV 5.0, which is based on PowerShell 3.0. PowerGUI has an extensive support for PowerShell 2.0 and… Read more »

CleanupProfiles.ps1

      No Comments on CleanupProfiles.ps1

# #    $Author: Berry de Jager $ #    $Rev: 2.1 $ # #    Version control: #    1.0             Initial version in powershell scripting #    2.0                Complete rewritten and using REMPROF.EXE #    2.1                Added ‘REMPROF.EXE /AD:0’ to remove all abandoned registry and directory… Read more »