I just set up a new Windows Server 2019 instance, and am trying to run tasks (C# console apps) through Windows Task Scheduler. I've set it up to log in as a cer
I am currently working on a project where I have been given a lot of .pst files. These files contain individual .msg files inside which I need to run an analysi
We noticed that our Azure Subscription field is empty eg: Get-AzContext -ListAvailable Name Account Subscrip
I am trying to create a external network drive using PowerShell 5.0. I Need those drive to display in My Computer. For that purpose I am using this follow comma
I want to invoke a command on a remote server, I do not want to have to put in the password to run the script. I've tried encrypting the password and storing it
let's say that I have a text file that defines some variables something like this file : .env USER=user DB_NAME=userDB DB_HOST=localhost DB_PORT=5432 and I wa
I have been trying to get a venv to activate for the last week. Currently, the errors say The module 'venv' could not be loaded. For more information, run 'Impo
I was trying dolt out for windows for a project ran into this error Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied. I think its was permission
We are using AzureCLI to be able to call an Azure Function endpoint upon a successful deployment. The call to get token works and the call to our azure functio
I am writing a script that will iterate through folders, grabbing substrings of the folder names as variable values, and then iterate through the log files in e
I've read several posts (like Convert JSON to CSV using PowerShell) regarding using PowerShell to CSV. I have also read that it is relatively poor form to use
I work in a Swiss company environment with de-CH as the standard keyboard-layout, while using a de-DE keyboard. I'm able to change my keyboard settings manuall
Windows 10 has a decent little Application that lets you set multiple Alarms, World Clocks, Timers and Stopwatches. Powershell also has some Stopwatch function
I was wondering if there is a way to make a positive number into a negative number whitout using a multiplication like $b = $a * -1 I'm looking for the most cos
I'm currently trying to setup Azure's Update Management Solution to a resource group I have setup. I've read through a lot of documentation on this matter inclu
I am trying to open a form in an access database using powershell: $application = New-Object -ComObject Access.Application $Fullpath = "path.accdb" $appli
I've recently been working on a little side project to see if I can get a little memory editing to work with PowerShell. I put together a small script in C# tha
I can't find a way to pass the function. Just variables. Any ideas without putting the function inside the ForEach loop? function CustomFunction { Param (
So I tried installing oh-my-posh for windows with Install-Module oh-my-posh -Scope CurrentUser and typed Get-PoshThemes to see the available themes which I down
The automatic variable $PSScriptRoot isn't populating when using a Powershell ScheduledJob (not to be confused with a ScheduledTask). A ScheduledJob with the -