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
In the local system i am writing commands: pip install databricks-cli databricks configure--token token value and later token Now the thing is In azure devops i
TL;DR: Why do module functions not inherit -WhatIf implicitly when called from a script? It was my understanding that cmdlets and functions will inherit switche
I have a PowerShell script from which I want to run an executable in the same folder: RunTests.ps1 .\nunitlite-runner.exe When I right click the script in t
I want to add members in Remote Desktop Users group and if i find "The specified account name is already a member of the group" exception then skip and move to
As the question says, how can I change the time that an e-mail was received either via Microsoft Outlook or via Microsoft Exchange Server (as an Administrator a
I am looking for a way to extract the GPS Latitude and Longitude values from a lot of .jpg files. I know that Exiftool can sort of do it, but as the values I'm
I have installed python 3.6 in my Windows 10 PC. I also use Pycharm to make my scripts. It runs perfectly fine there. But my problem is I can't run python in po
trying to figure out how to ignore or stop specific lines from being written to file with StreamWriter. Here is the code I'm working with from How to pass argum
I currently need to export the groups of all users in my domain and I get the error Error with Get-ADUser: Invalid enumeration context. In the script I indicate
Can anybody explain to me why cUrl (the real cUrl) works but Invoke-WebRequest doesn’t? Same machine, same variables. To me it looks like they should both
I am testing a Power Shell script to clean out a folder and I noticed some unexpected (to me) behavior when i used the - recurse flag I have read the help file
Powershell is waiting for a service to start or stop before it moves on to the next line in the script, but I need it to move on without waiting. The idea beh
I can create a Scheduled Task in Windows using the Register-ScheduledTask PowerShell cmdlet with a particular path (i.e., using -TaskPath "\SomePath\" and -Task
$NICs = Get-WmiObject Win32_NetworkAdapter -filter "AdapterTypeID = '0' AND PhysicalAdapter = 'true' AND NOT Description LIKE '%wireless%' AND NOT Description L