home
I am trying to install Visual Studio 2017 using Ansible for Windows and I'm running into a strange...
Using Azure, I want to be able to query Windows Servers (using Defender cmdlets) based on Windows...
Let's say I have a custom command: function Search-ForStringInFile($string) { ls -Recurse...
Here is a sample script: $lastRun = (Get-ScheduledTask -TaskName "Sample Task Name" |...
For some reason, I can't seem to get redirection to work over ssh to Windows. I have a powershell...
I have a server which has several mission critical scripts that run in CMD.exe windows as a logged...
I am attempting to search HotFixes installed on a machine and pipe the machine name with the...
Good day, I'm trying to create a list of all the DL in my company that has two or fewer users....
I am trying to write a script which takes a source-path as input and copies all files that have...
This question already has an answer here: PSCustomObject to...
I am trying to automate this process by using powershell. When i run the script it should search on...
As part of an initialization script for a new development machine I want to register our on-premise...
checked the FAQ's on parsing data and have tried a couple ideas but nothing is working the way I...
So as a continuation of my last question This one. i got this code as a anwser but now i wold like...
I'm trying to create a very simple script which would check if the a specific program is installed...
I have a below data in a text file. author ; testname1 Revision ; 121 Date ; 10/5/2018 Path ...
I'm new to powershell and trying to configure the following warm up script to run against multiple...
Im Building on a Powershell-Script which collects a set of Data to fill it into a word...
I want to extract a folder and its sub folders permission details. My server is Windows 2008, I...
I want to use Powershell splatting to conditionally control which parameters are used for some...
What's the easiest way to perform an operation based on alternate dates? Basically, I have 2...
My requirement is ability to run a PowerShell script on a Windows 2012 server remotely, this has to...
I want to create a Powershell script that can be executed both on TFS within the context of a build...
I have a .ps1 file with my script. In this script I have a line with: Start-Process...
11 hours ago

Change format of text

Currently I have the following: GUID=1234 PatGUID=4567 ... But I need this format, because I...
I essentially have an array $ServerList which holds a list of array I want to test, while...
A powershell script that is being executed from an SQL Job returs the error: The error...
I have installed PowerShell 3.0 with wmf3.0 kb2506143 in my system and downloaded...
I have a WinPE iso copied to an USB stick. In the WinPE environment the user enters a physical disk...
I try to call a rest API within PowerShell script, but I fail to get any error or response at...