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

[New Parameters to Existing Commandlet] - Added new parameters to Like and Unlike the page #3788

Merged
merged 8 commits into from
Mar 1, 2024

Conversation

NishkalankBezawada
Copy link
Contributor

@NishkalankBezawada NishkalankBezawada commented Feb 24, 2024

Type

  • Bug Fix
  • New Feature
  • Sample

What is in this Pull Request ?

Added new parameters as -Like which will like and unlike the page respectively.

Example for Like

Set-PnPPage -Identity "MyPage.aspx" -Like

Likes the page

Example for Unlike

Set-PnPPage -Identity "MyPage.aspx" -Like:$false

Unlikes the page

Parameters

-Like

Likes the page

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Thanks,
Nishkalank Bezawada

src/Commands/Pages/SetPage.cs Outdated Show resolved Hide resolved
@gautamdsheth gautamdsheth merged commit 56775c8 into pnp:dev Mar 1, 2024
3 checks passed
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.

None yet

3 participants