PoshCode Archive  Check-in [5dc5450983]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:5dc5450983bd8ce6873bca93e5209419e5c11ded7ad10b40f14f540693e95155
User & Date: Lee Holmes 2018-06-10 14:22:07
Context
2018-06-10
14:22
Provide a begin and end time frame (mm dd yyyy) and this will calculate the years, months and days between the two dates. This is NOT 100% accurate but it was close enough for what I was trying to do. Someone with better math skills should be able to improve the accuracy. check-in: 33b188d7e1 user: Dan In Philly tags: trunk
14:22
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5dc5450983 user: Lee Holmes tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: f188077e5a user: karl prosser tags: trunk
Changes

Changes to Search-Registry.ps1.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# title: Search-Registry.ps1
# description: From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes
# version: 0.1
# type: function
# author: Lee Holmes
# license: CC0
# function: New-RegistryMatch
# x-poshcode-id: 2209
# x-archived: 2017-02-25T09:38:07
# x-published: 2011-09-09T21:42:00
#
#
##############################################################################
##
## Search-Registry
##
## From Windows PowerShell Cookbook (O'Reilly)







|
|
|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# title: Search-Registry.ps1
# description: From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes
# version: 0.1
# type: function
# author: Lee Holmes
# license: CC0
# function: New-RegistryMatch
# x-poshcode-id: 6886
# x-archived: 2017-05-13T18:16:04
# x-published: 2017-05-05T07:42:00
#
#
##############################################################################
##
## Search-Registry
##
## From Windows PowerShell Cookbook (O'Reilly)