The PowerShell commands for working with SharePoint can be enabled using the following PowerShell command:
Add-PSSnapin Microsoft.SharePoint.PowerShell
The PowerShell commands for working with SharePoint can be enabled using the following PowerShell command:
Add-PSSnapin Microsoft.SharePoint.PowerShell
In PowerShell, we can use the following command to watch the new lines being appended to a file:
Get-Content -path "<file_path>" -Wait
where <file_path>
should be replaced with the path of the relevant file.
The command is roughly equivalent to tail -f
from Unix/Linux.