Updates from: 02/27/2021 04:13:53
Service Microsoft Docs article Related commit history on GitHub Change details
developer How To Invoke Scripts Within A Cmdlet https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/cmdlet/how-to-invoke-scripts-within-a-cmdlet.md
This example shows how to invoke a script that is supplied to a cmdlet. The scri
2. Then, the script iterates through the returned collection of [System.Management.Automation.PSObject](/dotnet/api/System.Management.Automation.PSObject) objects and perform the necessary operations.
- ```c
+ ```csharp
foreach (PSObject psObject in psObjects) { if (LanguagePrimitives.IsTrue(psObject))