July 2, 2021 at 12:00 am
Comments posted to this topic are about the item Debugging a PowerShell Function
July 2, 2021 at 11:17 am
Hmm...the title of the question states that the command is loaded into PowerShell. If that is the case then the result for this question would be Continue & SilentlyContinue. For Inquire & SilentlyContinue to be the correct answer would mean that the script is executing in a Windows PowerShell (powershell.exe) context.
It would really help to make the distinction between PowerShell and Windows PowerShell in these questions because they are close but not exactly interchangeable.
July 2, 2021 at 1:54 pm
Agreed, they are and do work differently in this case and many others.
July 2, 2021 at 3:15 pm
Yes. Also, the host profile in effect can affect the outcome.
July 6, 2021 at 1:38 pm
couple things.
First, any changes you've made to a profile would not be valid for these questions. We are not recreating an environment nor trying to define everything. you should always assume defaults.
With that in mind, Windows PowerShell is the default for most people. We should list the version, and the question has been corrected to do so. Microsoft's change from PoSh -> Win PoSh -> PoSh again is maddening, however, assume if not listed, this is the default in Windows 10/Windows Server.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply