os:windows:powershell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
os:windows:powershell [2016-09-05 23:05] – 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: | ||
</ | </ | ||
- | == Links == | + | ==== Multidimensionale Arrays |
- | + | ||
- | * [[http:// | + | |
- | + | ||
- | + | ||
- | == Multidimensionale Arrays == | + | |
< | < | ||
Line 44: | 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.1473109537.txt.gz · Last modified: 2016-09-05 23:05 by root