Skip to content

Commit 1b64bb2

Browse files
committed
Added sample powershell script
1 parent 7c5fbc1 commit 1b64bb2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sample.ps1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
if ([Environment]::Is64BitProcess)
2+
{
3+
Write-Host "This is a 64-bit process"
4+
}
5+
else
6+
{
7+
Write-Host "This is a 32-bit process"
8+
}
9+
Write-Host "-------------------"
10+
11+
get-acl .
12+
13+
Write-Host " "
14+
Write-Host " "
15+
Write-Host -NoNewline "Press any key to continue ..."
16+
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")

0 commit comments

Comments
 (0)