File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -30,32 +30,6 @@ Describe 'Export-PowerViewCSV' {
30
30
}
31
31
}
32
32
33
-
34
- Describe ' Set-MacAttribute' {
35
- BeforeEach {
36
- New-Item MacAttribute.test.txt - Type file
37
- }
38
- AfterEach {
39
- Remove-Item - Force MacAttribute.test.txt
40
- }
41
- It ' Should clone MAC attributes of existing file' {
42
- Set-MacAttribute - FilePath MacAttribute.test.txt - All ' 01/01/2000 12:00 am'
43
- $File = (Get-Item MacAttribute.test.txt)
44
- $Date = Get-Date - Date ' 2000-01-01 00:00:00'
45
-
46
- if ($File.LastWriteTime -ne $Date ) {
47
- Throw ' File LastWriteTime does Not match'
48
- }
49
- elseif ($File.LastAccessTime -ne $Date ) {
50
- Throw ' File LastAccessTime does Not match'
51
- }
52
- elseif ($File.CreationTime -ne $Date ) {
53
- Throw ' File CreationTime does Not match'
54
- }
55
- }
56
- }
57
-
58
-
59
33
Describe ' Get-IPAddress' {
60
34
$IPregex = " (?<Address>((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))"
61
35
It ' Should return local IP address' {
You can’t perform that action at this time.
0 commit comments