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

General scripting and coding


Using the PowerShell ForEach Loop

Posted on November 5th, 2023

In this blog post, we’ll explore using the PowerShell ForEach loop and how it can be used to process and manipulate data efficiently. Understanding the For-Each Loop The ForEach loop in PowerShell allows us to iterate over collections of objects, … Continue reading →

Tagged foreach, foreach-object |

Using PowerShell and Invoke-WebRequest to Send a HTTP Request

Posted on November 3rd, 2023

PowerShell is a powerful scripting language that provides the tools to automate various tasks on Windows systems. One of its handy features is the ability to send HTTP requests using the Invoke-WebRequest cmdlet. In this blog post, we’ll explore using … Continue reading →

Tagged invoke-webrequest |

Use PowerShell to Run an Application as the Current Logged In User

Posted on November 3rd, 2023

This blog explains how we can use PowerShell to run an application as the current logged in user. There are times, for example when deploying an application or a  script via SCCM, that the launching process will run as a … Continue reading →

Tagged register-scheduledtask |

Create a Scheduled Task using PowerShell or Schtasks

Posted on November 3rd, 2023

In this blog we provide an example of how we can create a scheduled task using PowerShell or Schtasks. Create a Scheduled Tasking using PowerShell As a minimum, a scheduled task needs an action (something to perform) and a trigger … Continue reading →

Tagged register-scheduledtask, schtasks.exe |

Cannot convert argument query with value Microsoft.SharePoint.Client.CamlQuery

Posted on November 3rd, 2023

When using PowerShell CSOM modules for SharePoint, I randomly stumbled into the error message: Cannot convert argument query with value Microsoft.SharePoint.Client.CamlQuery. I was seeing the error when running a CAML query and calling GetItems(): $query = New-Object Microsoft.SharePoint.Client.CamlQuery $query.ViewXml = … Continue reading →

Tagged Microsoft.SharePoint.Client |

Using PowerShell with IndexOf and LastIndexOf to Split Strings

Posted on October 31st, 2023

Working with strings is a common task in scripting and programming, and PowerShell provides powerful tools for manipulating and splitting strings. Two useful methods for this purpose are IndexOf and LastIndexOf. In this blog post, we’ll explore using PowerShell with … Continue reading →

Tagged IndexOf, LastIndexOf, substring |

Converting VBScript to PowerShell using our VBScript to PowerShell Conversion Service

Posted on October 17th, 2023

In light of recent news indicating that VBScript will be removed from future Windows releases, we can assist you with converting VBScript to PowerShell using our VBScript to PowerShell conversion service! The 27 year romance with VBScript is finally coming … Continue reading →

Tagged Convert VBScript to PowerShell |

Different Ways to Run a PowerShell Script

Posted on October 14th, 2023

Depending on our needs and preferences, we can run PowerShell scripts from the PowerShell Console, PowerShell Integrated Development Environment (IDE), or even from the command line. In this blog post, we’ll explore these different ways to run a PowerShell script. … Continue reading →

Tagged powershell_ise.exe, powershell.exe |

Check if a File Exists using PowerShell

Posted on October 13th, 2023

There are multiple methods to check if a file exists using PowerShell. In this blog post, we’ll explore two common approaches: using the Test-Path cmdlet and utilising .NET methods. Using the Test-Path Cmdlet to Check if a File Exists The … Continue reading →

Tagged System.IO.File, test-path |

Using the PowerShell While Loop

Posted on October 13th, 2023

The While loop allows us to repeatedly execute a block of code as long as a specified condition is met. In this blog post, we’ll explore using the PowerShell While loop. The PowerShell While Loop The While loop is a … Continue reading →

Tagged while |

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

Recommended Reading

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