Script to setup Windows 10 1903
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
5.0 KiB

5 years ago
## English
## Contents
- [Description](#description)
- [Usage](#usage)
- [FAQ](#faq)
- [Supported Windows version](#supported-windows-version)
- [PS](#ps)
## Description
This PowerShell script is for initial setup after fresh installation of Windows 10 and partially Windows Server 2016/2019. The script is a set of tweaks for fine-tuning the OS and automating the routine tasks.
## Usage
To run the script:
5 years ago
- Download [up-to-date version](https://github.com/farag2/Setup-Windows-10/releases);
5 years ago
- Change encoding to "UTF-8 with BOM" and run it through powershell.exe.
or
5 years ago
- Copy the script code and paste it into [PowerShell ISE](https://docs.microsoft.com/en-us/powershell/scripting/components/ise/windows-powershell-integrated-scripting-environment--ise-).
5 years ago
**NB**
- PowerShell and PowerShell ISE must be run with elevated privileges;
- Set PowerShell [execution](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) policy to be able to run .ps1 file.
## FAQ
Read the code you run carefully. Some functions are presented as an example only. You must be aware of the meaning of the functions in the code. **If you're not sure what the script does, do not run it.**
If you're not sure:
- Open new [issue](https://github.com/farag2/Setup-Windows-10/issues);
5 years ago
- Ask a question in [forum](https://forums.mydigitallife.net/threads/powershell-script-setup-windows-10.80139/);
- [PM](https://forums.mydigitallife.net/members/farag.425562/) me.
5 years ago
5 years ago
The script was written for PowerShell 5.1 and for the current up-to-date version of Windows 10 Pro x64. Some of functions can be run also on LTSB/LTSC and on older versions of Windows and PowerShell (also on 32bit systems).
5 years ago
## Supported Windows version
| Version | Code name | Marketing name | Build |
| :-----: | -------------| ---------------------- | :---: |
| 1903 | 19H1 | May 2019 Update | 18362 |
 
## Русский
5 years ago
## Содержание
- [Описание](#описание)
- [Использование](#использование)
- [FAQ](#faq)
- [Поддерживаемая версия Windows](#поддерживаемая-версия-windows)
- [PS](#ps)
## Описание
5 years ago
PowerShell-скрипт предназначен для первоначальной настройки Windows 10 после чистой установки и частично Windows Server 2016/2019. Скрипт представляет из себя набор твиков (улучшений) для тонкой настройки ОС и автоматизации рутинных задач.
5 years ago
5 years ago
## Использование
Чтобы запустить скрипт:
5 years ago
- Скачать [актуальную версию](https://github.com/farag2/Setup-Windows-10/releases);
5 years ago
- Изменить кодировку на "UTF-8 с BOM" и запустить через powershell.exe.
5 years ago
5 years ago
или
5 years ago
5 years ago
- Скопировать весь текст кода и вставить его в [PowerShell ISE](https://docs.microsoft.com/ru-ru/powershell/scripting/components/ise/windows-powershell-integrated-scripting-environment--ise-).
5 years ago
5 years ago
**NB**
- PowerShell и PowerShell ISE необходимо запускать с правами Администратора;
- Установите [политику](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) выполнения PowerShel-скриптов, чтобы иметь возможность запускать файлы .ps1.
5 years ago
## FAQ
5 years ago
Внимательно ознакомьтесь с кодом, который запускаете. Некоторые команды представлены лишь в качестве примера. Вы должны осознавать, какой смысл несут те или иные функции в коде. **Если вы не знаете, что делает код, не исполняете его.**
5 years ago
5 years ago
Если вы не уверены:
5 years ago
- Создайте новую [issue](https://github.com/farag2/Setup-Windows-10/issues);
5 years ago
- Задайте вопрос на [форуме](http://forum.ru-board.com/topic.cgi?forum=62&topic=30617);
5 years ago
- Напишите [личное сообщение](http://forum.ru-board.com/profile.cgi?action=show&member=farag).
5 years ago
5 years ago
Скрипт писался под PowerShell 5.1 и актуальную версию Windows 10 Pro x64. Некоторые функции могут быть запущены как на LTSB/LTSC-версиях Windows и так на более старых версиях Windows и PowerShell (в том числе и на 32-разрядных).
5 years ago
## Поддерживаемая версия Windows
| Версия | Кодовое имя | Маркетинговое название | Билд |
| :-----: | -------------| ---------------------- | :---: |
| 1903 | 19H1 | May 2019 Update | 18362 |
5 years ago
 
## PS
Collection of useful [scripts](https://gist.github.com/farag2)
5 years ago
5 years ago
Сборник полезных [скриптов](https://gist.github.com/farag2)