Hey guys having trouble writing pester for this function. The function is down below. Here is a link of the code if you prefer looking on here. https://www.powe
I have a pretty simple line on code for import/export App Configuration between different envs. az appconfig kv export -n appc1 -d file --path abc.json --format
Im trying to connect to the Online PowerShell with the EXO V2 Powershell module using the Connect-IPPSSession Cmdlet with certificates. Under Windows everything
I'm building a PowerShell utility that will backup and restore sticky notes using a powershell script to pull the Get-localuser command from a local device into
I'm aware that, in PowerShell, backticks(`) are used to escape characters instead of the backslash(\). Hence, when using sed, this: echo '"where am I"' | sed "s
$path = “C:\path\myfile.mdb” $cn = new-object -comobject ADODB.Connection $rs = new-object -comobject ADODB.Recordset Opening connection to the Dat
I'm using Powershell to set up IIS bindings on a web server, and having a problem with the following code: $serverIps = gwmi Win32_NetworkAdapterConfiguration
Having trouble with trying to import a .csv or .txt with multiple printer names (shown below). Running this locally on a server to change printer names in a lis
I am trying to authenticate app in azure, but getting the following error, Response status code does not indicate success: 401 (Unauthorized). Authentication
I'm trying to make a script that will check a bitlocker encryption percentage and set it as a variable but for each drive. For example. I run my script that wil
I have a project where I'm using Terraform in Azure DevOps Pipeline create Infrastructure but want to destroy the infrastructure in a PowerShell script running
I have so many projects I have to open during windows startup. So I have created batch file to open them in vs code as following. start cmd /C code C:\project1
I am working on a new tool to help automate some tedious processes. it involves ExchangeOnlineManagement, Python, and Powershell. I have input variables that I
About to give up on this and connect locally to each system and run the commands but thought it wise to ask the smart people first. With my credentials locally
I read a lot of the answers here and I can't seem to find what I am looking for. So please bear with me. Each psm1 is a class. I have: Main.ps1 Modules/module01
I am trying to change the windows environment variables, but I am having trouble doing so. Before I tried to use os.environ() I tried out using powershell comma
I have an ARM template in which I wish to execute a powershell script. In this question it is hinted that it should be possible to install powershell modules in
I have a PowerShell script which I have to call in an ASP.NET Core Web API solution. What is the best way to use the PowerShell script in an ASP.NET Cre Web API
I was trying to use anaconda as my Python virtual environment, and my virtual environment is stored in project directory. Manually, I need to use following comm
I'm trying to import a specific version of a PowerShell module. I have to do it from .NET. However, the RequiredVersion is simply ignored. Even if I use a non-e