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

Bulk update SharePoint 2010 user e-mail address using Powershell script

In this blog we will see how to bulk update or update multiple user’s e-mail address using one single powershell script.We will create a csv file with some dummy names and e-mail address.Read More

View Article


Free Script: Network Team and Virtual Switch Manipulation for Microsoft...

Altaro has designed a PowerShell script to help you with network team and virtual switch management in Hyper-V Server 2012. It will also work for Windows Server 2012.Read More

View Article


Image may be NSFW.
Clik here to view.

Disable and Uninstall a device

Hello,How can I disable and uninstall a specific device. I can get device as below:Get-WmiObject Win32_PNPEntity |  Where-Object {$_.Name -like "*$DeviceName*"}PS: I want to do belows scenerio by...

View Article

Processor

i want to check processor of all servers but i want remotly for all server . i tired this below script but it show  processor of local system every time .i tired with this also  -ComputerName parameter...

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


check OS confi

i wanted to knwo operating system configuration whether its 32bit or 64 bit .this below cmd helped me in getting os of particular systemi.e Get-WmiObject -Class Win32_OperatingSystem | Select-Object...

View Article

Image may be NSFW.
Clik here to view.

IE history: Days to keep pages in history

Hello,I am tring to configure IE setting by using RunDll32.exe.$Code = 1, 2, 8, 16, 32, 255, 4351$Operation = "History", "Cookies", "Files", "Form Data", "Password", "All Information", "All Information...

View Article

Image may be NSFW.
Clik here to view.

Disabling local devices and resources for remote connections

Hello,How can i disable selected (only for C drive; or only for clipboard and smartcards) or all disks/drives/devices for remote connection using Powershell (V2).I want to below operation using PS...

View Article


Interactive logon: Prompt user to change password before expiration

Hello,I want to configure interactive logon settings for stand-alone computer by PS v2 on Windows7.I set local settings a below:"DontDisplayLockedUserId", # Display user information when the session is...

View Article


Create PS script for PS 2.0 on computer with PS 3.0

Hi, I have Win7 and Windows PowerShell 3.0 on my computer.I wonder, can I choose PS version when I create script, like in Visual Studio when i create new project and I choose .Net Framework version on...

View Article

Accessing Oracle Database 11g with Powershell

Hi there Has anyone any experience with accessing a oracle 11g database in powershell? Is there a module which can be downloaded in order to access a oracle database. I want to extract data from a...

View Article

"Passwords must meet complexity requirements" and "Store passwords using...

HelloI want to configure local password policy for a stand-alone computer as below:Enforce password history: net accounts /uniquepw:XXXMaximum password age: net accounts /maxpwage:XXXMinimum password...

View Article

Parsing column in csv file

I haver a csv file with a column containing host names. Occasionally the host name is shown as a FQDN and I need to remove the domain part ie '.me.co.uk' for those entries. The data comes from...

View Article


Get number of items in the 'Inbox' folder of mailbox

Hello,I need a script that will report on the number of mail items in the 'inbox' on our Journal mailbox for Exchange Server 2010. Thank you

View Article

How To Resolve a PowerShell Kerberos Issue

Today I was trying to connect to an Exchange 2013 server using remote PowerShell, and I had this strange error come up:Read More

View Article


PowerShell Workflow for Mere Mortals: Part 5

Summary : Microsoft Scripting Guy, Ed Wilson, concludes his five-part series about Windows PowerShell Workflow.Read More

View Article

#PSTip Dynamically hiding a function from the debugger in PowerShell ISE

 In this tip, I want to show a dynamic way of doing the same, a way that doesn’t require access to the function code if for any reason you cannot decorate a function with the mentioned attribute. Here...

View Article


PowerShell v4 Desired State Configuration Cheat Sheet

If you are interested in the new PowerShell v4 feature Desired State Configuration you can download a Cheat Sheet at the Microsoft Download Center.Read More

View Article

SQL Servers Service status

Hello everyone.Can anyone offer me some advice on how to check thru a list of servers to check their SQL server service status , started , stopped etc.I need to do this using SQL authentication as I...

View Article

Connect to SQL Compact Edition (CE) using PowerShell

Hello,I support an application that deploys an .sdf file. I would like to query/edit the contents of the file using PowerShell.I'll assume I'll need at least CE and the SQLPS module installed. I'm OK...

View Article
Browsing all 8411 articles
Browse latest View live


Latest Images