$FileObject.CreationTime return as short date
http://community.spiceworks.com/scripts/show/1738-get-foldersizesOnce again, loving above script; attempting to get it to work for my needs in excel with pivots and such.Is there a way to reduce the...
View ArticleRemote Software Install with Powershell
I have seen many different example scripts all over the Internet and I have yet to have one that works. What are my limitations and requirements to get this to work? I have tried the WMICLASS process...
View ArticleHelp with Convert to
Hi I'm trying to convert a .txt to a .csv file. This is what I'm trying. Powershellget-content-pathC:\file.txt|convertto-csv|out-file-filepathc:\file.csvIt's working to create the file but it doesn't...
View ArticleCould this be done shorter/neater
I yanked a script from Git-Hub to install 7-Zip with Powershelland pieced the rest as I was learning it. It's simple and more for learning than anything else.Here's what the total of the script does:1....
View ArticleNew-dfsnFolder_ permission denied
Scenario: DFS namespace set between 3 file servers, 2 new and 1 from existing schema. Lets call them 1,2,3.1: 2008, Pass on all adding dfsn folders + targets2: 2012R2, Fail on all testing dfsn folders...
View ArticleWhat was your PowerShell project this week? 8/29/2014
Good evening everyone, thanks to Bob for reminding me to post this!! So what was your PowerShell project this week? What are you working on? What problems did you solve with our favorite tool?
View ArticleLearning PowerShell
I realize that as Windows Products advance further and further, learning powershell will be a necessary evil and as such I'd like to learn. For someone that is programming challenged, and learns well...
View ArticleQuotes about PowerShell
Have you a favorite quote or two that makes you think of PowerShell? I'll start ...TextAbility and necessity dwell near each other. -- Pythagoras
View ArticlePowershell Unlock script and automation question
So my current project at work is creating a user account access kiosk. I currently have my group policy set and my password reset is Nervepoint's free tool. I also have coded and created a html form to...
View ArticleExport company directory through PowerShell
Does anyone know if there is a PS command to list company directory information from Exchange. I would like to see if there is a way to list in a spreadsheet the User's name, location and phone...
View ArticleColor output in powershell Convert to Html
I have a script to check the status of my servers. The out put comes out in black text and says Up or Down. I have this converted to html. I would like one of two things:I would like the entire row...
View ArticleBulk Creation of Exchange Server 2007 Mailboxes
I have Exchange Server 2007 and need to add 120 email addresses in bulk. Only requirements are Email and Password, e.g. mts01ipad@I need a Spiceworks approved Script and CSV example. I don't like...
View ArticlePowershell script to backup shares, including open files
I'm working on a powershell script using the Copy-Item cmdlet to do a daily backup of some folders on the network, and there's 1 file that's always open that gives me an access denied error. I've...
View ArticlePowershell to Update AD proxyAddresses
Hi all,I've hit a brick-wall with a script I've been working on & I could use a hand.One of our clients uses Office 365 for Exchange with Directory Sync.They were recently bought by a new company...
View ArticleOutlook Email Signature PowerShell Script: Cannot add TelephoneNumber
I am using this PowerShell script to push out email signatures to my users. I cannot get the ADTelephoneNumber to show up correctly, it always shows up as "TelephoneNumber" instead of the actual Active...
View ArticlePowershell + Scheduled Task + Excel
Hi everybody!I am facing an issue that I can't undersand.I made a piece of script that runs daily, opens an Excel file, updates a querytable and checks the value of a specific...
View ArticleScript Gpupdate /force for a AD container?
I am looking for a script "Gpupdate /force" I can run against any given AD container? I realized there are some apps that do this like specops but we do not allow these types of apps.Any suggestions...
View Articlermcclung is back with more powershell questions!
Powershell$sourceuri="ftp://x.x.x.x/New Text Document.txt"$username="xxxxx"$password='xxxxx'# Create a FTPWebRequest object to handle the connection to the ftp...
View ArticlePowershell filtering Mailbox permissions
I have this command:TextGet-Mailbox -OrganizationalUnit "OU=IT,ou=Win7 Users,dc=domain,dc=com" | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq...
View ArticlePS script used to work - have i missed something
Have been dipping my toe gradually into PS and had a useful script which was working last month - there are no failure messages, which leads me to think I may have missed out a previous command - I...
View Article