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

Need help in getting a special AD Group

Hi experts ;-)I'm having a Problem with searching a special Active Directory Group:I've build two Groups: Info and Test. Info is a Distribution Group. Test a Security Group.I tried to get the Info...

View Article


How to monitor Application Request Routing via PowerShell

Today I want to discuss with you how to monitor Application Request Routing via PowerShell script. In case that you are wondering what ARR is, probably you have to give a look at following link:Read More 

View Article


WMI CIM-plified Part 3: Remote Systems Management

We've been exploring the new world of CIM in PowerShell 3.0. Where this really gets interesting is when it comes to remote systems management. If you look at help for Get-CimInstance, you'll see there...

View Article

Windows PowerShell: Workflow activities in depth

When writing a workflow in Windows PowerShell, you need to remember that every command has to be translated into a Windows Workflow Foundation (WF) activity or an InlineScript activity.Read More

View Article

All Users Report

Dear,I am looking for a script that could generate ALL users report which should include:DN, CN, FirstName, LastName, DisplayName, Email , TelephoneNumber, Mobile, Description, Office ,pwdLastSet,...

View Article


Copy sections from a text file out to another text file

I'm new to powershell, but I need to read a text file and copy sections out to another text file.  Is this possible? I need to read the first text file line by line until I come to a specific word,...

View Article

Copy-Item or Robocopy

# Hi,# I would like to use a simple copy by Copy-Item , but criteria is to exclude a big folder while copying named "Virtual Machines":  copy-item...

View Article

Can I save body emails from specific sender to text file.

I want to save all emails (only body of that emails) from sender test@test.com to text files named as part of title this emails (titles are: <text> day_month_year number) in path...

View Article


SharePoint Service Issues.

I am having configuration issues. Someone has already installed and configured and missed few services like Excel Services, Performance Point, Search Server and few more. I am unable to find the...

View Article


Image may be NSFW.
Clik here to view.

My Options for Invoke-Command

I'm running into a real road block. I need to execute a method on a .NET COM object remotely. The only way I know to do this on a remote computer is through invoke-command. The problem is security  My...

View Article

How to delete an account

Could someone explain how to delete and account.Thanks,

View Article

PowerShell One-liner: Getting the List of Available ConfigMgr Cmdlets

Configuration Manager 2012 SP1 contains a slew of new PowerShell Cmdlets to help manage and manipulate your ConfigMgr environment. If you'd like to get the full list of available Cmdlets, you can use a...

View Article

PowerShell One-liner: Quickly Finding the IP Address for Hostname and Vice Versa

If you are required to locate either the IP Address of a hostname or the hostname associated with an IP Address, use these quick PowerShell one-liners to get the job done.Read More

View Article


$PrinterList = IMPORT-CSV C:\printersL.csv

 Need to include a csv file command belowLocation.ps1$printer = Get-WmiObject win32_printer -Comp PPR235QFLS01| Where-Object { $_.name -eq "OTT235Q-354A-X7535" }$printer.Location =...

View Article

PS 101: Checking and Setting PowerShell Execution Policy

One of the first steps to working successfully with PowerShell scripts is to correctly select the Execution Policy. If the Execution Policy is too strict, the scripts you find on sites like...

View Article


Rackspace fluffs .NET cloud support

Rackspace is making overtures to Microsoft users by broadening .NET support for its cloud and managed hosting, though these devs may be increasingly swayed by Azure.Read More

View Article

Using PowerShell to access event logs for SQL Server

This tip will introduce a few PowerShell cmdlets related to accessing and handling Windows event logs.  The event logs capture various system events that occur for both Windows and specific...

View Article


PowerShell script to extract T-SQL code from RDL files

One of the things I do in my day job at Microsoft Services is to review database design and T-SQL code. Now, when it comes to code, there is a challenge just to find ALL the possible code which hits...

View Article

PowerShell Security and Delegation - PKI and PSRemoting

Yesterday, I had a great time with the CincyPowerShell user group discussing security and delegation in PowerShell with PKI, code-signing certificates, PowerShell Remoting and PowerShell Web Access (...

View Article

Microsoft Refreshed Windows Azure with Point-to-Site, Dynamic DNS, Remote...

Microsoft has released enhancements to Windows Azure which includes support for Point-to-Site Connectivity, Software VPN Device, Dynamic DNS, Remote PowerShell, and Linux SSH in addition to remote...

View Article
Browsing all 8411 articles
Browse latest View live