Skip to content

Commit 51b3bf8

Browse files
committed
Update example/readme typos.
1 parent 1d196c1 commit 51b3bf8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Functions/Get-LastLoggedOnUser.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
PSComputerName LastUseTime UserName Loaded
4848
-------------- ----------- -------- ------
4949
Server1 5/5/2017 9:06:45 AM domain\username True
50-
Server1 5/5/2017 9:06:45 AM domain\username False
50+
Server2 5/5/2017 9:06:45 AM domain\username False
5151
.Notes
5252
Using the ByComputerName parameter set uses WinRM.
5353
.Link

Functions/Get-MsiPropertyValue.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
---- -------------- -----------
3939
jre1.8.0_121.msi 8.0.1210.13 {26A24AE4-039D-4CA4-87B4-2F32180121F0}
4040
.Example
41-
PS C:\> Get-ChildItem -Path ".\Installers" -Filter "*.msi" | Select -ExpandProperty FullName | Get-MsiPropertyValue -Property ProductVersion
41+
PS C:\> Get-ChildItem -Path ".\Installers" -Filter "*.msi" | Select -ExpandProperty FullName | Get-MsiPropertyValue -Property ProductVersion, ProductCode
4242
4343
Name ProductVersion ProductCode
4444
---- -------------- -----------

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ PS C:\> Get-LastLoggedOnUser -Name Server1, Server2 -Credential (Get-Credential)
161161
PSComputerName LastUseTime UserName Loaded
162162
-------------- ----------- -------- ------
163163
Server1 5/5/2017 9:06:45 AM domain\username True
164-
Server1 5/5/2017 9:06:45 AM domain\username False
164+
Server2 5/5/2017 9:06:45 AM domain\username False
165165
```
166166

167167
---
@@ -176,7 +176,7 @@ Name ProductVersion ProductCode
176176
jre1.8.0_121.msi 8.0.1210.13 {26A24AE4-039D-4CA4-87B4-2F32180121F0}
177177
178178
179-
PS C:\> Get-ChildItem -Path ".\Installers" -Filter "*.msi" | Select -ExpandProperty FullName | Get-MsiPropertyValue -Property ProductVersion
179+
PS C:\> Get-ChildItem -Path ".\Installers" -Filter "*.msi" | Select -ExpandProperty FullName | Get-MsiPropertyValue -Property ProductVersion, ProductCode
180180
181181
Name ProductVersion ProductCode
182182
---- -------------- -----------

0 commit comments

Comments
 (0)