Alkane Solutions
Alkane Solutions Fixed-Price Apps | Trusted IT Partner
Alkane Solutions | G-Cloud Supplier Alkane Solutions | Microsoft Partner

Main menu

Skip to primary content
Skip to secondary content
  • Application Packaging Services
    • Why Application Packaging?
    • MSIX Application Packaging Services
    • Application Packaging Service for the NHS
    • Application Packaging for MECM
    • Intune Application Packaging Services
    • Evergreen Application Packaging Services
  • About
    • Team
    • Case StudiesCase studies of the work we have done for our clients.
  • Contact Us
  • Log In
  • Register
  • Submit a Guest Post!
  • Recommended Reading
  • Fixed-Price Quote

Home - PowerShell - Page 7

Powershell scripts used to manipulate the Windows Installer object


Enable Implicit Uninstalls in SCCM Using PowerShell

Posted on September 20th, 2022

In this post we discuss how to enable implicit uninstalls in SCCM using PowerShell and WMI. There are certain prerequisites for implicit uninstalls to work: You need to be running at least version 2107 of SCCM (MECM) You need to … Continue reading →

Tagged Implicit Uninstall, WMI |

Use PowerShell to Calculate Bit Flags

Posted on September 20th, 2022

We can use PowerShell to calculate bit flags, so that we know which configurations have been set.  For examples where we don’t want to create our own enum, we can read using PowerShell bitwise comparison operators to check and set … Continue reading →

Tagged bit flags, enum |

Concatenate Strings and Variables in PowerShell

Posted on September 16th, 2022

When we’re scripting solutions, we need to understand how to concatenate strings and variables in PowerShell.  “Concatenate” is just a posh word for joining/linking together. There are many ways to concatenate strings and variables in PowerShell – below are a … Continue reading →

Tagged -concat, -join |

How Do You Comment Out Code in PowerShell?

Posted on September 16th, 2022

A common question asked by scripting beginners is how do you comment out code in PowerShell?  Luckily it’s simple. Commenting code is always good practise for a variety of reasons; one being if you pass your script on to a … Continue reading →

|

How To Determine the Installed PowerShell Version

Posted on September 16th, 2022

Sometimes we need to know how to determine the installed PowerShell version on a machine, since later versions come with additional features and improved performance. PowerShell 1.0 shipped with 129 cmdlets but PowerShell 2.0 had over 600 cmdlets!  And over … Continue reading →

Tagged psversion |

Passing Multiple Arguments to a PowerShell Function

Posted on September 13th, 2022

Passing multiple arguments to a PowerShell function can be slightly confusing, especially if coming from a VBScript background. You see, when calling a VBScript function with multiple arguments you specify a comma in between the arguments when you call the … Continue reading →

Tagged arguments |

Find the Product Name, Product Code and More for an Installed MSI

Posted on September 13th, 2022

Occasionally we need to find the Product Name, Product Code and more for an installed MSI.  It’s also handy to find the Install Source so we can see where i was installed from. There are various ways to achieve this … Continue reading →

Tagged WindowsInstaller.Installer |

PowerShell Variables and Object Properties in a Double-Quoted String

Posted on September 13th, 2022

It’s useful to know how to use PowerShell variables and object properties in a double-quoted string as part of PowerShell’s string expansion. As a simple example we cab expand the $name variable inside the $sentence variable like so: $name = … Continue reading →

Tagged string expansion |

Use Test-Path with PowerShell

Posted on September 13th, 2022

When we want to check for the existence of files, folders and registry entries we can use Test-Path with PowerShell to return ‘true’ if it exists and ‘false’ if it doesn’t exist. Using Test-Path with Files and Folders Here we … Continue reading →

Tagged test-path |

Use PowerShell Comparison Operators to Compare Strings and Numbers

Posted on September 9th, 2022

There are many instances where we need to use PowerShell comparison operators to compare strings and numbers.  Here we go through some quick examples. Comparing Strings with PowerShell Here we use ‘eq’ to see if one string equals another.  This … Continue reading →

Tagged -eq, -ge, -gt, -le, -like, -lt, -notlike |

« Previous Page — « Previous Entries
Next Entries » — Next Page »

Recommended Reading

  • microsoft-azure-for-dummies
  • definitive-guide-to-windows-installer
  • learning-microsoft-intune
  • microsoft-azure-fundamentals
  • implementing-azure-devops
  • learn-windows-powershell-in-a-month-of-lunches
  • powershell-cookbook
  • powershell-for-sysadmins
  • powershell-pocket-reference
  • windows-powershell-step-by-step

Over

10,000

Applications
Packaged

Over

18

Successful
Migrations

Over

50

Happy
Clients

Application Packaging Services in Manchester, UK.
12b Kennerleys Lane, Wilmslow, England, SK9 5EQ

Application Packaging Services in London, UK.
152-160 City Road, London, EC1V 2NX.

© Alkane Solutions Ltd 2025
Privacy Policy | Modern Slavery | LinkedIn | Blog Posts

APPLICATION PACKAGING QUOTE!

✔ Fixed Price.
✔ Experienced IT Professionals.
✔ Highly Competitive Prices.
✔ 12 Month Warranty.






    This will close in 0 seconds

    Buy Me A Coffee