powershell - Invoke-WebRequest - sourceforge urls/redirection/dynamic conten
Hallo,I try to use Invoke-WebRequest CmdLet in Powershell for downloading OpenOffie...
View Articleusing the X to close a window?
Hi,I created a window that disappears in several different ways. I can type a valid path, I can press the "Cancel" Button, I can press the Escape Key. But if I press the X the window comes back. Is...
View ArticleCreate Graph Reports with PowerShell for Exchange 2010 and ActiveSync
PowerShell is a fantastic tool to administrate our servers. I use it every day. However, I would like to use it to receive better information on my servers. So today I will show you how to create Graph...
View ArticleHow to remove (all) Windows 8 apps using PowerShell
Apps are clearly a focus on Windows 8, not only because the operating system boots into the "apps-interface" on startup by default, but because most of the marketing for the operating system puts it in...
View ArticleHow to enumerate folders
I need to find out how many folders and files are on shared drive. What I'd like is the same information you get when you "right click" a folder and pick Properties. There you see this...
View ArticleOpening IE tabs with powershell
I am a beginner in powershell and new to this forum. I am working on a powershell to script to open IE window with multiple tabs. Here is what the requirement is,I am keeping the request number (PPM...
View ArticleChanging a user's password.
I'm reading in a csv file with the properties being a SAMAccountName and a password. Then for each user I change their password using the command:...
View ArticleChange Local Password
I've Googled this and I've gotten tons of good hits. But here is what our environment looks like. We have many Windows 2003 x86 & x86 servers. We have many Windows 2008 R2 x64 servers.We have a...
View ArticlePing & RDP status
Hi, I have a little script that indentify the ping status of servers:get-content c:\servers.txt | foreach { if (test-connection $_ -quiet) { write-output "$_ is Pingable" | out-file c:\results.txt...
View Articlepowershell & mysql
I am trying to manipulate some mysql databases with powershell. I found a really informative post of a one size fits all database connector. So the connection part is working. My current crisis is I...
View ArticleCheck if AD users are enabled or disabled
Hello,I have a txt file with users SamAccountName and need to parse the file to see which users are enabled and which users are disabled.Thank youGordon
View ArticleImport-Csv with multiple rows and columns
I have tried to sift through the forums for answers but I am unable to find anything or I am not understanding. I have a CSV file......
View ArticleGet-Unique Ip address list
I am working on some code and I thought the Get-Unique cmdlet would be a perfect match for what I am trying to accomplish. I cannot get it to work though tried many different ways to get the output to...
View ArticleSite style change
I don't know why the style sheets were changed for the site, but bullets are no longer displaying correctly. They show up in the "Compose" but not in the "Preview" or final.Bullet 1Bullet 2Numbered...
View Articleexport-csv over writing 1st row
I have a powershell script that imports a list of students, ids, school, etc.. the script seems to work fine (i've stepped thru it in the debugger and i see it writing and overwriting the data) but...
View Articlehow to check RAM Size
i want RAM size of all server in domain.this script help me in getting ram size localy but i want remotly for all server.i tired foreach but dint sort it for me. function Get-RAM...
View ArticleBulk Registering Virtual Machines with PowerShell
I recently rebuilt a Hyper-V server – where all of my virtual machines were shutdown first and stored on a secondary disk. Once I had finished installing the operating system and had Hyper-V up and...
View Article#PSTip Tab Completion in PowerShell 3.0
PowerShell’s tab completion just got better in v3. In addition to all its awesomeness, it is now capable of completing service or process names, event log names, module names and the list is long.Read...
View ArticleHow To Have Non-Admin Execute A Remote SQL Job with PowerShell
I’m looking for a PowerShell solution to allow a member of AD group to invoke a SQL Job on a remote server where they are NOT an admin. The current concept is for them to invoke a command from a...
View ArticleBulk update SharePoint 2010 user e-mail address using Powershell script
In this blog we will see how to bulk update or update multiple user’s e-mail address using one single powershell script.We will create a csv file with some dummy names and e-mail address.Read More
View Article