Skip to content

Conversation

naminakao
Copy link
Contributor

…Policy

When we tried to set the parameter with New-Cs​Teams​Meeting​Policy, the error "A parameter cannot be found that matches parameter name 'AppDesktopSharingMode'." occurred.

…Policy

When we tried to set the parameter with New-Cs​Teams​Meeting​Policy, the error "A parameter cannot be found that matches parameter name 'AppDesktopSharingMode'." occurred.
@opbld38
Copy link

opbld38 commented Aug 14, 2018

✅ Validation status: passed

File Status Preview URL Details
skype/skype-ps/skype/New-CsTeamsMeetingPolicy.md ✅Succeeded View (skype-ps)

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@kenwith kenwith requested a review from islubin August 14, 2018 16:48
@kenwith
Copy link
Member

kenwith commented Aug 14, 2018

@naminakao - I am just wondering if the parameter shows up in the code though. If you run PlatyPS do you see the parameter in output? Look at this article: https://github.com/MicrosoftDocs/office-docs-powershell/blob/master/repo_docs/NEW_CMDLETS.md on how to run PlatyPS.

The PlatyPS tool is an open source tool that stubs out the articles based on what it can see in the code. If that parameter is there but not being used then we need to document it is not used.

If we just remove it then it will show up again next time PlatyPS is run and it will show as a 'new' parameter.

Same for the other Pull Request.

@kenwith
Copy link
Member

kenwith commented Aug 14, 2018

Similar: #1580 (comment)

@naminakao
Copy link
Contributor Author

@kenwith
Here is the result of PlatyPS.



external help file: tmp_b3ja2k5m.qsu-help.xml
Module Name: tmp_b3ja2k5m.qsu
online version:
schema: 2.0.0

New-CsTeamsMeetingPolicy

SYNOPSIS

SYNTAX

DESCRIPTION

{{Fill in the Description}}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS


@islubin
Copy link
Contributor

islubin commented Aug 15, 2018

It doesn't show up - we renamed the parameter and I hid it from the per parameter documentation but missed it in the schema. If you can remove it that would be great, otherwise I'll do it.

@kenwith kenwith merged commit a05bb05 into MicrosoftDocs:master Aug 15, 2018
@kenwith
Copy link
Member

kenwith commented Aug 15, 2018

@naminakao - thanks for putting the PR together. Merged. Much appreciated!

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

Successfully merging this pull request may close these issues.

4 participants