Tag Archives: powershell

Powershell: Convert UNIX Timestamp to DateTime

Hi,

simple one liner to convert an UNIX Timnestap to DataTime object.
Continue reading Powershell: Convert UNIX Timestamp to DateTime

Windows: Get Windows Feature Version/Release ID

Hi,

2 Ways to determine the Windows Feature Version / Release ID from commandline. With powershell
Continue reading Windows: Get Windows Feature Version/Release ID

Powershell: Execute a process and capture STDOUT and STDERR

Hi,

if have to execute a process or script from powershell and you have to capture the output you can use the System.Diagnostics.Process class.

I’ve written a simple function for this case 🙂

Continue reading Powershell: Execute a process and capture STDOUT and STDERR

Powershell: Accessing Applications and Services Logs

Hi,

for showing or exporting the System, Application and Security Log the command let Get-EventLog is the first choice.
Continue reading Powershell: Accessing Applications and Services Logs

Powershell: Enable secure Windows/Powershell Remoting over https

Hi,

these are the steps to enable Windows Powershell remoting secured by TLS

Check your Network connection profile. Set-WSManQuickConfig expects that the Network profile is at least private or domain.

Continue reading Powershell: Enable secure Windows/Powershell Remoting over https