Submitted By: Kent Finkle

Copies a file using Windows PowerShell.

PowerShell
Edit|Remove
#  Script name:    CopyFile.ps1
#  Created on:     2006-10-16
#  Author:         Kent Finkle
#  Purpose:        Copy a file with PowerShell.

[System.IO.File]::Copy("c:\scripts\CountFiles.ps1","c:\scripts\CountFiles4.ps1");