For topics and problems related specifically to Windows PowerShell 4.0. PowerShell 4.0 shipped with the releases of with Windows 8.1 and Windows 2012 R2.
I want to run the .reg file (registry file) using PowerShell Script but I am not able to run it. …
powershell automation powershell-3.0 powershell-4.0 powershell-5.0The situation. On a Windows 7 SP1 machine, I have updated with Windows6.1-KB2819745-x64-MultiPkg.msu. Furthermore, in PowerShell $PSVersionTable …
powershell windows-7 powershell-4.0A simple & short question: How can I setup a default date format in powershell like yyyy-mm-dd ? so any date …
powershell powershell-2.0 powershell-3.0 powershell-4.0I have a multiline string like the following: 2012-15-08 07:04 Bla bla bla blup 2012-15-08 07:05 *** Error importing row no. 5: …
regex string powershell string-matching powershell-4.0#Requires -Version 2.0 [CmdletBinding()] Param( [Parameter()] [string] $MyParam = $null ) if($MyParam -eq $null) { Write-Host 'works' } else { Write-Host 'does not work' } Outputs "…
powershell powershell-4.0If you do: git describe --long you get: 0.3.1-15-g3b885c5 Thats the meaning of the above string: Tag-CommitDistance-CommitId (…
powershell powershell-4.0I am trying to use the Rename-Item cmdlet to do the following: I have folder which contains "*.txt" files. Let's …
powershell powershell-4.0 foreach-loop-containerI want to output the date time in various places in my script for logging so I am doing this: $…
powershell powershell-4.0I have a powershell script using the Skytap API (REST). I would like to catch the error, if there is …
rest http error-handling powershell-4.0I am using Windows Server 2012 R2 (64 bit). I have powershell version 4 available in it. I am trying to zip and …
powershell zip unzip powershell-4.0