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

powershell & mysql

I am trying to manipulate some mysql databases with powershell. I found a really informative post of a one size fits all database connector. So the connection part is working. My current crisis is I...

View Article


Check if AD users are enabled or disabled

Hello,I have a txt file with users SamAccountName and need to parse the file to see which users are enabled and which users are disabled.Thank youGordon

View Article


Import-Csv with multiple rows and columns

I have tried to sift through the forums for answers but I am unable to find anything or I am not understanding. I have a CSV file......

View Article

Get-Unique Ip address list

I am working on some code and I thought the Get-Unique cmdlet would be a perfect match for what I am trying to accomplish.  I cannot get it to work though tried many different ways to get the output to...

View Article

Site style change

I don't know why the style sheets were changed for the site, but bullets are no longer displaying correctly.  They show up in the "Compose" but not in the "Preview" or final.Bullet 1Bullet 2Numbered...

View Article


How To Have Non-Admin Execute A Remote SQL Job with PowerShell

I’m looking for a PowerShell solution to allow a member of AD group to invoke a SQL Job on a remote server where they are NOT an admin. The current concept is for them to invoke a command from a...

View Article

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

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

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

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
Browsing all 6937 articles
Browse latest View live