Skip to content

Commit 7a03e1d

Browse files
PsCustomObjectPsCustomObject
authored andcommitted
Updated multiple posts
1 parent a480372 commit 7a03e1d

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

_posts/2018-12-27-PowerShell-Delete-Files-Older-Than-Days.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "PowerShell Delete Files Older than a Number of Days"
2+
title: "PowerShell delete old files"
33
excerpt: "Learn how you can use PowerShell to automatically delete files and folders older than a number of days"
44
categories:
55
- PowerShell

_posts/2018-12-31-PowerShell-Break-Explained.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "PowerShell break statement"
33
excerpt: "An introduction to break statement in PowerShell and its usage"
44
categories:
55
- PowerShell
6-
- Post Series - Statements
76
tags:
87
- PowerShell
98
- PowerShell Basics
@@ -52,7 +51,7 @@ Write-Host 'This is outside the loop'
5251

5352
The above code will start incrementing the *$myNumber* variable when it has value of *10* the while loop will be stopped and the *This is outside the loop* line will be printed.
5453

55-
The same can also be applied to a *foreach* loop like this:
54+
The same can also be applied to a *foreach* loop like this:
5655

5756
```powershell
5857
# Users list from AD

_posts/2019-10-28-Measure-Script-Time.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "PowerShell - Measure Script execution time"
2+
title: "PowerShell Measure Script execution time"
33
excerpt: "Learn how to measure execution time of PowerShell scripts and commands using different techniques and approaches"
44
last_modified_at: 2019-11-01T17:27:48-05:00
55
categories:
@@ -63,7 +63,7 @@ I use, *abuse* would be a better fit, the **Get-Date** cmdlet and measuring scri
6363
```powershell
6464
[int]$startMs = (Get-Date).Millisecond
6565
66-
0..10000 | ForEach-Object {$i++}
66+
0..10000 | ForEach-Object { $i++ }
6767
6868
[int]$endMs = (Get-Date).Millisecond
6969

0 commit comments

Comments
 (0)