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

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


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


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

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

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


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


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


Set file association in Windows 7.

I'm working a contract, Windows 7 migration. If I can come up with a script to set a file association for .tif and .tiff I may be able to get on permanent (long-shot, maybe).  Any tips on where to...

View Article

Server Logon and Limit Windows Explorer

New guy here, We have a server 2008 R2 (32) which is a domain controller, we recently switched from open storage (6 raid-5 drives in the server) to closed storage (removing the drive) every night. I do...

View Article


Getting information from all HyperVisors

Hello,We currently have 6 HyperVisors running in our domain. Lets call them Server1 through Server6, with numerous virtual machines on them.I want to get information from them through Powershell,...

View Article

Image may be NSFW.
Clik here to view.

Collect SMIME Certificates from Internet Explorer

Hi there! Thanks for reading my message. I have the following question to ask: We have an 2008 R2 Active Directory Environment with mostly Win 7 & IE 11 ClientsFor some of our employees we order...

View Article

Send Multiple Outputs to same HTML in Powershell

Friends,Can you please help me with PowerShell script to Send Multiple Outputs to same HTML (in a single table stretch)  in PowerShell . I have a made a script , but it gets the details in Different...

View Article
Browsing all 6937 articles
Browse latest View live