- Powershell windows 10 mobile
- Microsoft PowerShell
- О программе
- Что нового
- Системные требования
- Полезные ссылки
- Подробное описание
- Оценка пользователей
- Другие программы
- Use PowerShell scripts on Windows 10 devices in Intune
- Move to modern management
- Before you begin
- Prerequisites
- Create a script policy and assign it
- Failure to run script example
- Monitor run status
- Intune management extension logs
- Delete a script
- Common issues and resolutions
- Issue: Intune management extension doesn’t download
- Issue: PowerShell scripts do not run
Powershell windows 10 mobile
PowerShell для Windows 10 Mobile
Версия: v.1.0.0.0
Последнее обновление программы в шапке: 08.02.2021
Описание:
PowerShell — это кроссплатформенная система для автоматизации задач и управления конфигурацией, состоящая из оболочки командной строки и языка сценариев. В отличие от большинства оболочек, которые принимают и возвращают текст, PowerShell построена на основе общеязыковой среды выполнения (CLR) .NET и принимает и возвращает объекты .NET. Это фундаментальное отличие, которое подразумевает использование совершенно новых средств и методов автоматизации.
Инструкция по установке и запуску PowerShell:
1. Распаковать архив
2. Откройте cmd * и перейдите в распакованную папку powershell.
3. Введите install.bat.
4. Введите powershell.
Разблокировать загрузчик Не нужно .
* Вам нужно будет сначала установить cmd на вашем телефоне (одним из известных вам способом), а потом запустить его на том же телефоне.
Русский интерфейс: Нет
Скачать:
Архив: PowerShell для Windows 10 Mobile.rar ( 28,18 МБ )
Сообщение отредактировал Nokia1020L — 16.02.21, 12:16
Nokia1020L,
1Вам нужно будет сначала установить cmd на вашем телефоне (одним из известных вам способом), а потом запустить его на том же телефоне. = ГДЕ ВЗЯТЬ ?! )))
Microsoft PowerShell
Разработчик: | Microsoft (США) |
Лицензия: | Бесплатно |
Версия: | 7.1.3 Final / 7.2.0-preview.5 |
Обновлено: | 2021-04-15 |
Системы: | Windows / MacOS / Linux |
Интерфейс: | русский / английский |
Рейтинг: | |
Ваша оценка: | |
Категория: | Настройка и оптимизация системы |
Размер: | зависит от платформы |
О программе
Что нового
Новое в PowerShell 7.2.0-preview.5 :
Новое в PowerShell 7.1.3 :
Системные требования
PowerShell 7 в настоящее время поддерживает следующие 64-разрядные операционные системы.
- Windows 8.1 и 10 (включая ARM64)
- Windows Server 2012, 2012 R2, 2016 и 2019
- Ubuntu 16.04/18.04/20.04 (включая ARM64)
- Ubuntu 19.10 (через Snap)
- Debian 9/10
- Red Hat Enterprise Linux (RHEL) и CentOS 7
- Fedora 30 или более поздней версии
- Alpine Linux 3.11 или более поздней версии (включая ARM64)
- macOS 10.13 или более поздней версии
Полезные ссылки
Подробное описание
PowerShell является достойной многофункциональной заменой для стандартной командной строки Windows. С выходом версии 6, это консольное приложение доступно для пользователей Mac и Linux, а также включает расширенные функциональные возможности. Версию 7 называют «единый настоящий PowerShell», потому что она объединяет Windows PowerShell и PowerShell Core.
PowerShell – это новая кросплатформенная версия оболочки командной строки Windows. PowerShell имеет открытый исходный код и работает на платформе .NET Core, в отличии от предыдущих версий, работающих на .NET Framework. Приложение может получать доступ к функциям командной строки, COM-объектам и библиотекам классов .NET. Это расширяет возможности выполнения различных задач и администрирования системы.
Для упрощения работы и расширения возможностей, используются командлеты (cmdlets) – встроенные в PowerShell команды, выполняющие различные функции. PowerShell Core полностью совместим с Windows PowerShell и вы можете тестировать новые версии, параллельно с установленной рабочей версией.
Оценка пользователей
Другие программы
Microsoft .NET Core
Компоненты для разработки и запуска приложений среды .NET Core
Windows Terminal
Терминал от Microsoft объединяет инструменты CMD, PowerShell и WSL
Use PowerShell scripts on Windows 10 devices in Intune
Use the Microsoft Intune management extension to upload PowerShell scripts in Intune. Then, run these scripts on Windows 10 devices. The management extension enhances Windows device management (MDM), and makes it easier to move to modern management.
This feature applies to:
- Windows 10 and later (excluding Windows 10 Home)
Once the Intune management extension prerequisites are met, the Intune management extension is installed automatically when a PowerShell script or Win32 app is assigned to the user or device. For more information, see Intune Management Extensions prerequisites.
PowerShell scripts, which are not officially supported on Workplace join (WPJ) devices, can be deployed to WPJ devices. Specifically, device context PowerShell scripts work on WPJ devices, but user context PowerShell scripts are ignored by design. User context scripts will be ignored on WPJ devices and will not be reported to the Microsoft Endpoint Manager console.
Move to modern management
User computing is going through a digital transformation. Traditional IT focuses on a single device platform, business-owned devices, users that work from the office, and different manual, reactive IT processes. The modern workplace uses many platforms that are user and business owned. It allows users to work from anywhere, and provides automated and proactive IT processes.
MDM services, such as Microsoft Intune, can manage mobile and desktop devices running Windows 10. The built-in Windows 10 management client communicates with Intune to run enterprise management tasks. There are some tasks that you might need, such as advanced device configuration and troubleshooting. For Win32 app management, you can use the Win32 app management feature on your Windows 10 devices.
The Intune management extension supplements the in-box Windows 10 MDM features. You can create PowerShell scripts to run on Windows 10 devices. For example, create a PowerShell script that does advanced device configurations. Then, upload the script to Intune, assign the script to an Azure Active Directory (AD) group, and run the script. You can then monitor the run status of the script from start to finish.
Before you begin
When scripts are set to user context and the end user has administrator rights, by default, the PowerShell script runs under the administrator privilege.
End users aren’t required to sign in to the device to execute PowerShell scripts.
The Intune management extension agent checks with Intune once every hour and after every reboot for any new scripts or changes. After you assign the policy to the Azure AD groups, the PowerShell script runs, and the run results are reported. Once the script executes, it doesn’t execute again unless there’s a change in the script or policy. If the script fails, the Intune management extension agent retries the script three times for the next three consecutive Intune management extension agent check-ins.
For shared devices, the PowerShell script will run for every new user that signs in.
PowerShell scripts are executed before Win32 apps run. In other words, PowerShell scripts execute first. Then, Win32 apps execute.
PowerShell scripts time out after 30 minutes.
Prerequisites
The Intune management extension has the following prerequisites. Once they’re met, the Intune management extension installs automatically when a PowerShell script or Win32 app is assigned to the user or device.
Devices running Windows 10 version 1607 or later. If the device is enrolled using bulk auto-enrollment, devices must run Windows 10 version 1709 or later. The Intune management extension isn’t supported on Windows 10 in S mode, as S mode doesn’t allow running non-store apps.
Devices joined to Azure Active Directory (AD), including:
- Hybrid Azure AD-joined: Devices joined to Azure Active Directory (AAD), and also joined to on-premises Active Directory (AD). See Plan your hybrid Azure Active Directory join implementation for guidance.
Azure AD registered/Workplace joined (WPJ): Devices registered in Azure Active Directory (AAD), see Workplace Join as a seamless second factor authentication for more information. Typically these are Bring Your Own Device (BYOD) devices which have had a work or school account added via Settings>Accounts>Access work or school.
Devices enrolled in Intune, including:
Devices enrolled in a group policy (GPO). See Enroll a Windows 10 device automatically using Group Policy for guidance.
Devices manually enrolled in Intune, which is when:
- Auto-enrollment to Intune is enabled in Azure AD. Users sign in to devices using a local user account, and manually join the device to Azure AD. Then, they sign in to the device using their Azure AD account.
- User signs in to the device using their Azure AD account, and then enrolls in Intune.
Co-managed devices that use Configuration Manager and Intune. When installing Win32 apps, make sure the Apps workload is set to Pilot Intune or Intune. PowerShell scripts will be run even if the Apps workload is set to Configuration Manager. The Intune management extension will be deployed to a device when you target a PowerShell script to the device. Remember, the device must be an Azure AD or Hybrid Azure AD joined device. And, it must be running Windows 10 version 1607 or later. See the following articles for guidance:
For information about using Window 10 VMs, see Using Windows 10 virtual machines with Intune.
Create a script policy and assign it
Select Devices > PowerShell scripts > Add.
In Basics, enter the following properties, and select Next:
- Name: Enter a name for the PowerShell script.
- Description: Enter a description for the PowerShell script. This setting is optional, but recommended.
In Script settings, enter the following properties, and select Next:
Script location: Browse to the PowerShell script. The script must be less than 200 KB (ASCII).
Run this script using the logged on credentials: Select Yes to run the script with the user’s credentials on the device. Choose No (default) to run the script in the system context. Many administrators choose Yes. If the script is required to run in the system context, choose No.
Enforce script signature check: Select Yes if the script must be signed by a trusted publisher. Select No (default) if there isn’t a requirement for the script to be signed.
Run script in 64-bit PowerShell host: Select Yes to run the script in a 64-bit PowerShell host on a 64-bit client architecture. Select No (default) runs the script in a 32-bit PowerShell host.
When setting to Yes or No, use the following table for new and existing policy behavior:
Run script in 64-bit host | Client architecture | New script | Existing policy script |
---|---|---|---|
No | 32-bit | 32-bit PowerShell host supported | Runs only in 32-bit PowerShell host, which works on 32-bit and 64-bit architectures. |
Yes | 64-bit | Runs script in 64-bit PowerShell host for 64-bit architectures. When ran on 32-bit, the script runs in a 32-bit PowerShell host. | Runs script in 32-bit PowerShell host. If this setting changes to 64-bit, the script opens (it doesn’t run) in a 64-bit PowerShell host, and reports the results. When ran on 32-bit, the script runs in 32-bit PowerShell host. |
Select Scope tags. Scope tags are optional. Use role-based access control (RBAC) and scope tags for distributed IT has more information.
To add a scope tag:
Choose Select scope tags > select an existing scope tag from the list > Select.
When finished, select Next.
Select Assignments > Select groups to include. An existing list of Azure AD groups is shown.
Select one or more groups that include the users whose devices receive the script. Choose Select. The groups you chose are shown in the list, and will receive your policy.
PowerShell scripts in Intune can be targeted to Azure AD device security groups or Azure AD user security groups. However, when targeting workplace joined (WPJ) devices, only Azure AD device security groups can be used (user targeting will be ignored). For more information, see Win32 app support for Workplace join (WPJ) devices.
Select Next.
In Review + add, a summary is shown of the settings you configured. Select Add to save the script. When you select Add, the policy is deployed to the groups you chose.
Failure to run script example
- Check in
- Run script ConfigScript01
- Script fails
- Check in
- Run script ConfigScript01
- Script fails (retry count = 1)
- Check in
- Run script ConfigScript01
- Script fails (retry count = 2)
- Check in
- Run script ConfigScript01
- Script fails (retry count = 3)
- Check in
- No additional attempts are made to run ConfigScript01script.
- If no additional changes are made to the script, then no additional attempts are made to run the script.
Monitor run status
You can monitor the run status of PowerShell scripts for users and devices in the portal.
In PowerShell scripts, select the script to monitor, choose Monitor, and then choose one of the following reports:
- Device status
- User status
Intune management extension logs
Agent logs on the client machine are typically in \ProgramData\Microsoft\IntuneManagementExtension\Logs . You can use CMTrace.exe to view these log files.
Delete a script
In PowerShell scripts, right-click the script, and select Delete.
Common issues and resolutions
Issue: Intune management extension doesn’t download
Possible resolutions:
- The device isn’t joined to Azure AD. Be sure the devices meet the prerequisites (in this article).
- There are no PowerShell scripts or Win32 apps assigned to the groups that the user or device belongs.
- The device can’t check in with the Intune service. For example, there’s no internet access, no access to Windows Push Notification Services (WNS), and so on.
- The device is in S mode. The Intune management extension isn’t supported on devices running in S mode.
To see if the device is auto-enrolled, you can:
- Go to Settings >Accounts >Access work or school.
- Select the joined account >Info.
- Under Advanced Diagnostic Report, select Create Report.
- Open the MDMDiagReport in a web browser.
- Search for the MDMDeviceWithAAD property. If the property exists, the device is auto-enrolled. If this property doesn’t exist, then the device isn’t auto-enrolled.
Enable Windows 10 automatic enrollment includes the steps to configure automatic enrollment in Intune.
Issue: PowerShell scripts do not run
Possible resolutions:
The PowerShell scripts don’t run at every sign in. They run:
When the script is assigned to a device
If you change the script, upload it, and assign the script to a user or device
The Microsoft Intune Management Extension is a service that runs on the device, just like any other service listed in the Services app (services.msc). After a device reboots, this service may also restart, and check for any assigned PowerShell scripts with the Intune service. If the Microsoft Intune Management Extension service is set to Manual, then the service may not restart after the device reboots.
Be sure devices are joined to Azure AD. Devices that are only joined to your workplace or organization (registered in Azure AD) won’t receive the scripts.
The Intune management extension client checks once per hour for any changes in the script or policy in Intune.
Confirm the Intune management extension is downloaded to %ProgramFiles(x86)%\Microsoft Intune Management Extension .
Scripts don’t run on Surface Hubs or Windows 10 in S mode.
Review the logs for any errors. See Intune management extension logs (in this article).
For possible permission issues, be sure the properties of the PowerShell script are set to Run this script using the logged on credentials . Also check that the signed in user has the appropriate permissions to run the script.
To isolate scripting problems, you can:
Review the PowerShell execution configuration on your devices. See the PowerShell execution policy for guidance.
Run a sample script using the Intune management extension. For example, create the C:\Scripts directory, and give everyone full control. Run the following script:
If it succeeds, output.txt should be created, and should include the «Script worked» text.
To test script execution without Intune, run the scripts in the System account using the psexec tool locally:
If the script reports that it succeeded, but it didn’t actually succeed, then it’s possible your antivirus service may be sandboxing AgentExecutor. The following script always reports a failure in Intune. As a test, you can use this script:
If the script reports a success, look at the AgentExecutor.log to confirm the error output. If the script executes, the length should be >2.
To capture the .error and .output files, the following snippet executes the script through AgentExecutor to PowerShell x86 ( C:\Windows\SysWOW64\WindowsPowerShell\v1.0 ). It keeps the logs for your review. Remember, the Intune Management Extension cleans up the logs after the script executes: