The Get-TestDriveItem cmdlet gets the item in Pester test drive.
The Get-TestDriveItem cmdlet gets the item in Pester test drive. It does not get the contents of the item at the location unless you use a wildcard character (*) to request all the contents of the item.
The function Get-TestDriveItem is deprecated since Pester v. 4.0 and will be deleted in the next major version of Pester.
This command returns the file MyTestFile.txt located in the folder MyTestFolder what is located under TestDrive.
Specifies the path to an item. The path need to be relative to TestDrive:. This cmdlet gets the item at the specified location. Wildcards are permitted. This parameter is required, but the parameter name ("Path") is optional.
This page was auto-generated using Pester's comment based help. To edit the content of this page, change the corresponding help in the pester/Pester repository. See our contribution guide for more information.