close

Scripting

PowerShell, Bash, ksh, sh, Perl and etc. 

rss_feed Subscribe RSS

local_offer powershell

visibility 385
thumb_up 0
access_time 3 years ago

The following is a PowerShell code snippet to start multiple VMs through vmplayer.exe: # Navigate to the folder where vmplayer.exe file exists cd "D:\Program Files (x86)\VM Player" # Start the VMs by using vmplayer...

open_in_new Scripting

local_offer powershell

visibility 10937
thumb_up 1
access_time 3 years ago

PowerShell provides a number of cmdlets to retrieve current date time and to create time span object. Calculate time difference - CmdLets $current = Get-Date $end= Get-Date $diff= New-TimeSpan -Start $current -End $end Write-Output "Time difference is: $di...

open_in_new Scripting