Gang Of Coders
Home
About Us
Contact Us
All Powershell Solutions on Gang of Coders
Total of 454 Powershell Solutions
Using PowerShell to write a file in UTF-8 without the BOM
Encoding
Powershell
Utf 8
Byte Order-Mark
How do I return only the matching regular expression when I select-string(grep) in PowerShell?
Regex
Powershell
Grep
Call a function in another script when executing using 'Run With PowerShell'
Function
Powershell
What is [cmdletbinding()] and how does it work?
Powershell
Binding
PowerShell: Create Local User Account
Powershell
Powershell 2.0
How to retrieve recursively any files with a specific extensions in PowerShell?
Powershell
Cannot remove item. The directory is not empty
Powershell
Windows Server-2012-R2
Using UTF-8 Encoding (CHCP 65001) in Command Prompt / Windows Powershell (Windows 10)
Windows
Powershell
Utf 8
Console Application
Vim with Powershell
Vim
Powershell
How to reload user profile from script file in PowerShell
Powershell
Profile
How to use PowerShell copy-item and keep structure
Powershell
select distinct items from a column in powershell
Powershell
Distinct Values
$LastExitCode=0, but $?=False in PowerShell. Redirecting stderr to stdout gives NativeCommandError
Windows
Powershell
Command Line
Lambda Expression in Powershell
Powershell
Lambda
Output ("echo") a variable to a text file
Powershell
File Io
How to quietly remove a directory with content in PowerShell
Powershell
Directory
ps1 cannot be loaded because running scripts is disabled on this system
C#
Powershell
How can I extract "Path to executable" of all services with PowerShell
Powershell
Service
Powershell 2.0
Powershell 3.0
Making a PowerShell POST request if a body param starts with '@'
Rest
Powershell
Powershell 5.0
What's the equivalent of xargs in PowerShell?
Powershell
Xargs
Convert a string to datetime in PowerShell
Powershell
Datetime
How to check if a PowerShell optional argument was set by caller
Powershell
How can I determine for which platform an executable is compiled?
C#
Powershell
Cpu Architecture
Calling a specific PowerShell function from the command line
Powershell
PowerShell equivalent of LINQ Any()?
Linq
Powershell
Concatenating a variable and a string literal without a space in PowerShell
String
Powershell
List all available versions of a specific package in NuGet Package Manager Console
Powershell
Nuget
PowerShell: Is there an automatic variable for the last execution result?
Powershell
Passing a variable to a powershell script via command line
Powershell
Powershell Ise
Remove a Member from a PowerShell Object?
Powershell
Powershell 3.0
Format-Table on Array of Hash Tables
Powershell
Formatting
Creating new file through Windows Powershell
Windows
Powershell
Createfile
tsc.ps1 cannot be loaded because running scripts is disabled on this system
Typescript
Powershell
Ternary operator in PowerShell
Powershell
Ternary Operator
Conditional Operator
Echo equivalent in PowerShell for script testing
Powershell
What are the PowerShell equivalents of Bash's && and || operators?
Bash
Powershell
Language Comparisons
Configure Windows Explorer Folder Options through Powershell
Powershell
Registry
Windows Explorer
Append an Array to an Array of Arrays in PowerShell
Arrays
Powershell
Powershell: match operator returns true but $matches is null
Regex
Powershell
How can I redirect PowerShell output when run from Task Scheduler?
Powershell
Scheduled Tasks
Line Endings
Powershell: Set a Scheduled Task to run when user isn't logged in
Powershell
Scheduled Tasks
Powershell 3.0
Windows Server-2012
Open Notepad++ from PowerShell
Powershell
Notepad++
Delete directory regardless of 260 char limit
Powershell
Limit
Unable to debug managed code using visual studio 2013 ("Cannot evaluate expression" error - am using debug build) (Note that VS 2012 works)
C#
.Net
Visual Studio
Powershell
Powershell script to see currently logged in users (domain and machine) + status (active, idle, away)
Powershell
Active Directory
Powershell 2.0
Powershell 3.0
Windows Server-2012
Prettify json in powershell 3
Json
Powershell
Powershell 3.0
PowerShell string interpolation syntax
Powershell
Syntax
String Interpolation
How do I move a file to the Recycle Bin using PowerShell?
Powershell
Loop through files in a directory using PowerShell
Powershell
Union and Intersection in PowerShell?
Arrays
Powershell
Resolving IP Address from hostname with PowerShell
Powershell
How do I change the extension of many files in a directory?
Bash
Powershell
Cmd
ConvertTo-JSON an array with a single item
Powershell
Powershell 3.0
How to add a child element for XML in PowerShell
Xml
Powershell
Recursive file search using PowerShell
Powershell
Powershell 2.0
Powershell Add System Variable
Windows
Powershell
Environment Variables
Is there a Windows command shell that will display Unicode characters?
Unicode
Powershell
PowerShell: Comparing dates
Powershell
How to go fullscreen in PowerShell
Powershell
Fullscreen
Powershell 2.0
How can I bulk rename files in PowerShell?
Windows
Powershell
Loading custom functions in PowerShell
Powershell
New-Object : Cannot find an overload for "PSCredential" and the argument count: "2"
.Net
Powershell
How do I update JSON file using PowerShell
Json
Powershell
Powershell 3.0
How to show hidden files (dotfiles) with windows powershell
Windows
Powershell
Dotfiles
VSCode Change Default Terminal
Bash
Powershell
Cmd
Terminal
Visual Studio-Code
In PowerShell, how do I define a function in a file and call it from the PowerShell commandline?
Powershell
Dot Source
Permission errors in PowerShell
Powershell
Difference between PSObject, Hashtable, and PSCustomObject
Powershell
Powershell 3.0
Psobject
How do I start PowerShell from Windows Explorer?
Windows
Powershell
Extract only the first 10 lines of a csv file in powershell
Powershell
Csv
How to load a JSON file and convert it to an object of a specific type?
Json
Powershell
Deserialization
Powershell 3.0
Invoke-Restmethod: how do I get the return code?
Api
Powershell
How can I replace newlines using PowerShell?
Powershell
How to split long commands over multiple lines in PowerShell
Powershell
Get file version and assembly version of DLL files in the current directory and all sub directories
Powershell
How to properly use the -verbose and -debug parameters in a custom cmdlet
Powershell
Parameters
Powershell Cmdlet
How do I write to standard error in PowerShell?
Powershell
Powershell 2.0
Stderr
Test if registry value exists
Powershell
Registry
Powershell v3.0 pipe issue
Powershell
Active Directory
Powershell 3.0
relative path in Import-Module
Powershell
Powershell 2.0
How do I conditionally add a class with Add-Type -TypeDefinition if it isn't added already?
Powershell
Add Type
List of all colors available for PowerShell?
Powershell
Powershell 2.0
Powershell 3.0
Cannot delete a file even when logged in as an Administrator
Windows
Powershell
Command Line
Rmdir
Creating hard and soft links using PowerShell
Powershell
Symlink
Pin program to taskbar using PS in Windows 10
Powershell
Windows 10
Create a temporary directory in PowerShell?
Powershell
Temporary Directory
If strings starts with in PowerShell
Powershell
If Statement
Startswith
How do I get only directories using Get-ChildItem?
Powershell
Powershell 2.0
What does $_ mean in PowerShell?
Powershell
Why powershell does not run Angular commands?
Javascript
Angular
Powershell
Angular Cli
Timing a command's execution in PowerShell
Powershell
Time
Performance Testing
How to unzip a file in Powershell?
Powershell
How to create a zip archive with PowerShell?
Powershell
Zip
Archive
How to print environment variables to the console in PowerShell?
Powershell
Can I get "&&" or "-and" to work in PowerShell?
Syntax
Powershell
How to create permanent PowerShell Aliases
Powershell
How to tell PowerShell to wait for each command to end before starting the next?
Powershell
Wait
Execution
How to redirect the output of a PowerShell to a file during its execution
Powershell
Scripting
Stdout
How to run a PowerShell script from a batch file
Windows
Shell
Powershell
Batch File
How do you comment out code in PowerShell?
Powershell
Syntax
Powershell 2.0
Comments
How to output something in PowerShell
Windows
Powershell
How to get the current directory of the cmdlet being executed
Powershell
Powershell Cmdlet
How can I run PowerShell with the .NET 4 runtime?
.Net
Powershell
.Net 4.0
.ps1 cannot be loaded because the execution of scripts is disabled on this system
C#
asp.net
Powershell
Invoke-WebRequest, POST with parameters
Powershell
Rest
Prompt for user input in PowerShell
Powershell
How do you execute an arbitrary native command from a string?
Scripting
Powershell
How do I capture the output into a variable from an external process in PowerShell?
Powershell
Process
Function return value in PowerShell
Powershell
Reload the path in PowerShell
Powershell
Console
Powershell Ise
Delete files older than 15 days using PowerShell
Powershell
Powershell 2.0
Powershell 3.0
Array.Add vs +=
Arrays
Powershell
PowerShell script to return versions of .NET Framework on a machine?
.Net
Powershell
Version
What's the difference between "Write-Host", "Write-Output", or "[console]::WriteLine"?
Powershell
How to get an MD5 checksum in PowerShell
Powershell
Powershell 2.0
How to run a PowerShell script
Windows
Powershell
Scripting
PowerShell equivalent to grep -f
Powershell
Grep
How to format a DateTime in PowerShell
Datetime
Powershell
PowerShell and the -contains operator
Powershell
Operators
String Matching
Powershell equivalent of bash ampersand (&) for forking/running background processes
Powershell
How do I get the localhost name in PowerShell?
.Net
Powershell
Call PowerShell script PS1 from another PS1 script inside Powershell ISE
Powershell
PowerShell: How do I convert an array object to a string in PowerShell?
Powershell
Powershell 2.0
Setting Windows PowerShell environment variables
Windows
Powershell
Is there a way to make a PowerShell script work by double clicking a .ps1 file?
Powershell
Powershell 2.0
How do I output text without a newline in PowerShell?
Powershell
Boolean literals in PowerShell
Powershell
Get full path of the files in PowerShell
Powershell
Powershell 2.0
How do you run a SQL Server query from PowerShell?
Powershell
Sql
How do I concatenate strings and variables in PowerShell?
Powershell
String Concatenation
How to run a PowerShell script without displaying a window?
Windows
Powershell
Scripting
Batch File
Silent
How to get all groups that a user is a member of?
Powershell
Active Directory
Powershell 2.0
Can't install nuget package because of "Failed to initialize the PowerShell host"
Powershell
Visual Studio-2013
Nuget
Powershell 2.0
Nuget Package
PowerShell: Setting an environment variable for a single command only
Windows
Powershell
Scripting
Variables
Environment
Executing a command stored in a variable from PowerShell
Powershell
How to find the Windows version from the PowerShell command line
Windows
Powershell
Powershell 2.0
How to get an object's property's value by property name?
Powershell
Select the values of one property on all objects of an array in PowerShell
Arrays
Powershell
Member Enumeration
How to count objects in PowerShell?
Powershell
Scripting
Check if a Windows service exists and delete in PowerShell
Powershell
Windows Services
When should I use Write-Error vs. Throw? Terminating vs. non-terminating errors
Powershell
Error Handling
Powershell 2.0
The response content cannot be parsed because the Internet Explorer engine is not available, or
Powershell
Internet Explorer
PowerShell: Run command from script's directory
Powershell
How to load assemblies in PowerShell?
Powershell
Powershell 3.0
Use Invoke-WebRequest with a username and password for basic authentication on the GitHub API
Powershell
Github Api
Basic Authentication
How can I force Powershell to return an array when a call only returns one object?
Powershell
Get file version in PowerShell
File
Powershell
Versioninfo
Get Folder Size from Windows Command Line
Windows
Powershell
Command Line
Printing object properties in Powershell
Powershell
How to make PowerShell tab completion work like Bash
Powershell
Cmd
Tab Completion
Why is my locally-created script not allowed to run under the RemoteSigned execution policy?
Powershell
Powershell 2.0
Code Signing
Executionpolicy
Using PowerShell credentials without being prompted for a password
Powershell
Powershell Remoting
How do you set PowerShell's default directory?
Windows
Powershell
What's the better (cleaner) way to ignore output in PowerShell?
Powershell
Null
Void
Io Redirection
How to write to the console in PowerShell?
Powershell
Visual studio code cmd error: Cannot be loaded because running scripts is disabled on this system
Powershell
Command Line
Visual Studio-Code
Vscode Settings
Read file line by line in PowerShell
Powershell
Powershell Ise
Message "the term 'ng' is not recognized as the name of a cmdlet"
node.js
Angular
Powershell
Npm
Angular Cli
Determine installed PowerShell version
Powershell
Version
Display all environment variables from a running PowerShell script
Powershell
Environment Variables
Why does 'continue' behave like 'break' in a Foreach-Object?
Powershell
Foreach
PowerShell: Store Entire Text File Contents in Variable
Powershell
Check if a file exists or not in Windows PowerShell?
Powershell
Powershell 3.0
Changing PowerShell's default output encoding to UTF-8
Powershell
Utf 8
Character Encoding
How to do what head, tail, more, less, sed do in Powershell?
Windows
Powershell
How to run an application as "run as administrator" from the command prompt?
Powershell
Cmd
Command Prompt
Multiline comment in PowerShell
Powershell
Powershell 2.0
How can I uninstall an application using PowerShell?
Windows
Powershell
Windows Installer
Uninstallation
How to get disk capacity and free space of remote computer
Powershell
Scripting
Powershell 2.0
Removing path and extension from filename in PowerShell
Powershell
Capturing standard out and error with Start-Process
Powershell
Start Process
A better way to check if a path exists or not in PowerShell
Powershell
Executing an EXE file using a PowerShell script
Powershell
Powershell 2.0
Null coalescing in powershell
Powershell
Null Coalescing-Operator
Powershell v3 Invoke-WebRequest HTTPS error
.Net
Rest
Powershell
Https
How do I use Join-Path to combine more than two strings into a file path?
Powershell
Creating and throwing new exception
Powershell
PowerShell Script to Find and Replace for all Files with a Specific Extension
Powershell
Scripting
Replace
Find
How to list all properties of a PowerShell object
Powershell
What does the "@" symbol do in PowerShell?
Syntax
Powershell
Referencing system.management.automation.dll in Visual Studio
Visual Studio
Powershell
Equivalent of 'more' or 'less' command in Powershell?
Powershell
How can I use PowerShell with the Visual Studio Command Prompt?
Visual Studio-2010
Visual Studio
Powershell
Can Powershell Run Commands in Parallel?
Multithreading
Powershell
Parallel Processing
What's the best way to determine the location of the current PowerShell script?
Powershell
Powershell 2.0
Path to Powershell.exe (v 2.0)
Powershell
Path
Does PowerShell support constants?
Powershell
Constants
powershell - extract file name and extension
.Net
Powershell
Powershell 2.0
How do I concatenate two text files in PowerShell?
Powershell
Merge
Text Files
Powershell 2.0
What does the & symbol in powershell mean?
Powershell
How can you use an object's property in a double-quoted string?
Powershell
String Interpolation
File extension for PowerShell 3
Windows
Shell
Powershell
Windows 8
What does "%" (percent) do in PowerShell?
Powershell
Syntax
Removing duplicate values from a PowerShell array
Arrays
Powershell
powershell 2.0 try catch how to access the exception
Powershell
Try Catch
PowerShell difference between Write-Host and Write-Output?
Windows
Powershell
How to replace multiple strings in a file using PowerShell
Powershell
Replace
Change directory in PowerShell
Powershell
How do you do a ‘Pause’ with PowerShell 2.0?
Powershell
How to pass boolean values to a PowerShell script from a command prompt
Scripting
Powershell
How to enter a multi-line command
Powershell
Multiline
Execute PowerShell Script from C# with Commandline Arguments
C#
Command Line
Powershell
Scripting
Arguments
Getting the path of %AppData% in PowerShell
Powershell
Scripting
PowerShell says "execution of scripts is disabled on this system."
Powershell
Windows Server-2008-R2
How do I check if a PowerShell module is installed?
Powershell
TimeStamp on file name using PowerShell
Powershell
How to get the Parent's parent directory in Powershell?
Powershell
Scripting
How to create a shortcut using PowerShell
Powershell
Command Line
Shortcut
Shortcut File
How to handle command-line arguments in PowerShell
Powershell
Command Line-Arguments
How can you test if an object has a specific property?
Powershell
Powershell 3.0
How to upgrade PowerShell version from 2.0 to 3.0
Powershell
Powershell 2.0
Upgrade
Powershell 3.0
How can I get the current PowerShell executing file?
Powershell
Looping through a hash, or using an array in PowerShell
Powershell
Dictionary
Hashtable
Powershell: How can I stop errors from being displayed in a script?
Powershell
Error Handling
Passing multiple values to a single PowerShell script parameter
Powershell
Parameters
The term 'Get-ADUser' is not recognized as the name of a cmdlet
Powershell
Why are my PowerShell scripts not running?
Powershell
Convert a secure string to plain text
Powershell
Securestring
How to normalize a path in PowerShell?
Powershell
Path
Copy file remotely with PowerShell
Powershell
Powershell 2.0
How can I pass an argument to a PowerShell script?
Powershell
Command Line
Automation
Parameter Passing
Itunes
Extract the filename from a path
Powershell
Powershell 2.0
Running CMD command in PowerShell
Powershell
Command Line
Cmd
How can I check if a string is null or empty in PowerShell?
.Net
String
Powershell
Null
PowerShell's Clear-History doesn't clear history
Powershell
History
Press any key to continue
Powershell
PowerShell script not accepting $ (dollar) sign
Powershell
Escaping
How do I pass multiple parameters into a function in PowerShell?
Powershell
Syntax
Parameter Passing
How can I see the command history across all PowerShell sessions in Windows Server 2016?
Powershell
Windows Server-2016
Post build event execute PowerShell
C#
.Net
Powershell
Msbuild
GetType used in PowerShell, difference between variables
Powershell
Powershell 2.0
Creating a shadow copy using the "Backup" context in a PowerShell
Powershell
Backup
Wmi
Shadow Copy
Equivalent of *Nix 'which' command in PowerShell?
Unix
Powershell
Command
Redirecting output to $null in PowerShell, but ensuring the variable remains set
Powershell
How to Remove ReadOnly Attribute on File Using PowerShell?
Powershell
Powershell 1.0
Scripting
Terminating a script in PowerShell
Powershell
How to pass command-line arguments to a PowerShell ps1 file
Command Line
Powershell
Arguments
Running cURL on 64 bit Windows
Windows
Powershell
Curl
How to process a file in PowerShell line-by-line as a stream
Powershell
Stream
Pass parameter from a batch file to a PowerShell script
Powershell
Batch File
PowerShell Set-Content and Out-File - what is the difference?
Powershell
VSC PowerShell. After npm updating packages .ps1 cannot be loaded because running scripts is disabled on this system
Firebase
Powershell
vue.js
Npm
Visual Studio-Code
How do I create a custom type in PowerShell for my scripts to use?
Powershell
Scripting
Best way to check if an PowerShell Object exist?
Powershell
Object
Null
Powershell 2.0
Windows PowerShell: changing the command prompt
Windows
Powershell
Powershell web request without throwing exception on 4xx/5xx
Powershell
How to break lines in PowerShell?
Powershell
Line Breaks
Spaces cause split in path with PowerShell
Powershell
How to add more than one machine to the trusted hosts list using winrm
Windows
Powershell
Hosts
Winrm
PowerShell: how to grep command output?
Powershell
What's the PowerShell syntax for multiple values in a switch statement?
Powershell
Switch Statement
Powershell Get-ChildItem most recent file in directory
Powershell
Determine if current PowerShell Process is 32-bit or 64-bit?
Scripting
Powershell
64 Bit
32 Bit
What’s in your PowerShell `profile.ps1` file?
Powershell
How to check if PowerShell snap-in is already loaded before calling Add-PSSnapin
Powershell
Obtaining ExitCode using Start-Process and WaitForExit instead of -Wait
Powershell
Powershell 2.0
Safest way to run BAT file from Powershell script
Batch File
Powershell
Create directory if it does not exist
Powershell
Powershell Ise
How can I display my current git branch name in my PowerShell prompt?
Git
Powershell
Command Prompt
How to get Command Line info for a process in PowerShell or C#
C#
Powershell
Process
Command
Rename multiple files in a folder, add a prefix (Windows)
Windows
Powershell
Filenames
Prefix
Batch Rename
Powershell - Why is Using Invoke-WebRequest Much Slower Than a Browser Download?
Powershell
Amazon Ec2
Amazon S3
Powershell 3.0
How to convert string to integer in PowerShell
Powershell
How to fix error- nodemon.ps1 cannot be loaded because running scripts is disabled on this system, (without security risk)?
node.js
Powershell
Visual Studio-Code
Web Development-Server
Nodemon
Echo %path% on separate lines?
Powershell
Path
Cmd
Difference between $? and $LastExitCode in PowerShell
Windows
Powershell
Command Line
Splitting a string into separate variables
String
Powershell
Powershell test if folder empty
Powershell
How can I find the product GUID of an installed MSI setup?
Powershell
Wix
Windows Installer
Installation
Uninstallation
PowerShell - Start-Process and Cmdline Switches
Command Line
Powershell
Start Process
How do I get the current username in Windows PowerShell?
Windows
Powershell
Scripting
PSCustomObject to Hashtable
Powershell
Hashtable
Pscustomobject
Copy Files from Remote RDP to Local Machine
Windows
Powershell
How to open Powershell Console Window from Powershell
Powershell
Powershell 2.0
How to properly -filter multiple strings in a PowerShell copy script
Powershell
Filter
Copy
Powershell 2.0
Catching FULL exception message
Powershell
Exception
Exception Handling
How to tell 'PowerShell' Copy-Item to unconditionally copy files
Powershell
How can I write a PowerShell alias with arguments in the middle?
Powershell
G++
Alias
Limit Get-ChildItem recursion depth
Powershell
How to get the captured groups from Select-String?
Regex
Powershell
Select String
Select Object
Equivalent to C#'s "using" keyword in powershell?
.Net
Powershell
Powershell 2.0
Unix tail equivalent command in Windows Powershell
Windows
Powershell
Tail
How to run an EXE file in PowerShell with parameters with spaces and quotes
Powershell
Parameters
Quotes
Exe
Spaces
How to decode a Base64 string?
Powershell
Base64
PowerShell : retrieve JSON object by field value
Json
Powershell
Powershell 3.0
How can I re-use/import script code in PowerShell scripts?
Powershell
How can I split a text file using PowerShell?
Powershell
Get index of current item in a PowerShell loop
Powershell
How to pass needed parameters to script in Powershell ISE?
Powershell
Parameter Passing
Powershell Ise
PowerShell's Invoke-RestMethod equivalent of curl -u (Basic Authentication)
Powershell
Curl
Basic Authentication
PowerShell array initialization
Arrays
Powershell
Error when calling 3rd party executable from Powershell when using an IDE
Ide
Powershell
Powergui
Du
The '<' operator is reserved for future use
Powershell
Redirect
Io Redirection
How do I pass named parameters with Invoke-Command?
Powershell
Invoke Command
What's the cmd/PowerShell equivalent of back tick on Bash?
Bash
Powershell
Cmd
How do I add a newline to command output in PowerShell?
Powershell
Newline
Upload files with FTP using PowerShell
Powershell
Ftp
What is the recommended coding style for PowerShell?
Powershell
Coding Style
Comparing two arrays & get the values which are not common
Arrays
Powershell
Open Powershell in a specific directory from shortcut
Powershell
Windows 7
Shortcut
How do I type a TAB character in PowerShell?
Windows
Powershell
Command Prompt
Ignore 'Security Warning' running script from command line
Security
Powershell
Run bash script from Windows PowerShell
Bash
Powershell
Progress during large file copy (Copy-Item & Write-Progress?)
Powershell
Progress Bar
Progress
Copying
Copy Item
In PowerShell, how do I test whether or not a specific variable exists in global scope?
Powershell
How do I find the CPU and RAM usage using PowerShell?
Powershell
How to exit from ForEach-Object in PowerShell
Powershell
Foreach
Redirecting standard input\output in Windows PowerShell
Powershell
Powershell 2.0
Stdin
What exactly is "exit" in PowerShell?
Powershell
Extract a substring using PowerShell
String
Powershell
Powershell 2.0
Can you remove an Add-ed Type in PowerShell again?
Dll
Powershell
Add Type
Create Log File in Powershell
Powershell
How to execute .sql file using powershell?
Sql
Sql Server
Powershell
Powershell Module
How do I get the value of a registry key and ONLY the value using powershell
Variables
Powershell
Registrykey
Why are my PowerShell exit codes always "0"?
Powershell
Teamcity
Exit Code
Try/catch does not seem to have an effect
Powershell
Error Handling
Creating a folder if it does not exists - "Item already exists"
Powershell
How do I run a PowerShell script when the computer starts?
Powershell
Azure CLI vs Powershell?
Azure
Powershell
Azure Powershell
Azure Cli
Azure Cli2
Exclude list in PowerShell Copy-Item does not appear to be working
Powershell
How do I write a PowerShell script that accepts pipeline input?
Powershell
How do I execute a PowerShell script automatically using Windows task scheduler?
Powershell
Windows Task-Scheduler
How do I get help messages to appear for my Powershell script parameters?
Powershell
Powershell 2.0
Changing "git status" output colors in Posh-Git
Git
Powershell
Windows 7
Posh Git
How to search a string in multiple files and return the names of files in Powershell?
String
Search
Text
Powershell
Recursion
Is PowerShell ready to replace my Cygwin shell on Windows?
Unix
Shell
Powershell
How to Correctly Check if a Process is running and Stop it
Powershell
Running PowerShell as another user, and launching a script
Powershell
Runas
Powershell 2 copy-item which creates a folder if doesn't exist
Powershell
Copy
Powershell 2.0
How to recursively delete an entire directory with PowerShell 2.0?
Windows
Powershell
Windows 7
Filesystems
Delete Directory
Invoke a second script with arguments from a script
Powershell
Parameter Passing
Command Line-Arguments
Invoke Command
Start Job
How to pass a switch parameter to another PowerShell script?
Powershell
Parameter Passing
Cannot access network drive in PowerShell running as administrator
Powershell
Uac
Unc
Is it possible to open a Windows Explorer window from PowerShell?
Powershell
Powershell: Get FQDN Hostname
Windows
Powershell
Is it possible to send additional HTTP headers to web services via New-WebServiceProxy
Web Services
Powershell
How can I rethrow an exception from catch block in PowerShell?
Powershell
Exception
Hide progress of Invoke-WebRequest
Powershell
Progress
Powershell 3.0
How to Use -confirm in PowerShell
Powershell
How do I force powershell to reload a custom module?
Powershell
Powershell 5.0
Powershell Module
Add tab completion for Git branches in Powershell
Git
Powershell
Autocomplete
How do I retrieve the available commands from a module?
Powershell
Module
Powershell 2.0
How to get started with PowerShell?
Powershell
Scripting
Path of currently executing powershell script
Powershell
What's the environment variable for the path to the desktop?
Windows
Powershell
Vbscript
Localization
Desktop
How do I set the .NET Framework Version when using New-WebAppPool?
Windows
Iis
Powershell
Application Pool
.Net Framework-Version
What are the possible 'Mode' values returned by PowerShell's Get-ChildItem cmdlet?
Powershell
Powershell Command: rm -rf
Powershell
Command
Cmd
Rm
Running a command as Administrator using PowerShell?
Powershell
Administrator
How to run PowerShell in CMD
Windows
Powershell
Batch File
Cmd
How to initialize an array of custom objects
Powershell
Pscustomobject
PowerShell Installing NuGet, says unable to access internet, but I actually can
Powershell
Nuget
List all devices, partitions and volumes in Powershell
List
Powershell
Device
How to check if a cmdlet exists in PowerShell at runtime via script
Powershell
Powershell 2.0
Suppress console output in PowerShell
Powershell
Output
Suppress Warnings
Verbosity
VSCode is suddenly defaulting to powershell for integrated terminal and tasks
Powershell
Visual Studio-Code
Git Bash
How to do TDD and unit testing in powershell?
Unit Testing
Powershell
Tdd
Pester
virtualenv in PowerShell?
Python
Powershell
Virtualenv
How to clear $Error in PowerShell?
Powershell
Powershell to manipulate host file
Powershell
How can I stop and start individual websites in IIS using PowerShell?
Windows
Iis
Powershell
Powershell remoting with ip-address as target
Powershell
Remoting
Powershell Remoting
Should Copy-Item create the destination directory structure?
Powershell
Variable scoping in PowerShell
Powershell
Scope
Get relative path of files in sub-folders from the current directory
Powershell
Powershell 2.0
Powershell Ise
Test if executable is in path in PowerShell
Powershell
PowerShell inline If (IIf)
Powershell
Iif
Where to put PowerShell scripts?
Powershell
PowerShell on Windows 7: Set-ExecutionPolicy for regular users
Windows 7
Powershell
How do I make parameters mandatory in PowerShell?
Powershell
What is `$?` in Powershell?
Powershell
How to run a Powershell script from the command line and pass a directory as a parameter
Powershell
Powershell 2.0
Iterate over PSObject properties in PowerShell
Powershell
How do I do 'dir /s /b' in PowerShell?
Powershell
Powershell: resolve path that might not exist?
Powershell
How can I get the file system location of a PowerShell script?
Powershell
Batch File
Why do I need to have my functions written first in my PowerShell script?
Powershell
How can I exclude multiple folders using Get-ChildItem -exclude?
List
Powershell
Directory
Connecting to a network folder with username/password in Powershell
Powershell
PowerShell script to check an application that's locking a file?
Powershell
Scripting
Filelock
Powershell: Reference a property that contains a space
Powershell
Csv
Powershell send-mailmessage - email to multiple recipients
Powershell
Replace or delete certain characters from filenames of all files in a folder
Windows
File
Powershell
Batch File
Cmd
Displaying Unicode in Powershell
Powershell
Unicode
Utf 8
Terminal
Windows Console
Creating aliases in PowerShell for git commands?
Git
Powershell
How to execute PowerShell commands from a batch file?
Powershell
Command Line
Batch File
Powershell 2.0
PowerShell stripping double quotes from command line arguments
Windows
Command Line
Powershell
I'm trying to use python in powershell
Python
Powershell
Python 2.7
How can I find the source path of an executing script?
Powershell
Powershell 1.0
Enum like switch parameter in PowerShell
Powershell
Saving an XML file in powershell requires complete path. Why?
Xml
Powershell
Cannot run Maven using `mvn -D` argument within Microsoft Powershell, but works in Command Prompt
Windows
Command Line
Powershell
Maven
Command
Use CTRL + D to exit and CTRL + L to cls in Powershell console
Powershell
Keyboard Shortcuts
What is the idiomatic way to slice an array relative to both of its ends?
Arrays
Powershell
Slice
Idioms
Language Comparisons
Powershell Invoke-WebRequest Fails with SSL/TLS Secure Channel
Powershell
Ssl
Check if a string is not NULL or EMPTY
Powershell
Find the first file that matches a pattern using PowerShell
Powershell
How to test for $null array in PowerShell
Powershell
Null
How do I pass an array as a parameter to another script?
Arrays
Powershell
Parameters
Arguments
How can I replace every occurrence of a String in a file with PowerShell?
Powershell
In Powershell what is the idiomatic way of converting a string to an int?
Powershell
Concatenate network path + variable
Powershell
How to uninstall an app that another user installed?
Powershell
Windows 8
Windows Runtime
Windows Store-Apps
Windows Store
Install NuGet via PowerShell script
Powershell
Nuget
Powershell 3.0
Using Powershell as terminal in IntelliJ IDEA IDEs like PyCharm, PHPStorm or RubyMine
Powershell
Intellij Idea
Pycharm
Can LINQ be used in PowerShell?
Linq
Powershell
PowerShell "echo on"
Powershell
Command
Echo
how to open a folder within Powershell
Powershell
The PowerShell -and conditional operator
Powershell
How do I call New-Object for a constructor which takes a single array parameter?
Arrays
Powershell
Parameters
Constructor
How to stop a PowerShell script on the first error?
Windows
Powershell
Which parameter set has been used?
Powershell
Parameters
Optional Parameters
How do I get the directory of the PowerShell script I execute?
Powershell
How do you successfully change execution policy and enable execution of PowerShell scripts
Windows
Powershell
How can I reset the powershell colors
Powershell
Colors
Include relative files in PowerShell
Powershell
Include
Relative Path
Multiple foreground colors in PowerShell in one command
Powershell
Colors
Get startup type of Windows service using PowerShell
Powershell
Windows Services
Split string with PowerShell and do something with each token
String
Powershell
Tokenize
Setting a global PowerShell variable from a function where the global variable name is a variable passed to the function
Powershell
How can I test that a variable is more than eight characters in PowerShell?
Variables
Testing
Powershell
powershell is missing the terminator: "
Powershell
Powershell 2.0
Powershell 3.0
How do I negate a condition in PowerShell?
Windows
Powershell
How can prevent a PowerShell window from closing so I can see the error?
Powershell
Downloading a file with PowerShell
Powershell
Copy-Item copies directory as well as contents to UNC path
Powershell
Unc
Powershell 1.0
How to sort by file name the same way Windows Explorer does?
Powershell
Replace the content of a textfile with a regex in powershell
Regex
Powershell
Pass arguments to a scriptblock in powershell
Powershell
Scriptblock
Write output to a text file in PowerShell
Powershell
File Io
PowerShell The term is not recognized as cmdlet function script file or operable program
Powershell
Cmd
Powershell 2.0
Command Prompt
Powershell' is not recognized as an internal or external command, operable program or batch file
Windows
Powershell
Visual Studio-2013
Powershell: How do I install the Nuget provider for PowerShell on a unconnected machine so I can install a nuget package from the PS command line?
Powershell
Nuget
Can I get detailed exception stacktrace in PowerShell?
Exception
Powershell
Stack Trace
How do I encode Unicode character codes in a PowerShell string literal?
Powershell
Unicode
String Literals
Unicode Literals
PowerShell 2.0 and "The term 'Param' is not recognized as the name of a cmdlet, function, script file, or operable program"
Powershell
Prevent ArrayList.Add() from returning the index
.Net
Powershell
Arraylist
How to reference .NET assemblies using PowerShell
Powershell
Assemblies
What is the Linq.First equivalent in PowerShell?
C#
Linq
Powershell
Lambda
Powershell import-module doesn't find modules
Powershell
Module
Web.Config transforms outside of Microsoft MSBuild?
Powershell
Msbuild
Powershell 2.0
Xml Document-Transform
Delete all files and folders but exclude a subfolder
Powershell
Escaping dollar signs in PowerShell path is not working
Powershell
How to compare the contents of two string objects in PowerShell
Powershell
String Comparison
flutter doctor doesn't work on neither Command Prompt or PowerShell window?
Powershell
Flutter
Command
Flutter Doctor
Load variables from another powershell script
Powershell
Powershell 2.0
Remove Top Line of Text File with PowerShell
Powershell
Invoke an exe from PowerShell and get feedback on success or failure
Powershell
Setting Inheritance and Propagation flags with set-acl and powershell
Powershell
Permissions
File Permissions
Redirection of standard and error output appending to the same log file
Powershell
Powershell 2.0
Can I use a single quote in a PowerShell 'string'?
Powershell
Escaping
Display all sites and bindings in PowerShell
Iis
Powershell
Powershell 3.0
Iis 8
Create an array, hashtable and dictionary?
Powershell
How to recursively remove all empty folders in PowerShell?
Powershell
Windows 8.1