Search found 24 matches

by notarat
Wed Feb 11, 2015 8:55 am
Forum: PowerShell
Topic: Export unreachable folder names into a text file
Replies: 6
Views: 2584

Re: Export unreachable folder names into a text file

Hi team. Am tying to check permissions issues on user folders . I am an admin and would like to run a script and check if i will be able to access a particlar users folder in the dfs. If i am denied permission ( meaning permissions on that particular folder are skewy), I would like to output that f...
by notarat
Mon Jan 12, 2015 9:31 am
Forum: Feedback
Topic: Saw a bot browsing the forum
Replies: 1
Views: 4505

Saw a bot browsing the forum

Not sure if it's allowed, but I saw "Yahoo [Bot]" browsing the forum so I thought I would mention it
by notarat
Fri Nov 29, 2013 12:05 pm
Forum: PowerShell
Topic: Could use a little help on this Duplicate Files Script
Replies: 3
Views: 2429

Re: Could use a little help on this Duplicate Files Script

Return a collection of files that are duplicates. For now deleting has been removed. PS C:\scripts> $files=.\FindDupe.ps1 Number of Files checked: 218. Number of duplicates found: 15. Number of duplicates deleted: 0. 0 bytes recovered. Time to run: @{Hours=0; Minutes=0; Seconds=0; Milliseconds=330}...
by notarat
Fri Nov 29, 2013 6:43 am
Forum: PowerShell
Topic: Could use a little help on this Duplicate Files Script
Replies: 3
Views: 2429

Could use a little help on this Duplicate Files Script

I have a powershell script that, depending on how it is executed, will list the duped files or delete them. To be perfectly honest, this script is a little over my head. What I would like is for a way to have this script record the fullpath, length, and lastwritetime of the duplicated files to a fil...
by notarat
Wed Oct 23, 2013 11:57 am
Forum: PowerShell
Topic: Copy selected row / item to a file location
Replies: 9
Views: 5405

Re: Copy selected row / item to a file location

jvierra wrote:Oops!

A ratonga is an Internet Service Provider:

See the Maori dictionary here: http://en.glosbe.com/mi/en/ratonga

Sony's version of ratonga
Image
by notarat
Wed Oct 23, 2013 6:51 am
Forum: PowerShell
Topic: Copy selected row / item to a file location
Replies: 9
Views: 5405

Re: Copy selected row / item to a file location

Hi I agree, If you are not a scripter use the gridview CmdLet. It requires no special coding with what notarat has posted. Is notarat Italian or French? It's "Ratonga". The forum name I use is the name of the Necromancer I used to play in EverquestII about 6years ago. I just like it because it's ea...
by notarat
Wed Oct 23, 2013 6:31 am
Forum: PowerShell
Topic: Copy selected row / item to a file location
Replies: 9
Views: 5405

Re: Copy selected row / item to a file location

Thank you for your reply, I too have only recently started scripting with Power Shell. I'm afraid I simply don't have the knowledge to whip up the code for which you're you're looking and then explain what the steps do and why they do what they do. All that said, I do have a working script that wil...
by notarat
Tue Oct 22, 2013 7:22 am
Forum: PowerShell
Topic: Copy selected row / item to a file location
Replies: 9
Views: 5405

Re: Copy selected row / item to a file location

Sounds like what you'll need to do is 1 Gather a list of local drives 2 Create a for each loop to do a recursive search for .pst files 3 pipe the results to Output Grid View to present the items to the user 4 pipe the selection(s) to your backup command The following code does something similar to t...
by notarat
Fri Oct 18, 2013 9:24 am
Forum: PowerShell
Topic: {cmdlet output and how to handle it...}
Replies: 5
Views: 3071

Re: {cmdlet output and how to handle it...}

I am a little embarrassed to write this but I can’t find the answer anywhere. I am using the below PS script: get-qaduser ggr13 -IncludeAllProperties | fl Name, allmemberof and the output is not formatted in a way that is easy to use. The output of the \"AllMemberOf\" cmdlet is a comma seperated li...
by notarat
Tue Aug 27, 2013 6:31 am
Forum: PowerShell
Topic: retrieve multiple values from same query
Replies: 9
Views: 5378

Re: retrieve multiple values from same query

The following uses a different for of identity to avoid the annoying errors. The errors wouldn't occur if you used a proper searchbase. $groups = Get-ADGroup -f * -searchbase 'MY OU HERE' $results=foreach ($group in $groups){ Write-Host $group.Name -fore green $members=Get-ADGroupMember $group.dist...