mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-25 08:09:17 +01:00
Add admin check
This commit is contained in:
parent
3acf39c851
commit
40081477db
@ -6,6 +6,8 @@
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
try {
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Client*
|
||||
|
||||
|
@ -6,6 +6,8 @@
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
try {
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Server*
|
||||
Start-Service sshd
|
||||
|
Loading…
Reference in New Issue
Block a user