Powershell: Method not found: ‘System.Threading.Tasks.Task System.Threading.Tasks.Task.Run(System.Action)’

Hi,

when you tried to start powershell and the window opens and closes immediately.

Open a cmd and start powershell by calling powershell.exe
More »

Powershell: Searching in arrays

Hi,

this is a really often requiered task in powershell. Here are some examples.
More »

Powershell: Encode and decode Base64 strings

Hi,

short post today. How to en- and decode base64 strings.
More »

Powershell: Passing an array to a script at command line

Hi,

starting point is a simple powershell shell script testarray.ps1:
More »

Powershell: Profile locations

Hi,

if you want to customize your environment powershell has ability to load or execute some scripts at startup.

There are 4 files where you can define functions, aliases … The AllHosts variables does not mean Computers. Allhosts is relating to Programs with has an Interface to Powershell, for example Powershell itself, Powershell ISE and so on. While currenthost means a specfic program. The currenthost variables differ from Powershell to Powershell ISE.
More »

Original Theme by Schiy · Powered by WordPress