Quantcast
Channel: PowerShell.org » All Posts
Browsing all 13067 articles
Browse latest View live

Reply To: 2013 Scripting Games archives 404

I’m sure she is. FWIW, we’ve made arrangements to archive Games content henceforth.

View Article


Reply To: Splitting a csv by comparing values against arrays

Hi Dave, thanks, looks good. I´ll try it later. It would be nice to have separate files for the declaration of the hashtable so I could make this more flexible for the other users. How would I import...

View Article


Reply To: Splitting a csv by comparing values against arrays

I’d probably put the values into CSV file. Assuming $filePath1 is actually ‘C:\Logs\File1.txt’, the CSV would look something like: "Kostenstelle","FilePath" "5300"="'C:\Logs\File1.txt"...

View Article

Reply To: Tools and Best Practices for 'make' clones

Closing the loop on this, Dave’s comment on using a config file was spot on. Referencing a common parameters file (in our case, we use a JSON formatted file and run it through ConvertFrom-Json) was a...

View Article

Image may be NSFW.
Clik here to view.

Reply To: Tools and Best Practices for 'make' clones

No problem.

View Article


SP Website availabity PS script returns undesired results

I have a PS script which monitors the availability of my SharePoint 2007 websites. The script also emails me if any of the SharePoint urls isn’t loading or isn’t up. I’m monitoring four sharepoint...

View Article

Invoke-Command Question on Remote File Server

Hi Gang, I’m attempting to get a list of files on some of our file servers that are newer than a given date range. I’ve been through a couple different methodologies of gathering the objects, but...

View Article

Reply To: Invoke-Command Question on Remote File Server

Try it like this: $colFS13Files = Invoke-Command -Session $sessionFS13 { Get-ChildItem d:\ -Recurse | where {$_.psiscontainer -eq $false -and $_.CreationTime -gt $date} | Select-Object...

View Article


Reply To: Invoke-Command Question on Remote File Server

Ahh – perfect. So simple, can’t believe I missed that. Thanks, Dave.

View Article


Pairs Entries

The event doc says there should be a script for the manager and a script for the project manager…I just want to make sure that if I have a script for each uploaded and named appropriately that will be...

View Article

Reply To: Pairs Entries

The general rules stated that you should have one entry, which may involve multiple files (and the Pairs requirements are pretty clear that multiple files are required). So long as the names of the...

View Article

Reply To: Pairs Entries

I can’t interpret the event for anyone. The rule, however, is not one script. It is one cohesive set of files. In other words, the files you submit should be a single working set, not multiple...

View Article

Reply To: Pairs Entries

Ok thanks for clearing it up for me.

View Article


Reply To: Get-Hotfix

Great information guys thanks a lot. The script is working great now.

View Article

Reply To: Pairs Entries

It asks for 2 solutions, not 2 files. Could this not be 2 functions in the same file, or 2 different ways to run the same function to produce the different results?

View Article


Reply To: Pairs Entries

Beats me; use your best judgement. I interpreted it as two script files, but even then, most of the work was done by the same function in a module (called with different parameters by the two PS1...

View Article

Reply To: Get-Hotfix

If you’re using WSUS, you can get the info from there. I wrote an article about it here: http://www.powershelladmin.com/wiki/Check_when_servers_were_last_patched_with_Windows_Update_via_COM_or_WSUS It...

View Article


Image may be NSFW.
Clik here to view.

Reply To: Linking values from imported CSV

Oh, that’s weird, because I just wrote this in the last two days and posted the article this morning: http://www.powershelladmin.com/wiki/An_Advanced_Cmdlet_to_Merge_Csv_Files_in_PowerShell I swear...

View Article

Reply To: Linking values from imported CSV

No worries Joakim, I’m guilty of reinventing the wheel almost every time I sit down to write a script. I get a fair amount of enjoyment and satisfaction from producing my own code, anyway. Also,...

View Article

Reply To: SP Website availabity PS script returns undesired results

You need http://www.toddklindt.com/default.aspx Todd Klindt he may even have some scripts already on his blog that do what you need to do. -VERN

View Article
Browsing all 13067 articles
Browse latest View live