besimorhino / pause-process Goto Github PK
View Code? Open in Web Editor NEWPowerShell script which allows pausing\unpausing Win32/64 exes
PowerShell script which allows pausing\unpausing Win32/64 exes
Pause-Process does not correctly take objects from the pipeline.
Adjust inputs so a process (or processes) can be paused based on process objects.
Get-Host | Select-Object Version
Version
-------
5.1.18362.752
PS C:\test> Import-Module .\pause-process.ps1 At C:\test\pause-process.ps1:321 char:21
+ <svg class="octicon octicon-sign-out v-align-middle" viewBox= ...
+ ~~~~~~~
Unexpected token 'octicon' in expression or statement.
At C:\test\pause-process.ps1:395 char:126
+ ... " src="https://avatars0.githubusercontent.com/u/8339596?s=60&v=4" ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\test\pause-process.ps1:405 char:116
+ ... -user-status-context pb-1" data-url="/users/status?compact=1&link ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\test\pause-process.ps1:405 char:136
+ ... pb-1" data-url="/users/status?compact=1&link_mentions=0&trun ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\test\pause-process.ps1:411 char:19
+ <details class="js-user-status-details details-reset details-overla ...
+ ~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'js-user-status-details' in expression or statement.
At C:\test\pause-process.ps1:413 char:58
+ role="menuitem" data-hydro-click="{"event_type":" ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\test\pause-process.ps1:413 char:65
+ ... role="menuitem" data-hydro-click="{"event_type":"use ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\test\pause-process.ps1:413 char:89
+ ... ydro-click="{"event_type":"user_profile.click",&q ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\test\pause-process.ps1:413 char:96
+ ... lick="{"event_type":"user_profile.click","pa ...
+ ~
Missing expression after unary operator ','.
At C:\test\pause-process.ps1:413 char:96
+ ... ick="{"event_type":"user_profile.click","pay ...
+ ~
Unexpected token '&' in expression or statement.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
If a process is being paused by Pause-Process, the Powershell session that invoked Pause-Process needs to remain open for the process to continue to be paused. Once the session exits, the paused process is then terminated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.