How to create permanent PowerShell Aliases
I want to create an alias of a cmdlet that doesn’t expire after I close the current session of Powershell, let’s say I … Read more
I want to create an alias of a cmdlet that doesn’t expire after I close the current session of Powershell, let’s say I … Read more
I’m starting to use PowerShell and am trying to figure out how to echo a system environment variable to the console to read … Read more
Is it possible to create a zip archive using PowerShell? 24 Answers 24
I have a .zip file and need to unpack its entire content using Powershell. I’m doing this but it doesn’t seem to work: … Read more
Is there a simple way to time the execution of a command in PowerShell, like the ‘time’ command in Linux? I came up … Read more
I’ve seen the following a lot in PowerShell, but what does it do exactly? $_ 7 Answers 7
I’m using PowerShell 2.0 and I want to pipe out all the subdirectories of a certain path. The following command outputs all files … Read more
Can PowerShell 1.0 create hard and soft links analogous to the Unix variety? If this isn’t built in, can someone point me to … Read more
How do you take a command like the following in PowerShell and split it across multiple lines? &”C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe” -verb:sync -source:contentPath=”c:\workspace\xxx\master\Build\_PublishedWebsites\xxx.Web” … Read more
I have a .ps1 file in which I want to define custom functions. Imagine the file is called MyFunctions.ps1, and the content is … Read more