I carried out an App-V 5 scripting context test recently so that I could prove which context the various App-V 5 scripts run in (user or system) when added or published to a machine or user. App-V 5 Scripting Test...
This simple chunk of code will find newly launched processes (specifically their process IDs) that have started between a given period: $existingProcessPids = Get-Process -ErrorAction SilentlyContinue | Select -ExpandProperty Id #new processes launched here start-process notepad.exe start-process cmd.exe $newProcessIds =...
This is a replica (with better formatting) of a post I made over at ITNinja (or AppDeploy back then!) several years ago which discusses configuring Excel automation add-ins. I’m not even sure if it still works but it’s great as...
This blog explains the process of using junctions with App-V 5 to resolve application issues caused by hard-coded paths or path length limitations. Using Junctions with App-V 5 I was migrating an old application recently which launched Macromedia Director. It...
This blog post proposes a consistent method of obtaining the current working directory using PowerShell, whether your scripts are embedded inside an executable or not. Obtaining the Current Working Directory using PowerShell I tend to use a great tool called...
When restricting operating systems in App-V 5, App-V 5 sees Windows 10 x64 and Windows Server 2016 as the same operating system. Here we present an alternative method that uses App-V 5 scripting to filter your operating system restrictions for...
I was setting up a web application recently, and was getting an error stating that the specified password is invalid for the application pool identity. It was suffering from the ‘double hop‘ issue whereby the windows authenticated NTLM credentials couldn’t...
Using SharePoint with the SPServices library provides an excellent way of using jQuery to read from a SharePoint lists using client-side code. Using SharePoint with SPServices SPServices is a great library for use with SharePoint. I’ll show you a quick...