ADAPE-Script icon indicating copy to clipboard operation
ADAPE-Script copied to clipboard

bug?

Open icysun opened this issue 5 years ago • 2 comments

D:\ADAPE-Script\ADAPE.ps1:91

If( $OS -match "10" -or $OS -match "2012" -or $OS -match "2016" -or $OS -match "8")

icysun avatar Oct 10 '20 01:10 icysun

At path\to\ADAPE.ps1:91 char:19
+     $OS -match "8")
+                   ~
Missing statement block after If ( condition ).
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : MissingStatementBlock

hotpheex avatar May 04 '21 12:05 hotpheex

Replace the code with these lines at line number 99

If( $OS -match "10" -or $OS -match "2012" -or $OS -match "2016" -or $OS -match "8") { Write-Host "OS Detected: $version" }

IAMinZoho avatar Aug 08 '21 13:08 IAMinZoho