Search found 17 matches

by dwight.brookland
Fri Jan 21, 2022 12:15 pm
Forum: Customer Service
Topic: Receiving popup to rebuild cache
Replies: 2
Views: 5244

Re: Receiving popup to rebuild cache

I have done that. Thanks for the timely response.

Thanks,
Dwight B.
by dwight.brookland
Fri Jan 21, 2022 8:03 am
Forum: Customer Service
Topic: Receiving popup to rebuild cache
Replies: 2
Views: 5244

Receiving popup to rebuild cache

I am constantly getting a popup after updating to the most recent release that "New Powershell modules have either been installed on your system or have been updated. Do you want to rebuild the powershell cache to reflect this new information?" and I click yes and it pops up again 5 to 15 ...
by dwight.brookland
Mon Aug 27, 2018 12:07 pm
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

That worked. adding the -arglist $var1,$var2,$var3 to the invoke-command and then using the $using:var1, etc worked like a charm.

Thanks again.
Dwight
by dwight.brookland
Mon Aug 27, 2018 9:07 am
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

Before you ask, I wanted to provide the code. $sasURL = Read-Host "Please enter the SAS URL:" $pstServer = Read-Host "Please enter server PSTs reside on. " $sasURL = $sasURL.Replace("ingestiondata", "ingestiondata/$pstServer") Write-Host $sasURL Pause Invoke-C...
by dwight.brookland
Mon Aug 27, 2018 8:48 am
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

Okay here is I hope to be my last question. How do you wrap a variable in quotes. I am trying to have an input requirement of the SAS URL for pst upload and then kick off an AzCopy command but the command requires that the SAS URL be wrapped in quotes. I get various errors relating to that variable ...
by dwight.brookland
Thu Aug 23, 2018 1:11 pm
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

Okay that is what I wanted to know. Now they want me to add a self comparison to it. I am not sure how to accomplish this. I have done some reading but not sure how to do it. They would like to compare the source files that were added to the $pstData array with the capture of the $destData array and...
by dwight.brookland
Thu Aug 23, 2018 12:41 pm
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

jvierra, This is what I was referring to. I added line 25 to initiate the array and then line 51 to add the current file being processed to the array and then lines 62-68 to produce a way of visually verifying that the files that were supposed to be copied are what was copied. That both source files...
by dwight.brookland
Thu Aug 23, 2018 11:07 am
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

I will sort it out myself.
by dwight.brookland
Thu Aug 23, 2018 7:39 am
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

So I have added a Try Catch to help with error handling on AD user find Its not 100% clean but its working as intended. What I am also needing is during the steps to output each pst file with the user it belongs to as well as some user information to a global variable that is a sum of all the pst's ...
by dwight.brookland
Wed Aug 22, 2018 12:21 pm
Forum: PowerShell
Topic: PST Find,Rename and Move
Replies: 21
Views: 6499

Re: PST Find,Rename and Move

I have updated this code a little but it does now work. I had to move the $fullName=$fullname.Replace("... ") line up to right under the first rename.