Category Archives: Powershell

Windows 10: Determine history of feature upgrades

Hi,

this powershell script determines the previous Windows 10 ReleaseIDs and install date of all feature updates applied to a system.
Continue reading Windows 10: Determine history of feature upgrades

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

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

VMware PowerCli: Eject CD/DVD Media from VMs

Hi,

when you have to eject or unmount DVD iso from your VMs, may be the iso files resists on datastore you want to remove, these one liner should help you.
Continue reading VMware PowerCli: Eject CD/DVD Media from VMs