If you run this in Powershell in Windows 10, you will get the error about "OI not recognized". Solution: Put the user+perms argument in quotes. For example: C:\>icacls "D:\test" /grant "John:(OI)(CI)F" /T
Very Important to know!
If you run this in Powershell in Windows 10, you will get the error about "OI not recognized". Solution: Put the user+perms argument in quotes. For example: C:\>icacls "D:\test" /grant "John:(OI)(CI)F" /T
Very Important to know!
PS C:\> Get-CimInstance win32_POINTINGDEVICE | select hardwaretype
Command for getting hardware type of mouse via Windows PowerShell.
Use the Get-ChildItem cmdlet with the -Recurse switch: Get-ChildItem -Path V:\Myfolder -Filter CopyForbuild.bat -Recurse -ErrorAction SilentlyContinue -Force
Useful PowerShell command to do recursive file search in Windows through PowerShell.