You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security issues are treated very seriously and will, by default,
4
-
takes precedence over other considerations including usability, performance,
5
-
etc... Best effort will be used to mitigate side effects of a security
6
-
change, but PowerShell must be secure by default.
3
+
## Security
7
4
8
-
## Reporting a security vulnerability
5
+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin) and [PowerShell](https://github.com/PowerShell).
9
6
10
-
If you believe that there is a security vulnerability in PowerShell,
11
-
it **must** be reported to [[email protected]](https://technet.microsoft.com/security/ff852094.aspx) to allow for [Coordinated Vulnerability Disclosure](https://technet.microsoft.com/security/dn467923).
12
-
**Only** file an issue, if [[email protected]](https://www.microsoft.com/en-us/msrc/faqs-report-an-issue?rtc=1) has confirmed filing an issue is appropriate.
7
+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below.
8
+
9
+
## Reporting Security Issues
10
+
11
+
**Please do not report security vulnerabilities through public GitHub issues.**
12
+
13
+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report).
14
+
15
+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
16
+
17
+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
18
+
19
+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20
+
21
+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
+
* Full paths of source file(s) related to the manifestation of the issue
23
+
* The location of the affected source code (tag/branch/commit or direct URL)
24
+
* Any special configuration required to reproduce the issue
25
+
* Step-by-step instructions to reproduce the issue
26
+
* Proof-of-concept or exploit code (if possible)
27
+
* Impact of the issue, including how an attacker might exploit the issue
28
+
29
+
This information will help us triage your report more quickly.
30
+
31
+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs.
32
+
33
+
## Preferred Languages
34
+
35
+
We prefer all communications to be in English.
36
+
37
+
## Policy
38
+
39
+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd).
This command displays the processes that are running on the Server01 computer in a grid view window.
96
96
97
-
The command uses `ocgv`, which is the built-in alias for the **Out-ConsoleGridView** cmdlet, it uses the *Title* parameter to specify the window title.
97
+
The command uses `ocgv`, which is the built-in alias for the **Out-ConsoleGridView** cmdlet, it uses the _Title_ parameter to specify the window title.
98
98
99
99
### Example 6: Define a function to kill processes using a graphical chooser
100
100
101
101
```PowerShell
102
102
function killp { Get-Process | Out-ConsoleGridView -OutputMode Single -Filter $args[0] | Stop-Process -Id {$_.Id} }
103
103
killp note
104
104
```
105
+
105
106
This example shows defining a function named `killp` that shows a grid view of all running processes and allows the user to select one to kill it.
106
107
107
-
The example uses the `-Filter` paramter to filter for all proceses with a name that includes `note` (thus highlighting `Notepad` if it were running. Selecting an item in the grid view and pressing `ENTER` will kill that process.
108
+
The example uses the `-Filter` paramter to filter for all proceses with a name that includes `note` (thus highlighting `Notepad` if it were running. Selecting an item in the grid view and pressing `ENTER` will kill that process.
108
109
109
110
### Example 7: Pass multiple items through Out-ConsoleGridView
This command lets you select multiple processes from the **Out-ConsoleGridView** window.
116
117
The processes that you select are passed to the **Export-Csv** command and written to the ProcessLog.csv file.
117
118
118
-
The command uses the *PassThru* parameter of **Out-ConsoleGridView**, which lets you send multiple items down the pipeline.
119
-
The *PassThru* parameter is equivalent to using the Multiple value of the *OutputMode* parameter.
119
+
The command uses the _PassThru_ parameter of **Out-ConsoleGridView**, which lets you send multiple items down the pipeline.
120
+
The _PassThru_ parameter is equivalent to using the Multiple value of the _OutputMode_ parameter.
120
121
121
122
### Example 8: Use F7 as "Show Command History"
122
123
@@ -126,7 +127,7 @@ Press `F7` to see the history for the current PowerShell instance
126
127
127
128
Press `Shift-F7` to see the history for all PowerShell instances.
128
129
129
-
Whatever you select within `Out-ConsoleGridView` will be inserted on your command line.
130
+
Whatever you select within `Out-ConsoleGridView` will be inserted on your command line.
130
131
131
132
Whatever was typed on the command line prior to hitting `F7` or `Shift-F7` will be used as a filter.
132
133
@@ -214,27 +215,26 @@ to learn more.
214
215
215
216
`ConsoleGuiTools` consists of 2 .NET Projects:
216
217
217
-
- ConsoleGuiTools - Cmdlet implementation for Out-ConsoleGridView
218
-
- OutGridView.Models - Contains data contracts between the GUI & Cmdlet
218
+
* ConsoleGuiTools - Cmdlet implementation for Out-ConsoleGridView
219
+
* OutGridView.Models - Contains data contracts between the GUI & Cmdlet
219
220
220
221
_Note:_ Previously, this repo included `Microsoft.PowerShell.GraphicalTools` which included the Avalonia-based `Out-GridView` (implemented in `.\Microsoft.PowerShell.GraphicalTools` and `.\OutGridView.Gui`). These components have been deprecated (see note above).
Originally authored by [Tyler Leonhardt](http://twitter.com/tylerleonhardt).
227
229
228
230
## License
229
231
230
-
This project is [licensed under the MIT License](LICENSE).
232
+
This project is [licensed under the MIT License](LICENSE.txt).
233
+
234
+
## Code of Conduct
231
235
232
-
## [Code of Conduct][conduct-md]
236
+
Please see our [Code of Conduct](.github/CODE_OF_CONDUCT.md) before participating in this project.
233
237
234
-
This project has adopted the [Microsoft Open Source Code of Conduct][conduct-code].
235
-
For more information see the [Code of Conduct FAQ][conduct-FAQ] or contact [[email protected]][conduct-email] with any additional questions or comments.
0 commit comments