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

export-csv over writing 1st row

I have a powershell script that imports a list of students, ids, school, etc.. the script seems to work fine (i've stepped thru it in the debugger and i see it writing and overwriting the data) but...

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


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

how to check RAM Size

i want RAM size of all server in domain.this script help me in getting ram size localy but i want remotly for all server.i tired foreach but dint sort it for me.   function Get-RAM...

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


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

Bulk Registering Virtual Machines with PowerShell

I recently rebuilt a Hyper-V server – where all of my virtual machines were shutdown first and stored on a secondary disk.  Once I had finished installing the operating system and had Hyper-V up and...

View Article

#PSTip Tab Completion in PowerShell 3.0

PowerShell’s tab completion just got better in v3. In addition to all its awesomeness, it is now capable of completing service or process names, event log names, module names and the list is long.Read...

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


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

"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


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

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


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