State of PowerShell instance is not valid to create a nested PowerShell instance. Nested PowerShell should be created only ...