Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

Getting Powershell to request information for variables.

I currently have a Powershell script that I use for creating Users in Active Directory.  I mainly use it for batch jobs when customers want to add 5 or more users..   It works perfectly for this as I...

View Article


problem with variables input

Hi,I build a form that the user write a number in the windows, when he click the button, this valueis the new prohibit Send quota in the MailBox.part of the...

View Article


test-connection

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4don - in your Month of Lunches book chapter 9.8 you have ideas for on your own and ask:Or use Test-Connection to ping...

View Article

Windows PowerShell 4.0 Preview Now Ready for Testing

The Preview Release of the Windows Management Framework 4.0 is available, which includes some various PowerShell 4.0 components, as well as the core PowerShell 4.0 bit.Read More

View Article

Windows Azure PowerShell Reference Guide

This is an ongoing effort to build a reference guide for the Windows Azure PowerShell Cmdlets.Read More

View Article


How to Conduct Throttling in Exchange PowerShell

Recently, an issue occurred when I was trying to access my Exchange mailbox characteristics. I found out that the problem was caused by the Windows settings and policies that were in place, thus...

View Article

how robust is powershell remoting?

hi together!for our company we want to share some functions with powershell globally, and have at the moment two different ideas.the first is to write a own webservice. but the disadvantage is that we...

View Article

Getting information from .zip files

Hello,Is there a way of using powershell to get information from files that are in a .zip folder (specifically, filename and uncompressed size)?Any help would be most appreciated,Regards,Andrew

View Article


Path error

While running this script i am gettin this error , i guess error in specifying path can u plz check and let me knw how can i remove his error because i need list of all server PSP using this script PS...

View Article


Output in excel or txts

Thanks for the help now i want output to be in .txts or i excel format ,i m trying using if statement but giving me errors, can u hlp me in that so all output will come in excel or txts,foreach...

View Article

Image may be NSFW.
Clik here to view.

Exchange 2010 Query

I have a very odd issue and I am not sure if it is PoSh or Exchange related but I will post it here anywayBasically I have put together a PS1 file for our administrators to use which will prompt them...

View Article

Remote remove outlook Profiles

Hi all,  another question, i want to remote remove outlook proiles on a windows 7 desktop. does anybody know a good script for this , all desktops are member of a domain.  Thanks..  you guys are a...

View Article

Help with a powershell script to use a parameter to manipulate/read in fields...

Hi Guys, I am powershell novice so asking for assistance for what is to me  a difficult problem but hopefully a quite easy solution to PS experts!!. I have and existing powershell script (not written...

View Article


Import data from Powershell to SQL Server

Hi everyone, Not sure of this is the easist way. But id like to get a list of all the Servers in AD into a table in SQL Server. I can get the list of servers from AD in powershell. But i cant find a...

View Article

Exploring PowerShell's Group-Object Cmdlet

One reason why Windows PowerShell is so flexible and maybe even a little harder to learn is that it doesn't have monolithic commands that do six different things. Instead, there are simple cmdlets that...

View Article


Using Remote PowerShell with Windows Azure VMs

I’ve been doing a little more work with Windows Azure Virtual Machines and PowerShell lately. With the PowerShell cmdlets I can create VMs and Virtual Networks in a quick and repeatable fashion.  After...

View Article

#PSTip: Using the System.Windows.Forms.FolderBrowserDialog Class

In PowerShell, it is possible to use GUI elements to allow for user input during scripts. Although it is possible to create your own forms from scratch, there are also many useful pre-built dialogs...

View Article


XenServer 6.2.0 Powershell SDK Overview

The XenServer 6.2.0 SDK includes two versions of the PowerShell language bindings:The "old" PowerShell SDK. This is the previously released XenServer PowerShell v1.0 Snap-In and as of XenServer 6.2.0...

View Article

PowerShell v4 Ping and Telnet Replacement

I have been waiting years for a good replacement for what Telnet and Ping provide me. I am thrilled to announce today I discovered a legitimate replacement has come down the line! Recently Microsoft...

View Article

Powershell pass switch to scriptmethod

Is there a correct syntax for passing a switch to a scriptmethod like you can to a functionyou can pass a switch to a function:function func ($parm1,$parm2='defaultvalue',[switch]$switch1) {write-host...

View Article
Browsing all 6937 articles
Browse latest View live