-
Notifications
You must be signed in to change notification settings - Fork 390
Description
Reporting an Issue or Missing Feature
The command Get-PnPFlowEnvironment is not listed in PnP.Powershell module.
Expected behavior
The page https://pnp.github.io/powershell/cmdlets/Get-PnPFlowEnvironment.html does not mention that this command is deprected. So the command is still assumed to be valid.
The command get-command -name "pnpflow" should return all commands with pnpflow in the name, including the command Get-PnPFlowEnvironment
Actual behavior
Actual output of get-command -name "pnpflow" does not list Get-PnPFlowEnvironment
PS C:\Users\andrew.goodwin> get-command -name "pnpflow"
CommandType Name Version Source
Cmdlet Add-PnPFlowOwner 3.1.126 PnP.PowerShell
Cmdlet Disable-PnPFlow 3.1.126 PnP.PowerShell
Cmdlet Enable-PnPFlow 3.1.126 PnP.PowerShell
Cmdlet Export-PnPFlow 3.1.126 PnP.PowerShell
Cmdlet Get-PnPFlow 3.1.126 PnP.PowerShell
Cmdlet Get-PnPFlowOwner 3.1.126 PnP.PowerShell
Cmdlet Get-PnPFlowRun 3.1.126 PnP.PowerShell
Cmdlet Remove-PnPFlow 3.1.126 PnP.PowerShell
Cmdlet Remove-PnPFlowOwner 3.1.126 PnP.PowerShell
Cmdlet Restart-PnPFlowRun 3.1.126 PnP.PowerShell
Cmdlet Restore-PnPFlow 3.1.126 PnP.PowerShell
Cmdlet Stop-PnPFlowRun 3.1.126 PnP.PowerShell
Additional error when trying to use the command:
Get-PnPFlowEnvironment | Where-Object { $.Properties.DisplayName -eq $environmentName }_
Get-PnPFlowEnvironment: The term 'Get-PnPFlowEnvironment' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Steps to reproduce behavior
Uninstalled and reinstalled the PnP.PowerShell module.
Ran the command get-command -name "pnpflow"
What is the version of the Cmdlet module you are running?
PS C:\Users\andrew.goodwin> Get-Module -Name "PnP.PowerShell" -ListAvailable
Directory: C:\Users\andrew.goodwin\OneDrive - Xenit AB\Dokument\PowerShell\Modules
ModuleType Version PreRelease Name PSEdition
Manifest 3.1.126 nightly PnP.PowerShell Desk
Which operating system/environment are you running PnP PowerShell on?
- Windows