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

The Differences Between Running PowerShell in Normal Mode Versus...

If you're confused about which mode to run PowerShell in, there are some distinct differences and reasons why you would want to run one mode versus the other.Read More

View Article


Import multiple PST files to archive database

I need to create some script for import pst users archives to EXCHANGE 2010 sp1 database.Mail archives stored on single file server \\FILE-SERVER\PST\%Username%\An amount and name of files is different...

View Article


Need PowerShell Script to Deploy Multiple Application (.exe and .msi both)

Hi Team,I am new to PowerShell and this forum, currently I am using MDT task sequence to deploy multiple Application (.exe and .msi both) after the operating system. But I am getting Error code 1618...

View Article

Add hebrew to powershell

My mailboxes have hebrew names. When i want to view or use hebrew at the exchange it show up as gibberish. So i cannot use many of the commands. How can i set the exchange shell to use hebrew?  

View Article

Need PowerShell Script to Deploy Multiple Application (.exe and .msi both) to...

Hi Team,I am new to PowerShell and this forum, currently I am using MDT task sequence to deploy multiple Application (.exe and .msi both) after the operating system. But I am getting Error code 1618...

View Article


Need powerShell script to run some commands on Laptops only

Hi I need some script that identify laptop machines than only run below Command to make a wifi Profile on laptops only....netsh wlan add profile filename="PATH_AND_FILENAME.xml" Interface="...

View Article

Going Further with ForEach

In "Introducing the Pipeline and ForEach" and "From One-Liner to ForEach One-Liner," I've shown you how the ForEach cmdlet and the pipeline variable $_ together let you write simple one-liners in a...

View Article

From One-Liner to ForEach One-Liner

In "Where-Object and the Pipeline" and "Introducing the Pipeline and ForEach," I discussed the two essential building blocks for one-liners: the pipeline and ForEach. This month, I want to show you how...

View Article


Going Further with ForEach

In "Introducing the Pipeline and ForEach" and "From One-Liner to ForEach One-Liner," I've shown you how the ForEach cmdlet and the pipeline variable $_ together let you write simple one-liners in a...

View Article


Geting Directory Size

Hi Guys,I am new in Power shell. I will appreciate if somebody answer my question.I am going to get the size of directory ( considering  subdirectories , files and folders ) . Here the command which I...

View Article

Need help

I am checking particular key value exist or not from Test-Path but desire output is coming wrong so kindly give which command let we will use for...

View Article

To receive email alert when each new PC join to Domain

I need a script for receive email notification if there is a PC joined into Domain Please help.THanks

View Article

I need poershell script

Specification-1.1                      PrerequisitesPowerShell Version 2.0 or later is installedThe device is managed by Managed Workplace MW2013R1FP3 1.2                      Supported Operating...

View Article


filtering property for Get-WmiObject

I wanted to check a list of PC's to see if they had a static IP address set or not so I put together this bitGet-WmiObject -ErrorAction SilentlyContinue -ComputerName $List...

View Article

Question about Powershell and iSCSI

I am looking for a way to run a powershell command on a datacenter/list of servers.txt that we are getting ready to refresh. We have found that some of there virtuals have iscsi connections. So I need...

View Article


Security Eventlog Logon User on Remote server

Ive been looking for a way to search in the eventlog of a remote server.I need to query the security eventlog to find out which User login "Account Name" for auditing and output to a CVS file. Can...

View Article

How can I emulate this unix command in power shell?

HiBelow is a line that runs a Symantec command that will report on tapes in my tape library that has been written onto over the past 24 hours. This unix command searches for lines that contain the...

View Article


Delete last occurrence of a string in a file

Hi,I'm using PS to generate some SQL files, a bunch of them being multi-table inserts. How would I delete the last occurrence of UNION ALL in my files?Thanks

View Article

Image may be NSFW.
Clik here to view.

Powershell script to Install Certificate in Active Directory store

Hi Everybody!I'm trying to write a powershell script to install a certificate into the active directory certificate store,Here are the steps to do this manually, any help would be greatly...

View Article

Remoting Function Strategy

I have written a few advanced functions that take advantage of remoting cmdlets such as Invoke-Command or Get-WMIObject and I have a general question regarding how to write these functions.One function...

View Article
Browsing all 8583 articles
Browse latest View live