I am using PnP to find the ID from a list that Ideally returns ID as a number along with a warning message for a new version update.
I am using -WarningAction SilentlyContinue to suppress the warning message.
However, with the updated PnP version (3.25.2009.1), the warning message is not getting suppressed and it appears with the result.
In Version 3.10.1906.0 it is not appearing.
Could you please help/suggest a fix.
If you have a question and are not reporting a bug, please go to:
Many bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:
Are you using Apply-PnPProvisioningTemplate or Get-PnPProvisioningTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/PnP-Sites-Core/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/PnP-PowerShell/tree/master/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/PnP-Sites-Core/issues
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Please describe what output you expect to see from PnP-PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of HTML output or screenshots
Steps to reproduce behavior
Please include complete code samples in-line or linked from gists
Which version of the PnP-PowerShell Cmdlets are you using?
[ ] PnP PowerShell for SharePoint 2013
[ ] PnP PowerShell for SharePoint 2016
[ ] PnP PowerShell for SharePoint 2019
[ ] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name sharepointpnppowershell* -ListAvailable)
How did you install the PnP-PowerShell Cmdlets?
[ ] MSI Installed downloaded from GitHub
[ ] Installed through the PowerShell Gallery with Install-Module
I am using PnP to find the ID from a list that Ideally returns ID as a number along with a warning message for a new version update. I am using -WarningAction SilentlyContinue to suppress the warning message.
However, with the updated PnP version (3.25.2009.1), the warning message is not getting suppressed and it appears with the result. In Version 3.10.1906.0 it is not appearing.
Could you please help/suggest a fix.
If you have a question and are not reporting a bug, please go to:
https://github.com/pnp/pnp-powershell/discussions
Notice
Many bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:
Apply-PnPProvisioningTemplate
orGet-PnPProvisioningTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/PnP-Sites-Core/issues.Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Please describe what output you expect to see from PnP-PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of HTML output or screenshots
Steps to reproduce behavior
Please include complete code samples in-line or linked from gists
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name sharepointpnppowershell* -ListAvailable
)How did you install the PnP-PowerShell Cmdlets?