Windows Powershell: Create System Restore checkpoint and invoke Volume Shadow Copy snap in one shot

Creating a System Restore checkpoint in Powershell is very easy, but why not customize it?

This has been tested on Windows 7 and Windows 8…Should work with Windows 10. Edit to your requirements. Use at your own risk


function createCheckpoint
{
$logFile = 'C:\testlog\log.txt'
$provName = 'RapidEye Consulting'
$orgName = 'ACME Holdings Inc'
$date = Get-Date -format "yyyyMMdd"

# Message
$cpmsg = (“Creating restore point for ” + $env:computername)
Write-Output ((Get-Date -Format “MM/dd/yyyy @ h:mm:sstt”) + ‘ | ‘ + $cpmsg ) | Out-File $logFile -append -force

# check for checkpoint backup goodness and report back
if ((Checkpoint-Computer -Description (“$provName Backup Script for $orgName ($date)”) -RestorePointType MODIFY_SETTINGS -ErrorAction SilentlyContinue) -ne $false)
{
$restoreMsg = “Restore point done.”

} else
{
$restoreMsg = “Restore point could not be created for ” + $env:computername

}

Write-Output ((Get-Date -Format “MM/dd/yyyy @ h:mm:sstt”) + ‘ | ‘ + $restoreMsg ) | Out-File $logFile -append -force
}

createCheckpoint

November 2018 – A cheap netbook that still feels like a laptop

Those looking for a basic, low-cost, and no-frills laptop will want to check out the ASUS VivoBook X541NA-QP2ST-CB. If you have ever tried to use an inexpensive netbook, but did not enjoy peeking into an 11″ screen, you would appreciate this machine – It boasts a 15.6″ screen.

Asus VivoBook Max X541NA-QP2ST-CB 15.6
Asus VivoBook Max X541NA-QP2ST-CB 15.6″ Touchscreen LCD Notebook – Intel Pentium N4200 Quad-core (4 Core) 1.10 GHz – 4 GB DDR3L SDRAM – 256 GB SSD – Windows 10 64-bit – 1366 x 768 – Tru2Life – Silver Gradient
Intel HD Graphics 505 DDR3 SDRAM – Bluetooth – English, French Keyboard – Front Camera/Webcam – IEEE 802.11b/g/n – Fast Ethernet – Network (RJ-45) – HDMI – 1 x USB 3.0 Ports – 1 x USB 3.1 Ports
    Perks:

  • Comes with a Solid-State Drive: A 256GB SSD is required if you want your cheap laptop to run optimally. Usually it’s the storage speed that will bottleneck your system – This is a great perk.
  • Power-saving CPU: The low clock rate of the CPU should result in real-life battery improvement. Since the battery is only 3-cells, the lower clock rate should help the load on the battery.
  • 15.6″ screen on netbook hardware make the machine worth purchasing. – For those who get eye-strain on 11″ screens
  • A cheap and quick replacement computer for those who need something to use immediately who do not purchase second-hand goods
    Tradeoffs:

  • CPU has a very low clock rate and less features than regular Core i3, i5 and i7 series chips (Still not a bad thing if you are doing basic office and media tasks)
  • Ethernet is 10/100mbps ONLY – (Low bandwidth by today’s standards, but will get your remote desktop sessions connected. Most applications will work very well except during long file transfers)
  • WiFi is standard a/g/n. ( Standard WiFi, but best internet performance will be achieved here within close signal range. Data transfers will need to be performed through here if you are in close range to your WiFi router.)

If you are from southern Ontario or west of the GTA looking for computer prices, such as the equipment posted here or all other IT products, send your product requests our way.