I'm writing a script and I was wondering if there is a way to give a variable for example $a from a script firstscript.ps1 to an other script secondscript.ps1 e
In pwsh call the following: Write-Host '{"drop_attr": "name"}' Result ok: {"drop_attr": "name"} Now do the same via pwsh: pwsh -Command Write-Host '{"dr
I have a little bit of confusion regarding the Multilist Field in Sitecore. Basically, I want to get all of the selected MultiList Field in PowerShell to do stu
First and foremost I'm new to Azure Functions and have only been working with it for a couple of weeks, so please bear with me. I was tasked with taking one of
This might be a pretty basic question, but i haven't seen it on the forms. Bear with me i'm new to powershell I'm trying to catch this exception(ManagementObje
I have the PowerShell extension installed under VSCode. When I open up a PowerShell script, VS Code automatically pops open a "PowerShell Integrated Console" wi
What exactly am I doing wrong here, it seems to be subtracting just fine but adding and multiplying seems to not work at all. How do I get it to do the calcula
AFAIK, the only way to change the type of an Office 365 mailbox to Shared is via Exchange Online Powershell, and seeing that I have to do so from an ASP.NET Cor
I am using npm after installing nodejs. I have installed it once before and I just finished deleting all the components because it kept giving the error in the
I am trying to find a service, stop it and then disable it remotely using Powershell. It can find and stop but cannot disable. For disabling, I have to run the
I am inside function #1 and triggering function #2. Function #2 has a variable that I want to get back into function #1 and use it. My output ends up being:
I am trying to validate a string of what should be comma separated integer values to use as success codes. If I start with an array with some invalid values, li
project └───app │ │ ... │ │ Dockerfile │ │ └───prod.env └
I have around 100 windows machine(VMs), All the machines have few updates for chrome , notepad/notepad++ , Firefox ,Jenkins which have not b
I have a powershell that utilizes the function Get-DnsServerResourceRecord. I have it working on a couple of different servers for testing, but on the server t
Trying to connect to webpage and return a list of all the file names listed there. I wont include the whole code (to generate token etc), but using the below I
Consider the following Dockerfile. It attempts to install Visual Studio Build Tools by downloading, installing, and then deleting the installer in a single RUN
Currently working on a robot where I want to download an excel file from a system, copy paste the contents of the excel file to a word file as an embedded excel
On the way of installing Webpack on my React Project, the following problem hinders my progress: last step to configure the Webpack npm run build && nod
I have a number of scripts downloaded from the internet, and they only contain function definitions, i.e. not constructed as Modules. Hence, if I run these scri