Windows-powershell / PowerShell-master /test /powershell /Modules /Microsoft.PowerShell.Utility /Get-TraceSource.Tests.ps1
Download PowerShell-master/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-TraceSource.Tests.ps1 from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-TraceSource.Tests.ps1
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-TraceSource.Tests.ps1
-
curl -L -o Get-TraceSource.Tests.ps1 https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-TraceSource.Tests.ps1
275 Bytes
| # Copyright (c) Microsoft Corporation. | |
| # Licensed under the MIT License. | |
| Describe "Get-TraceSource" -Tags "Feature" { | |
| It "Should output data sorted by name" { | |
| $expected = (Get-TraceSource | Sort-Object Name) | |
| Get-TraceSource | Should -Be $expected | |
| } | |
| } | |