You can check for file and folder name length limits in Windows using PowerShell. Here's a script that can help you identify files and folders with names that exceed the 256 character limit in Windows:
powershell
Copy code
# Set the path to the root folder you want to check
$rootFolder = "C:\Path\To\Your\Folder"
# Function to recursively check file and folder names
function Check-PathLength {
param (
[Parameter(Mandatory = $true)]
[string]$path
)
# Check the length of the path
if ($path.Length -gt 256) {
Write-Host "Path length exceeds 256characters: $path"
}
# Check the length of subfolder names
$subfolders = Get-ChildItem -Directory $path
foreach ($subfolder in $subfolders) {
if ($subfolder.FullName.Length -gt 256) {
...
You could do it be creating a symbolic link from the original default location (C:/Users//AppData/Local/Google/Chrome/User Data) to, for example, a “D:/chrome.userData” folder.
You’ll need to:
– close Chrome;
– know your Windows login user name (“user” in the example);
– decide to where you want to move the files.
The steps are:
– create the destination directory (e.g.: md “d:/chrome.userData”)
– using Windows Explorer, move (cut) C:/Users/user/AppData/Local/Google/Chrome/User Data to d:/chrome.userData
– then run the command
mklink /d “C:/Users/matt/AppData/Local/Google/Chrome/User Data” “d:/u-matt/chriomeappdata/user data”...
Set same on Mulitple
CSV with Heading UserPrincipalName
Txt file with the HTML Code for the reply
Connected to Exchange via powershell
This sets External message the internal message is set blank
$Extmessage = Get-content -Path C:\Temp\externalmessage.txt
Import-Csv C:\temp\Mailboxes.csv | ForEach-Object {
$user1 = $_."UserPrincipalName"
Set-MailboxAutoReplyConfiguration -identity $user1 –AutoReplyState Enabled –InternalMessage '' –ExternalMessage "$Extmessage"
}
check it has updated
Import-Csv C:\temp\Mailboxes.csv | ForEach-Object {
$user1 = $_."UserPrincipalName"
Get-MailboxAutoReplyConfiguration -identity $user1 | select Identity,ExternalMessage| fl
}
...
Windows
CMD as admin
ipconfig /flushdns
MacOS
Applications> Utilities > Terminal
10.7, 10.8, and 10.9 10.10.4 and above - sudo killall -HUP mDNSResponder
10.10.1, 10.10.2, and 10.10.3 - sudo discoveryutil mdnsflushcache
10.5 and 10.6 - sudo dscacheutil -flushcache
Enter mac login password (requires admin)
Linux
Check if service is running - sudo systemctl is-active systemd-resolved.service
sudo systemd-resolve --flush-caches
...
used for is you have already moved the files, for instance I updated from using the computer name \\storage\ to the FQDN
get Excel file
get-VMHardDiskDrive -VMName * | select VMName,ControllerType,ControllerNumber,ControllerLocation,Path | Export-Csv -Delimiter ";" -Path "c:\temp\vmvhdloc.csv"
In excel file update path to what you want it to be (note this does not move the file)
import-csv c:\temp\vmvhdloc.csv | ForEach-Object {
set-VMHardDiskDrive -VMName $_.VM -ControllerType $_.CT -ControllerNumber 0 -ControllerLocation $_.CL -Path $_.newpath
}
get-vm * | Get-VMHardDiskDrive
...
Either when you reinstall OS or add a new drive it seems to of disabled auto mount
Confirm you have read/write access on the server you on
Server Manager->File and Storage Services->Volumes->Storage Pools
Right-click storage pool and choose “Set Read-Write access" and OK on the prompt
Set drive to automatically mount in powershell
Get-VirtualDisk | select friendlyname,ismanualattach
friendlyname ismanualattach
------------ --------------
4TB True
2TB False
Front Bay False
Msata False
Update all disk to be auto
get-VirtualDisk | Set-VirtualDisk -IsManualAttach $False
Confirm check applied
Get-VirtualDisk | seect friendlyname,ismanualattach
friendlyname ismanualattach
------------ --------------
4TB False
2TB False
Front Bay False
Msata False...