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

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

gwmi win32_product error ONLY in win xp

Hi  All,I am creating a script to collect some system information for multiple servers. As a part of it, I am collecting softwares installed in group of machines. I am taking the list of softwares...

View Article


Looking for a script to pull Storage INQ info from multiple Windows servers

Hi,I am looking for a script that will let me pull the INQ info from multiple Windows servers.  The reason being that I need to identify which arrays various Virtual Machines are attached to without...

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

Microsoft brings Remote PowerShell to Lync Online for commercial Office 365...

Microsoft today released Remote PowerShell for Lync Online. The new features are available for all commercial Office 365 customers.Read More

View Article
Browsing all 8583 articles
Browse latest View live