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 -
I am attempting to use an Azure Automation Runbook to run a query against an Azure SQL database using Azure AD credentials: $cred = Get-AutomationPSCredential
I have installed the azure cli on my local system and I am able to run the azure cli commands in Windows Powershell. When I run any command which is not correct
I'm running the Powershell commands below from my desktop to deploy the SSRS reports to the on a dev report server. I get the error below: Commands: Write
We are using TFS 2017 and it has several builds configured. A little while ago we started getting an error on the second step, which is to run a PowerShell Scr
I try to prepare a script that will create folders and subfolders from CSV. When I create a CSV with 1 column 'Name' like so Name XYZ ZXX FFF with the follo
Whenever I open a PowerShell script in VS Code, the integrated terminal opens. How can we prevent the integrated terminal from opening automatically. I have sea
I'm writing a Powershell script to go through my list of IIS bindings, find any that have a particular 'old' cert thumbprint, and replace their certs with a cer
Let’s say I am working with a nicely formatted table. Take kubectl output for example: NAME READY STATUS RESTARTS AGE IP NO
I'm having issues figuring out an easy way to get the recovery options of a particular service in powershell. Using command line sc: sc qfailure [servicename]
This post appears wordy, but there's actually not much here to read. Just figured more details > less details. I am working on some tools to speed up my git
I am attempting to run a powershell script from my PC against a txt file that contains numerous remote PC's. I want to run a script against that list of PC's t
I need help with my Project I'm trying to display the size of a folder called sh-modules but only thing I can achieve is displaying individual subfolder sizes..
New to StackOverflow, I'll do my best to post correctly :) Hoping someone can help me to get my code running faster. The code is run against RoboCopy Migration