Skip to content

Some doc fixes #911

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Some doc fixes #911

wants to merge 1 commit into from

Conversation

SteveL-MSFT
Copy link
Member

PR Summary

  • Some extraneous whitespace
  • Extra trailing slash
  • Change where-object to use the more common syntax

@@ -141,7 +141,7 @@ You can also retrieve more information by directly reading it from the cache fil
$cache = Get-Content -Path "$env:LOCALAPPDATA\dsc\WindowsPSAdapterCache.json" |
ConvertFrom-Json

($cache.ResourceCache | Where-Object -Property type -EQ '<moduleName>/<resourceName>').DscResourceInfo.Properties
($cache.ResourceCache | Where-Object { $_.type -eq '<moduleName>/<resourceName>' }).DscResourceInfo.Properties
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the previous line is the more simplified syntax, as we are not having multiple properties to filter on. If there are more, I would have used the FilterScript approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants