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

Main menu

Skip to primary content
Skip to secondary content
  • Hire Us
    • End User Compute
      • Software Services
      • Hardware Services
      • Licensing Services
      • Security Services
      • Support Services
    • Tooling and Automation
      • Bespoke Tooling Services
      • Robotic Process Automation Services
    • Web
      • Web Hosting Services
      • Web Development Services
    • Team
    • Case StudiesCase studies of the work we have done for our clients.
  • Contact Us
  • Log In
  • Register

Home » PowerShell » Page 10

Powershell scripts used to manipulate the Windows Installer object


Trigger SCCM Client Actions Remotely using PowerShell

Posted on February 19th, 2021

This is a simple PowerShell script that can be used to trigger SCCM client actions remotely using PowerShell. It only currently supports three client actions for simplicity’s sake (MachinePolicy, DiscoveryData, SoftwareInventory) but you can add more as specified here. Usage … Continue reading →

Tagged sccm client actions, trigger client action |

Configure VMWare Horizon Client Connections

Posted on February 19th, 2021

We needed to configure VMWare Horizon client connections for different groups of users in an organisation.  Unfortunately the ADMX file didn’t support this configuration, so we needed to implement it using PowerShell. When we looked at the VMWare Horizon view … Continue reading →

Tagged horizon client server connections, vmware horizon client, vmware-view |

Find the Operating System using PowerShell

Posted on February 15th, 2021

I recently needed to find the operating system using PowerShell – preferably the full name (“Microsoft Windows 10 Enterprise”) as opposed to the version (10.0.17763). When researching this I stumble upon lots of ways to achieve this, some more reliable … Continue reading →

Tagged systeminfo, win32_operatingsystem |

Simple PowerShell Logging Function

Posted on February 15th, 2021

This is a simple PowerShell logging function to write a specified message to a log file in the user’s %temp% folder. The file in this example is called Filename.log, but can be renamed as appropriate. function Write-Log { [CmdletBinding()] param( … Continue reading →

|

Running Powershell Login Scripts with Group Policy

Posted on January 16th, 2021

We’ve recently experienced issues related to running Powershell login scripts with Group Policy.  These were caused by delays in login script execution, and so this post details a more optimal approach to run your Powershell login scripts asynchronously. Group Policy … Continue reading →

Tagged powershell login script |

Use ADSI to Find Logon Workstations in Active Directory

Posted on November 22nd, 2020

[catlist name=”PowerShell ADSI and Active Directory” conditional_title=”Other Posts in this Series:” numberposts=5 pagination=yes customfield_orderby=”series_post_order” order=”asc”] This post provides an example of how we can use ADSI to find logon workstations in Active Directory. I recently needed to search through all … Continue reading →

Tagged ADSI, logon workstations |

ADSI Searcher and the ActiveDirectory PowerShell Module

Posted on November 22nd, 2020

When querying Active Directory (AD) we can use a PowerShell type accelerator called the ADSI Searcher and the ActiveDirectory PowerShell Module. Most Google searches provide examples that use the PowerShell ActiveDirectory module cmdlets such as Get-ADUser and Get-ADComputer.  Whilst these … Continue reading →

Tagged ActiveDirectory, ADSI, Remote Server Administration Tools, RSAT |

Insert a VBScript Custom Action into a Windows Installer

Posted on June 25th, 2020

Below is a quick example of how we can insert a VBScript custom action into a Windows Installer (MSI) using PowerShell.  Remember that this example does not add the entry into the InstallExecuteSequence table, which will be required to actually … Continue reading →

Tagged custom action |

Use PowerShell to Find an Advertised Shortcut Target

Posted on June 3rd, 2020

Have you ever looked at the target of an .lnk shortcut and it appears to be greyed out/disabled? Chances are it is a Windows Installer advertised shortcut, which is used as part of Windows Installer resiliency and self healing. Instead … Continue reading →

Tagged advertised shortcut, Lnk |

Send an Email Using PowerShell

Posted on January 31st, 2020

I often write administrative scripts and am required to send an email using PowerShell.  There are a couple of ways to do this depending on our objectives.  If we just require an email then I opt to use the Send-MailMessage … Continue reading →

Tagged outlook.application, send-mailmessage |

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

Contact Us!

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

    Over

    15,000

    Applications
    Packaged

    Over

    27

    Successful
    Migrations

    Over

    100

    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