Unable to access Task Sequence Variables from a paused Task Sequence RRS feed

  • Question

  • I've paused my deployment using LTIsuspend.wsf and am attempting to list all the task sequence variables but get an error instead. 

    Import-Module C:\MININT\Modules\ZTIUtility
    Get-Content TSEnv:

    Get-Content : path

    At line:1 char:1
    + Get-Content TSEnv:
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-Content], ArgumentException
        + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.GetContentCommand

    Get PS-Drive shows that the drive DOES exists.

    Why doesn't the documented method actually work?

    If I change to the directory and list it, it's blank
    • Edited by Bill-777 Wednesday, May 22, 2019 5:39 PM
    Wednesday, May 22, 2019 5:35 PM