Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7/11/2024 PM Publish #11254

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -643,10 +643,10 @@ The following example shows how to select all odd numbers from the array.
9
```

This example show how to select the strings that aren't empty.
The next example shows how to select all non-empty strings.

```powershell
('hi', '', 'there').Where({$_.Length})
('hi', '', 'there').Where{ $_ }
```

```Output
Expand Down Expand Up @@ -1055,11 +1055,10 @@ Thursday, June 24, 2021 1:23:30 PM
```

The `set_LastWriteTime()` method is a _hidden_ member of the **FileInfo**
object. The following example shows how to find members that have a _hidden_
`set` method.
object. The following example shows how to find _hidden_ `set` methods.

```powershell
$files | Get-Member | Where-Object Definition -like '*set;*'
$files | Get-Member -Force -Name set_*
```

```Output
Expand Down