About
Pricing
Community
Teams
Start Free Trial
Log in
techdrive
asked on
8/9/2016
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)
Powershell
Exchange
Outlook
2
1
Last Comment
techdrive
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
FOX
8/9/2016
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
techdrive
8/9/2016
ASKER
Thank you foxluv that did the trick.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes