Quantcast
Channel: PowerShell General
Browsing all 10624 articles
Browse latest View live

Windows PowerShell 3.0 and Server Manager Quick Reference Guides Released

The PowerShell Language Reference is four-pages, while the rest are two-pages long, giving readers a condensed version of each topic, good for viewing on a mobile device like a Windows 8 tablet.Read More

View Article


PowerShell help RSS feed

The updatable help in PowerShell 3.0 caused a lot of confusion when that version first shipped. The help files have been updated periodically since 3.o shipped but its always been difficult finding out...

View Article


Advanced Tools & Scripting with PowerShell 3.0

After the Getting started with PowerShell 3.0 event on Microsoft Virtual Academy, Jeffrey Snover and Jason Helmick are back with another full day PowerShell training event. This time around, they will...

View Article

Download Free PowerShell Quick Reference Guides from Microsoft

Are you just getting started with learning PowerShell or tired of looking up less frequently used commands? Then this terrific set of PowerShell quick reference guides from Microsoft is just what you...

View Article

The first 3 days of Learning PowerShell 3.0 In A Month Of Lunches

If you didn’t catch it, I posted about getting more in depth with PowerShell a couple weeks ago. I am using the excellent book by Don Jones and Jeffrey Hicks “Learning PowerShell 3.0 In A Month Of...

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 Article

Creating Windows Task Schedule

Hi all, How can I create an windows task shceduler with powershell script (2.0) at XP sp3 and W2K3 ?This task will call a .ps1Thanks a lot !!!   

View Article

Question Reg HTML Output

Hi Experts.My actual question was answered in the below post and very well explained.http://powershell.com/cs/forums/t/12627.aspxBut the requirement what i have is bit different.$Style =...

View Article


Send-MailMessage Issue

Hi,I want to use Send-MailMessage in my script to send emails.When I test the command I am getting this error.Command : Send-MailMessage -From user1@xxxx.comuser1@xxxx.com -Subject "Tesdt" -Body "test...

View Article


combine commands or output

I am pulling info with powercli but my question is powershell centralized.   Below is a snipit of the code.  I set the $vm, $Partitions  and $disk variable and collect what I want.  My issue is I have...

View Article

working with csv files

I am having trouble working with a csv file.  I was hoping someone might know how to help me.  The problem is the first column in my file is all text so when I use get-unique it works on that column....

View Article

Power Shell Options/alternative

Hi Experts,I have written a complex script,  that will copy the users profiles from the workstation to the nearest file server(Based on Sites/Services and various checks on location), when the user is...

View Article

Creating a shortcut as a PIF

Hello,I am trying to create a shortcut however I need the shortcut to be created as a .PIF.Currently I am using the following which will create a shortcut however I cannot get it to work as a .pif as...

View Article


" ForEach" loop problem

I wrote a script that read all users in specific group in AD and get there SamAccountName and put them in txt file, and then get there mail box to anther txt file here is the script:...

View Article

Import AD module

Hi,I have Exchange 2007 hub server (2003 64 R2), in PS exchange management shell I'm trying to run:Import-Module activedirectoryI get an error :Import-Module : The specified module 'activedirectory'...

View Article


How to get Operating system details for linux VM?

Hi, Im using  GetsummaryInformation() in powershell script to get the Guest Os operating system details. But it is empty when the machine is offline or it is Linux. It is giving output only when the...

View Article

New-PSDrive for URL

HiIs it possible to create a new PSDrive to a URL? I'm trying to script the copying of documents to SharePoint 2010 libraries from a windows 7 desktop machine. I have tried the usual map network drive...

View Article


Restart server & then email

I am trying to write a script to restart a server and then email when the restart is done.I started with this basic command:  Restart-Computer -ComputerName <string[ ]>,But I can't get it into a...

View Article

n00b here.. Question about something really simple (i think)

Hi all :)I have a question;Consider this:I have a folder called TEST\;Underneath there are other folders, like A, B, C.In each folder, there is a file called...

View Article

How to find all hostnames in DNS belong to single IP?

For example.. I have two A records which belong to 1.1.1.1A.test.com ->1.1.1.1B.test.com ->1.1.1.1How do I use PowerShell to report such IP's which has more than one hostnames?

View Article
Browsing all 10624 articles
Browse latest View live