
Originally Posted by
'hellsown',index.php?page=Thread&postID=141911#pos t141911
i got it downloaded....and installed..and i ran as admin.....................know idea how to get started...want to learn it....as pc's are my passion...but...just need a step in right direction...
3) Set your script execultion policy to run local scripts without a digital signature:
# Get-Help About_Signing
# Set-ExecutionPolicy RemoteSigned
# 4) Copy New-Wow.ps1 to somewhere in your path OR replace "new-wow" in the examples below
# with the script path.
#
# Examples:
# Copy default WoW location to c:\wow1:
# new-wow c:\wow1
#
# Copy default WoW location to c:\wow1 and c:\wow2:
# new-wow c:\wow1,c:\wow2
#
# Copy existing cuctem WoW location c:\wow1 to c:\wow2 and c:\wow3:
# new-wow c:\wow2,c:\wow3 -sourcePath c:\wow1
#
# If the script is not in your path:
# c:\somedir\new-wow.ps1 c:\wow1
#
# You can also use switches (standard PowerShell functionality
# new-wow -path c:\wow1,c:\wow2,c:\wow3 -source c:\oldwow
#
# Please be careful with -force -- it will automatically delete everything under the destination
# path:
# new-wow c:\wow1 -force
# ^-- *** deletes c:\wow1 and replaces it with a new copy of WoW! ***
first off, you need to add a folder to your windows path (you can put scripts in this folder and run them from the command line)
- Click Start and choose Control Panel
- Click System, on the right you’ll see “View basic information about your computer”
- On the left is a list of tasks, the last of which is “Advanced system settings.” Click that.
- The Advanced tab of the System Properties dialog box is shown. Click the Environment Variables button on the bottom right.
- In the lower box titled “System Variables” scroll down to Path and click the Edit button.
- Change your path as need be.
- you may need to restart your comp
-after you have a path set up (i used C:\bin as mine), copy the new-wow file to that path and change the extension from .txt to .ps1
-run powershell as admin
-run the following command: Set-ExecutionPolicy RemoteSigned
-now you can run the new-wow script using the examples... my primary wow folder isn't in C:\program files, so this is what i used:
new-wow c:\Games\symwow\wow1 -sourcePath "C:\Games\WoW"
Connect With Us