подключение_к_удаленной_сессии_ems
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
подключение_к_удаленной_сессии_ems [2025/03/21 08:29] – jp | подключение_к_удаленной_сессии_ems [2025/03/23 09:39] (current) – jp | ||
---|---|---|---|
Line 31: | Line 31: | ||
Remove-PSSession -Id 1 | Remove-PSSession -Id 1 | ||
</ | </ | ||
+ | |||
+ | ---- | ||
==== Скрипт создания сессии ==== | ==== Скрипт создания сессии ==== | ||
Line 47: | Line 49: | ||
| | ||
- | === Код скрипта подключения к Exchange === | + | :!: Ремарка о безопасности такого хранения данных. |
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | The Export-Clixml cmdlet encrypts credential objects by using the Windows Data Protection API. The encryption ensures that only your user account can decrypt the contents of the credential object. The exported CLIXML file can’t be used on a different computer or by a different user. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === Код скрипта | ||
<WRAP prewrap> | <WRAP prewrap> | ||
Line 73: | Line 83: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | {{tag> |
подключение_к_удаленной_сессии_ems.1742545767.txt.gz · Last modified: 2025/03/21 08:29 by jp