installing msi on remote machines with parameters
Hi, Below is the script i am using for installing the msi on remote computers, the msi is already on those computers, the script does not work when i substitute the values with variables but when i...
View ArticleSetting a maximum depth level on -recurse
Hello All,Is there a simply way to set a maximum number of levels -resurse will go to down a directory structure i.e. say 5 levels when doing something like thisget-childitem c:\ -filter "*.exe"...
View ArticleSQL Server 2012 with PowerShell V3 Cookbook
PowerShell is Microsoft’s new command-line shell and scripting language that promises to simplify automation and integration across different Microsoft applications and components. Database...
View ArticleManaging DNS servers using PowerShell
An excerpt from my upcoming book Installing and Configuring Windows Server 2012 Training Guide about how to manage Windows Server 2012 DNS servers using PowerShell.Read More
View ArticleHow does Windows Azure PowerShell import publishsettings using...
As you already know you can use Windows Azure Powershell to manage your Windows Azure Service. To get it started, you need to setup your development machine to be ready to use Windows Azure PowerShell...
View Articlescript for database patching using powershell
hi,I am new to powershell and i don't know how to patch database using powershell, can anyone post a script please?
View Articlegenerate sql server all databases script
Hi, We need generate sql serve all databases script using powershell. Because every day we have changed database procedures,tables we will change. Now we manually taken databases scripts. We want...
View ArticleMy First Projekt to Backup some Files
Hello everybody,It´s not my profession to write Powershell scripts by myself but I try it the last days.For you, I think is very horrible to see my script. But maybe it´s possible that you can help me...
View Articletools and permissions
Hi,I'm currently reading a Powershell Toolmaking book, and was wondering about tools and security... What would be a 'best practice' to accomplish the following:I want to write a tool to add a printer...
View ArticlePowershell 3 on Windows 7: New ADDS cmdlets not available
Hello,I have installed the MSU file KB2506143 on my Windows 7 x86 client to get Posh v3. $PSVersionTable.PSVersion says I'm running Posh v3.I am interested in the new ADDS cmdlets around replication,...
View ArticleGetting the systray \ toolbar count and selecting an item on the toolbar
Any help on getting the systray \ toolbar count and selecting an item on the toolbar
View ArticleUsing Get-SPWeb with UAG
I'm trying to use PowerShell to upload some local files to a SharePoint document library that's behind a UAG (MS's Unified Access Gateway). I've got code that I've used before to do this with non-UAG...
View ArticleGetting Exception Types that PowerShell might handle
In the traditional try/catch block, you might have something that looks like this:Try {# some dodgy code}Catch [<exception 1>] {"exception 2"}Catch [<exception 1>] {"exception 2"}Two...
View ArticleSoftware Installation with Powershell???
Hi all, Currently within my org., we use SCCM and VBscripts to install software packages. I am in the process of developping my own skills for various MS exams, but would like to take this (as in some...
View ArticleNo error on local session error on remote session
I open up PowerShell and type "Java -version" and get the correct output. I already edited my environment variables on the local machine to include java. Now when I enter a remote session and do a the...
View ArticleIssue with array length property
Hello. I am new to PS but a novice programmer, mainly in Java. I am modding a script I found on this site to collect the relevant data that I need and am confused by an array length. The code returns...
View ArticleConvert PowerShell script as EXE and execute from SharePoint portal
Convert PowerShell script as EXE and execute from SharePoint portal.Read More
View ArticleWindows PowerShell Command Builder 2.0 is here !!
This is an updated version of the Windows PowerShell Command Builder. Read More
View ArticlePowershell to read a different SYSLOC registry values of machines
Hi ,I require a script which can read a different sysloc value of registry in different machines using like switch cases .Once the value of sysloc is fetched i need to run installer. based on...
View ArticleSet-Location : Illegal characters in path
Hello,I'm terribly new with powershell and I'm used to PHP Coding.I'm stuck at the following: $path = $env:appdata + "\Thunderbird\Profiles\"cd $pathGet-ChildItem This steps work, but the following...
View Article