os:windows:powershell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
os:windows:powershell [2016-11-19 16:14] – root | os:windows:powershell [2018-12-04 09:16] (current) – root | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PowerShell ====== | ====== PowerShell ====== | ||
- | == Temporary add a directory to the PATH variable == | + | ===== Basic ===== |
+ | |||
+ | ==== Temporary add a directory to the PATH variable | ||
< | < | ||
Line 7: | Line 9: | ||
</ | </ | ||
- | == Parse integer == | + | ==== Parse integer |
< | < | ||
Line 20: | Line 22: | ||
</ | </ | ||
- | == Multidimensionale Arrays == | + | ==== Multidimensionale Arrays |
< | < | ||
Line 39: | Line 41: | ||
g | g | ||
PS C:\> | PS C:\> | ||
+ | </ | ||
+ | |||
+ | ===== Scheduled Tasks ===== | ||
+ | |||
+ | ==== Change Priority ==== | ||
+ | |||
+ | This will only change the priority setting and keep the other settings. The password of the task user is required. | ||
+ | |||
+ | < | ||
+ | $task = Get-ScheduledTask -TaskName " | ||
+ | $settings = $task.Settings | ||
+ | $settings.Priority = 5 | ||
+ | Set-ScheduledTask -TaskName $task.TaskName -Settings $settings -User $task.Principal.UserId -Password " | ||
</ | </ |
os/windows/powershell.1479568497.txt.gz · Last modified: 2016-11-19 16:14 by root