mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
ConvertFrom-SddlString and Unblock-File are Windows-specific cmdlets with no equivalent on Unix. squash! Remove Unblock-File from Unix
14 lines
353 B
PowerShell
14 lines
353 B
PowerShell
Describe "Unimplemented Utility Cmdlet Tests" -Tags "CI" {
|
|
|
|
$Commands = @(
|
|
"Unblock-File",
|
|
"ConvertFrom-SddlString"
|
|
)
|
|
|
|
foreach ($Command in $Commands) {
|
|
It "$Command should only be available on Windows" {
|
|
[bool](Get-Command $Command -ErrorAction SilentlyContinue) | Should Be $IsWindows
|
|
}
|
|
}
|
|
}
|