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 » General Scripting and Coding » Page 4

General scripting and coding


List All User and Computer LDAP Attributes using PowerShell and ADSI

Posted on September 1st, 2023

[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”] There comes a time when we want to read or write an Active Directory attribute, yet we don’t know the name of the attribute we’re … Continue reading →

Tagged ADSI, ADSISearcher |

Use PowerShell to Retrieve All Windows Updates and Patches

Posted on August 31st, 2023

In this post we provide a quick example of how we can use PowerShell to retrieve all Windows updates and patches. Get-HotFix Not Returning All Installed KBs The first thought that springs to mind is simply to run Get-Hotfix.  However … Continue reading →

Tagged get-hotfox, windows updates |

How to Determine and Check the PowerShell Version

Posted on August 31st, 2023

Here we explain how to determine and check the PowerShell version. Why Check the PowerShell Version? It’s important to know which version of PowerShell an endpoint is running since some cmdlets are only supported in specific versions of PowerShell.  And … Continue reading →

Tagged psversion |

Use PowerShell to Display an Advanced Toast Notification

Posted on August 29th, 2023

This post contains an example of how we can use PowerShell to display an advanced toast notification. In this notification we will be adding a custom icon and a hero image.  To do this we’ll initially use the ToastImageAndText02 XML … Continue reading →

Tagged toast notification |

Use PowerShell to Display a Basic Toast Notification

Posted on August 29th, 2023

This post contains an example of how we can use PowerShell to display a basic toast notification.  If you would like more advanced features, see use PowerShell to display an advanced toast notification. When we construct a toast notification, we … Continue reading →

Tagged toast notification |

Text-to-Speech using PowerShell and the Speech Synthesizer

Posted on August 29th, 2023

This blog provides an example of how we can implement text-to-speech using PowerShell and the speech synthesizer. Text-to-Speech using PowerShell I remember the early days of making a computer convert text to speech in a robotic voice – there was … Continue reading →

Tagged text-to-speech |

Use PowerShell to Extract Azure Active Directory Device Status from Dsregcmd

Posted on August 15th, 2023

This is a quick example of how we can use PowerShell to extract Azure Active Directory device status from dsregcmd. Sometimes we need to run a script on a device to troubleshoot devices by using the dsregcmd command, or indeed … Continue reading →

Tagged aad, azure AD, dsregcmd |

Use PowerShell to Set Windows 10 Desktop Wallpaper Based On Screen Resolution

Posted on August 1st, 2023

Here we provide an example of how we can use PowerShell to set Windows 10 desktop wallpaper based on screen resolution. We essentially add supported screen resolutions and associated images to a hashtable called wallpaperImages (you need to add your … Continue reading →

Tagged SystemParametersInfo, Wallpaper |

Using PowerShell Select-String to Match Regular Expressions

Posted on June 7th, 2023

This blog provides a simple example of using PowerShell select-string to match regular expressions. Select-string and regular expressions come in really useful when we want to extract specific data from a string that matches a particular pattern.  Consider this URL: … Continue reading →

Tagged regex, select-string |

Using PowerShell to Read and Write JSON

Posted on May 4th, 2023

This blog provides a simple example of using PowerShell to read and write JSON. Using PowerShell to Write JSON In this example, we first create a PowerShell object with some sample properties and nested objects. We then use the ConvertTo-Json … Continue reading →

Tagged JSON |

« 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