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

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


AD group member count - Memory issue

Hi Guys,Im attempting to write a script that does a count of users in specific groups & regions. So basically if the group is part of specific OU then do a Get-QADGroupMember and increment the...

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

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


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


Windows Azure PowerShell June 2013 Update for IaaS and PaaS

The latest release of the Windows Azure PowerShell cmdlets has a huge amount of functionality for both Windows Azure Virtual Machines and significant improvements to Cloud Services.Read More

View Article

It's In the Mail Part 1: Sending PowerShell Data via E-Mail

It is very easy to get a lot of information out of PowerShell. But sometimes it isn't as easy to get it where it needs to be. One solution is e-mail. Everyone has it so why not send data pulled from...

View Article

Windows Server 2012 R2: Key features

Windows Server 2012 R2 is a comprehensive refresh of Microsoft's server platform, with advances in storage, networking, Hyper-V and across the board, according to the firm.However, some features stand...

View Article
Browsing all 8411 articles
Browse latest View live