Task Manager startup with Windows 8
2,665
you must use the task scheduler approach to start the task scheduler. This is required, because the new Taskmgr requires admin rights to start (because of ETW which is used for network and IO data). Create the schtasks.exe shortcut and place this shortcut into the known startup locations.
Related videos on Youtube
Author by
Kyle B
Updated on September 18, 2022Comments
-
Kyle B almost 2 years
How can I modify this snippet code for PowerShell version 2.0 on Windows 7?
$path = "myfolder/file.txt" $body = "file=$(Get-Content $path | Out-String)" Invoke-WebRequest -Uri "http//mywebsite" -Method POST -Body $body`
I tried this but cannot run on PowerShell version 2.0. Any suggestions?
-
Vinod kumar G over 5 yearsCheck for the PS version in windows 7 and run the powershell ISE in adminstrator mode. Meanwhile what error you are getting , need more info on problem statement
-
Kyle B over 5 yearspowershell version is 2.0 and regarding the error: the term"Invoke.Webrequest' is not recognized as the name of cmdlet,function,script file ecc
-
Ansgar Wiechers over 5 yearsPlease edit your question and copy/paste the full error message. Do not paraphrase. Do not type from memory.
-
Kyle B over 5 yearsi got this error: Invoke-WebRequest : The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, function, script file, or operable program . Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:18 + Invoke-WebRequest <<<< -uri "example.com" -method POST -body $body + CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
-
-
mvp almost 11 years@RichardEv: how do you know that it did not? Note that Task Manager in this recipe is started minimized. You are not likely to see that it is running if you start in Win8 Start screen. If you launch Desktop, you should see small TaskManager green/yellow icon running in tray bar, next to clock.
-
Richard Ev almost 11 yearsI know because I tried both options, as you describe.
-
Kyle B over 5 yearsok this works for the method "GET" and for the method "POST"?
-
Vinod kumar G over 5 yearsYes, please change the $WebRequest.Method ="POST" and pass required header too in order to work, Please accept the answer if it solve the problem.
-
Kyle B over 5 yearsalready changed and is working now!thank you for your help Vinod!