mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Add tests for TimeZone cmdlets and FileCatalog cmdlets [SD:717473]
This commit is contained in:
1 parent
b4641986a2
commit
45791aa030
21 files changed
+927
-13
No files matched your search
@@ -1,4 +1,4 @@
|
||||
if ($IsWindows) {
|
||||
if ($IsWindows -and !$IsCore) {
|
||||
#check to see whether we're running as admin in Windows...
|
||||
$windowsIdentity = [Security.Principal.WindowsIdentity]::GetCurrent()
|
||||
$windowsPrincipal = new-object 'Security.Principal.WindowsPrincipal' $windowsIdentity
|
||||
@@ -28,4 +28,4 @@ if ($IsWindows) {
|
||||
} catch {$_.FullyQualifiedErrorId | Should Be "Microsoft.PowerShell.Commands.ClearEventLogCommand"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user