Programmerare, skeptiker, sekulärhumanist, antirasist.
Författare till bok om C64 och senbliven lantis.
Röstar pirat.
2008-12-19
To install Microsoft PowerShell version 1.0, you must download the correct package for your version of Windows from Microsoft Download Center. Some of the packages require that you validate your copy of Windows.
To see the complete list, search for powershell at Microsoft Download Center. Version 1.o is based on .NET Framework 2.0, so that (or a later version) must be installed. Version 2 can be downloaded here, and the current version (3.5) can be downloaded here.
You can switch to fullscreen by pressing Alt+Enter, but some of the newer graphic cards does not support the mode that it changes to. PowerShell checks this before changing the mode, so nothing bad will happen if you try this.
Allow for scripting
To check if scripting is activated in PowerShell, type:
Get-ExecutionPolicy
PowerShell should say Unrestricted, but if it says Restricted, your scripts will not be executed. To change this, type:
Set-ExecutionPolicy Unrestricted
Now you can play away with your ps1-files.
Categories: PowerShell
Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll!
[…] and everything. If you want to create scripts, you must give yourself permission to do so (shown here). In addition, if you are using Windows 7 or later, you must start PowerShell as an administrator […]