Skip to content

Commit 28d9a56

Browse files
Update README.md
1 parent 06033f6 commit 28d9a56

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ This command will provide a summary of relevant information for the current user
3737
```powershell
3838
PS C:\> Get-PSWho
3939
40-
User : COWPC\Jeff
40+
User : BOVINE320\Jeff
4141
Elevated : True
42-
Computername : COWPC
42+
Computername : BOVINE320
4343
OperatingSystem : Microsoft Windows 10 Pro [64-bit]
44-
OSVersion : 10.0.16299
45-
PSVersion : 5.1.16299.64
44+
OSVersion : 10.0.17763
45+
PSVersion : 5.1.17763.134
4646
Edition : Desktop
4747
PSHost : ConsoleHost
4848
WSMan : 3.0
@@ -56,7 +56,7 @@ This command will generate a custom file name based on a template string that yo
5656

5757
```powershell
5858
PS C:\> New-CustomFileName %computername_%day%monthname%yr-%time.log
59-
COWPC_28Nov17-142138.log
59+
COWPC_28Nov19-142138.log
6060
6161
PS C:\> New-CustomFileName %dayofweek-%####.dat
6262
Tuesday-3128.dat
@@ -145,11 +145,11 @@ Begin {
145145
} #begin
146146
```
147147

148-
When the command is run with -Verbose you will see the verbose output and it will be saved to the specified log file.
148+
When the command is run with -Verbose you will see the verbose output **and** it will be saved to the specified log file.
149149

150150
## Out-ConditionalColor
151151

152-
This command is designed to take pipeline input and display it in a colorized format,based on a set of conditions. Unlike Write-Host which doesn't write to the pipeline, this command will write to the pipeline.
152+
This command is designed to take pipeline input and display it in a colorized format,based on a set of conditions. Unlike `Write-Host` which doesn't write to the pipeline, this command will write to the pipeline.
153153

154154
You can use a simple hashtable to define a color if the given property matches the hashtable key.
155155

@@ -202,6 +202,7 @@ PS /home/jhicks> Get-PowerShellEngine
202202
```
203203

204204
You can also get detailed information.
205+
205206
![Windows PowerShell](./images/get-powershellengine1.png)
206207

207208
![PowerShell Core on Windows](./images/get-powershellengine2.png)
@@ -212,7 +213,7 @@ Results will vary depending on whether you are running Windows PowerShell or Pow
212213

213214
## Out-More
214215

215-
This command provides a PowerShell alternative to the cmd.exe MORE command, which doesn't work in the PowerShell ISE. When you have screens of information, you can page it with this function.
216+
This command provides a PowerShell alternative to the cmd.exe **MORE** command, which doesn't work in the PowerShell ISE. When you have screens of information, you can page it with this function.
216217

217218
```powershell
218219
get-service | out-more
@@ -240,15 +241,14 @@ Invoke-Inputbox -Prompt "Enter a password for $Name" -AsSecureString -Background
240241

241242
![](./images/ibx-2.png)
242243

243-
This example also demonstrates that you can change form's background color.
244-
This function will **not** work in PowerShell Core.
244+
This example also demonstrates that you can change form's background color. This function will **not** work in PowerShell Core.
245245

246246
## ToDo
247247

248248
Because this module is intended to make scripting easier for you, it adds options to insert ToDo statements into PowerShell files. If you are using the PowerShell ISE or VS Code and import this module, it will add the capability to insert a line like this:
249249

250250
```yaml
251-
# [12/13/2017 16:52:40] TODO: Add parameters
251+
# [12/13/2018 16:52:40] TODO: Add parameters
252252
```
253253

254254
In the PowerShell ISE, you will get a new menu under Add-Ons
@@ -286,8 +286,8 @@ MinimumMS : 1990.6779
286286
MaximumMS : 1990.6779
287287
MedianMS : 1990.6779
288288
TrimmedMS :
289-
PSVersion : 5.1.14409.1005
290-
OS : Microsoft Windows 8.1 Enterprise
289+
PSVersion :5.1.17763.134
290+
OS : Microsoft Windows 10 Pro
291291
```
292292

293293
You can also run multiple tests with random time intervals.
@@ -302,8 +302,8 @@ MinimumMS : 0.4657
302302
MaximumMS : 7.5746
303303
MedianMS : 0.4806
304304
TrimmedMS : 0.51
305-
PSVersion : 5.1.14409.1005
306-
OS : Microsoft Windows 8.1 Enterprise
305+
PSVersion : 5.1.17763.134
306+
OS : Microsoft Windows 10 Pro
307307
Expression : param([string[]]$Names) get-service $names
308308
Arguments : {bits, wuauserv, winrm}
309309
```
@@ -383,7 +383,7 @@ Get-EventLog @paramHash
383383

384384
## Convert-HashtableString
385385

386-
This function is similar to Import-PowerShellDataFile. But where that command can only process a file, this command
386+
This function is similar to `Import-PowerShellDataFile`. But where that command can only process a file, this command
387387
will take any hashtable-formatted string and convert it into an actual hashtable.
388388

389389
```powershell

0 commit comments

Comments
 (0)