techdrive
asked on
changing a users pst /ost file size remotely powershell
Does anyone have a powershell script that will remotely change a users .ost file size in the registry remotely
HKEY_CURRENT_USER\Software \Policies\ Microsoft\ Office\15. 0\Outlook\ PST
I want to change these two values MaxLargeFfileSize and WarnLargeFileSize to a certain value
I found this below but not sure how to setup this to work with the command below.
/$reg = [Microsoft.Win32.RegistryK ey]::OpenR emoteBaseK ey('LocalM achine', $computername )
$regKey= $reg.OpenSubKey("SOFTWARE\ \Microsoft \\Windows\ \CurrentVe rsion\\Run ",$true)
$regKey.SetValue("New_Valu ename_Stri ng","New_V aluedata", [Microsoft .Win32.Reg istryValue Kind]::Str ing)
HKEY_CURRENT_USER\Software
I want to change these two values MaxLargeFfileSize and WarnLargeFileSize to a certain value
I found this below but not sure how to setup this to work with the command below.
/$reg = [Microsoft.Win32.RegistryK
$regKey= $reg.OpenSubKey("SOFTWARE\
$regKey.SetValue("New_Valu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER