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

Compare Properties of an MP3

HelloI'm new to powershell, and I'm looking for an way to automate the following.I have 2 folders with mp3s (Folder1: "C:\MP3WithComments") and (Folder2:"C:\MP3WithoutComments"). As you can probably...

View Article


Turning on FTP Server

Now for my big task.  Some of you know that I'm writing a Powershell script to automate the Build of Windows 7 PCs.  I am pretty far along, done with most.  But the big one I need to tackle is the FTP...

View Article


Get IE Settings?

On a Windows 7 workstation if you go into Control Panel there is of course the Internet Options Icon.  If you double click on this icon you see all sorts of Internet Explorer information.  Using...

View Article

Reclaiming your inner-geek through PowerShell

But something happened recently that made me reconnect with that 25-year-old feeling. I was working on my latest course Configuring Exchange Server 2013 with SharePoint 2013, and I had quite a bit of...

View Article

SSIS 2012 - Using PowerShell to Remotely Execute File System Packages in...

In our recent articles published on this forum, we have been discussing different methods of executing SQL Server 2012 Integration Services packages deployed by employing the traditional Package...

View Article


SSIS 2012 - Using PowerShell to Remotely Execute File System Packages in...

In our recent articles published on this forum, we have been discussing different methods of executing SQL Server 2012 Integration Services packages deployed by employing the traditional Package...

View Article

Unexpected Results using WMI to query Offline Files

I'm try to list offline files on a remote computer running Windows 7 x64.If I execute the following command locally, I get expected results -- namely, a list of all the items in the local files...

View Article

Image may be NSFW.
Clik here to view.

Error "Split-Path : Cannot bind argument to parameter 'Path' because it is...

Hello,In C:\Users\Powershell folder, I a a script as ZZZ_Test. This script writes script's directory as below:$MyDirectory = (Split-Path $script:MyInvocation.MyCommand.Path) + "\""---> " +...

View Article


replacing file path

Hi, I am new to PowerShell.I have a .confi (XML) file in UTF-16 unicode with over 100 lines. I need to find replace the some tags where file path is incorrect.  I am able to find the file path store it...

View Article


Help Creating Backup script

Hi. I'm very new to powershell scripting but for a project I'm working on i think powershell would be the best solution to automate our backups. I'm trying to create a script that will back up folders...

View Article

Invoke msiexec on remote machine and get 0x80070005 error

Hi everyone,I'm trying to do a script in powershell that install msi files on remote machines in the same domain. When i use Invoke-Command to run simple cmdlets on remote machine everything works...

View Article

Creating TextBox objects with a Loop (Inside a function)

Hello All,So recently I've been doing some PS'ing and I've finished los of scripts with GUI's.I've encountered a problem in this script though, I've asked my Company's Senior Developer and He's...

View Article

role

PS> Import-Module ServerManager PS> Get-WindowsFeature *file*PS> Get-WindowsFeature *powershell*PS> get-WindowsFeature Web* i need server role i tried above commands its working but i need...

View Article


Param cmdletbinding() full parameters list

Hi,Can anyone please give me the list of parameters in param, After we specify cmdletbinding(). As of now, I know only 4 parameters. please have a look at the below example.[CmdletBinding()]Param(...

View Article

Manage Lync Online with Windows PowerShell

Here's further proof that anything can be managed using Windows PowerShell. Microsoft has released a PowerShell module that allows for management of Lync Online deployments and user accounts.Read More

View Article


PowerShell Start-Process without taking focus

Earlier this week I had a need to start a process from PowerShell and ensure that it did not take focus.  This doesn’t seem to be supported by the Start-Process cmdlet or any other mechanism built into...

View Article

Opscode Chef™ Delivers Robust Open Source Automation Platform for Windows...

Opscode Announces New Collaboration with Microsoft to Enable Opscode Chef Cookbooks to Take Advantage of Windows PowerShell Desired State Configuration Capabilities, New Version of Opscode Chef Adds to...

View Article


Executing (calling) powershell commands through Control-M

Hello,I am new to usage of powershell.  I am trying to execute (call) a powershell script through the BMC Control-M batch processing program via a Command Line.The command I am using is: powershell...

View Article

Conneting to Exchange 2010 from win7(different domain)

Hello All,Client: Win 7 EnterpriseClient Domain:ds.swin.edu.auHost server: Windows 2008 R2 EnterpriseSever domain: ex.swin.edu.auExchange: 2010How do I connect to Exchange 2010 with powershell...

View Article

Import from CSV, set Dial in Tab and ad to user

Hi AllI'm going to aplogise in advance for this - its been many years since I've done any coding so am doing a crash-course in Powershell - it will be evident in what I post!I am struggling with...

View Article
Browsing all 6937 articles
Browse latest View live