Skip to content

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

@gautamdsheth gautamdsheth merged commit 56775c8 into pnp:dev Mar 1, 2024
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.

3 participants