From 7151027f16ed4fe99f911490d4309b9df5e3aa21 Mon Sep 17 00:00:00 2001 From: Patrick Neumann Date: Sun, 7 Jun 2020 12:01:03 +0000 Subject: [PATCH] updated USAGE --- copyfiles.ps1 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/copyfiles.ps1 b/copyfiles.ps1 index 07c8463..b9f462d 100755 --- a/copyfiles.ps1 +++ b/copyfiles.ps1 @@ -7,9 +7,18 @@ # copyfiles.ps1 (or copyfiles.exe) # # USAGE: -# Step 1 (cmd.exe): -# C:\>powershell -ExecutionPolicy Unrestricted -# Step 2: +# Step 1a (cmd.exe as Administrator): +# C:\>powershell -ExecutionPolicy "Unrestricted" +# Step 1b: +# PS C:\> E:\copyfiles.ps1 [Options] +# or +# PS C:\> E:\copyfiles.ps1 -s[ourcepath] -d[estinationpath] [Options] +# +# OR: +# +# Step 2a (powershell.exe as Administrator): +# PS C:\> Set-ExecutionPolicy "Unrestricted" +# Step 2b: # PS C:\> E:\copyfiles.ps1 [Options] # or # PS C:\> E:\copyfiles.ps1 -s[ourcepath] -d[estinationpath] [Options]