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

Mastering PowerCLI commands to control VMware vCloud and vSphere

With VMware increasingly abstracting the data center from the administrator's granular control, the command line interface remains a bastion for administrators that want a hairy eyeball and an iron...

View Article


The good and the bad in Hyper-V's PowerShell

As the great virtual war between Microsoft, VMware and various also-rans has rumbled on, many column inches have been devoted to Microsoft's Hyper-V Server.Read More

View Article


Send an email from link

HiDoes anyone know how to create a link in an html file to send an Outlook email.I'm trying to create a link in a report so the user can just click on the link to send an email.Thanks

View Article

run a command with anther user credential

Hi, I wrote a PS script that ruining a command that deal with user email.I have the admin privilege for running this command.By default the mailbox user owner and the exchange admin have privilege to...

View Article

Best way to install roles and features in server 2008 r2

Hi All,I want to install below roles in server 2008 r2. I use import-module servermanager, add-windows feature myroles_and_features. Here are the roles and...

View Article


Replacing part of a element in an Array

HelloI woundered if someone could please give me some advice on the following.Is there an easier way to achieve the following$b = $null$A = "AXA","BZB","CYC"foreach ($element in $A) {switch -wildcard...

View Article

reading values from xml

 </TaskHeader>  <TaskDetails>    <Item MailboxName="lior test">      <Source>        <Identity>ysds.co.il/Users OU's/HQ/Marketing/lior test</Identity>...

View Article

List the ARP(Add or Remove Program) entries.

Is there any cmdlet or any other way through powershell to get the ouput of what ARP display? Puneeth.

View Article


replace XML tag have datestamp with current datestamp using power shell

<ConfigurationConfiguredType="Property"Path="\Package.Variables[User::ConfigFilePath].Properties[Value]"ValueType="String"><ConfiguredValue>\\server\S_Repository\P_name\P_Dependencies_03152...

View Article


wait for network access

HelloI'm enabling an network adapter with the function enable from win32_networkadapter. How can I wait for the end of the identifying process of the network?I tried $adapters = get-wmiobject...

View Article

Very Old FTP, Need Password Encripted

We have a very very very old mainframe here and the FTP that can pull from it is also old and I need to pull a couple of files from it on a daily basis using PowerShell (PS.) This is not a problem,...

View Article

change config path in sql job with powershell

sql job->properties->General->Configurations->Configuration files-> change path here with powershell , how to do thatIf I will open job as script and ALTER this job then it says job...

View Article

How do I write a Powershell Script to Import a CSV File to Outlook Calendar?

I am attempting to write a script for Windows 7 (x86) to take CSV Data that is exported from Microsoft Excel and import it into an Outlook Calendar. However, I have had little success. So far, the...

View Article


Top 5 Features in System Center 2012 Configuration Manager SP1

Find out why this service pack offers more than expected. Read More

View Article

Taking Inventory with PowerShell: SharePoint Online

This blog will cover some recent experiences with PowerShell for SharePoint Online (SPO). Some excellent blogs and articles on the subject are available on the Web.Read More

View Article


Controlling Windows and SQL Server Services using Windows PowerShell

ProblemI discussed "How to access event logs using PowerShell" in my last tip. Here I will introduce a few PowerShell cmdlets related to accessing and handling Windows and SQL Server services. In this...

View Article

Question about -Split

$String = @("asdf asdf hijk Database:001 asdf:45545 asdf asdf:4554 Database:101 hijk""asdf asdf hijk Database:301 asdf asdf asdf asdf:4545 asdf asdf Database:011 hijk ")Select-String -InputObject...

View Article


Windows PowerShell script that helps you to find unregistered subnets

DS-MVP Alexandre Augagneur has added a Windows PowerShell script to the TechNet Script Center Repository. This script can help you locate IP v4 subnets that you may want to add as Active Directory...

View Article

PowerShell scripts for SharePoint

Simplify SharePoint administration with 20 free scripts. Read More

View Article

Fix Problem Where Windows PowerShell Cannot Run Script Whose Path Contains...

Most people will likely find the “Run script path with spaces from File Explorer” (to be able to double click a PS script whose path contains spaces to run it) section below the most helpful.  Most of...

View Article
Browsing all 8583 articles
Browse latest View live