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

Authoring Integration Modules for Azure Automation

If you’re familiar with Azure Automation, you’re probably aware that PowerShell is the fundamental technology that makes Azure Automation great. But PowerShell itself is great due to its extensibility...

View Article


Banking Statement Phish Carries Nasty PowerShell Payload

A new phishing campaign is going around that uses Word documents and macros to spread information-stealing malware. The lure is the tried-and-true banking statement gambit. With a simple subject line...

View Article


Controlling Windows Firewall with PowerShell, Part 2

Knowing the rules about firewall rulesRead More

View Article

Copy-Item Protocol?

Hello Experts, Does anyone know exactly what Copy-Item uses for file transfers?

View Article

2nd GET command not displaying information.

         Hello,How do I get the 2nd GET command to display the information on the screen.I'm trying to accomplish displaying the AD group name, AD group Description, and group members.The command...

View Article


Required Bit Locker Status Check on Multiple systems

Hi I need a help from you friends, I am working in a IT sector where Bitlocker is one of the serviceI have List of more than 5000 plus computers , i need to check the status of all computers and need...

View Article

Cannot resume PowerShell Workflow (Job) after System Startup using Task...

Hello PowerShell gurus, I have a question that has kept me up the last two nights trying to find a solution. I hope someone can assist or provide some guidance. Thanks in advance for your assistance....

View Article

Wirite-host requesting parameters

Hi,when I've written a script that requires parameters and try to run the script without passing them how do I get the script not to error but simply write out a help message of the parameters...

View Article


extensionAttribute powershell issue with .net and a great script

Hello,    I have a great script i found and modified for my system. The only issue I seem to have is line 403 does not get line 398 and 399. they are  extensionAttribute1 = $extensionAttribute1...

View Article


Image may be NSFW.
Clik here to view.

ADSI code to add a Local user to Local Group doesn't work

Hi friendsit about 8 hours i am working on following simple code but no result. i feel i am loosing my eyesi need to use a code within my PS script to add a Local user to the built-in "Users" Local...

View Article

command line gpi/gpo via serial or parallel port

I'm looking for a way to do some simple GPI/GPO automation via either the parallel port or the serial port. I need to be able to send triggers out from the PC, and read triggers sent by external...

View Article

How To Ping the Serves From List and Parse the Output to Store Selected...

Hi there!Would you be so kind to compose a PowerShell script which does the following? I am trying to do it by myself, but having really hard time with it :(1.There is a file which contains a list of...

View Article

select-string searching for "[]"

Hello,I want to use select-string to look for "![]" in a set of text files, but the error returned is: The string "[]" is not a valid regular expression: parsing "[]" - Unterminated []...

View Article


Exporting MSI package codes to CSV

I have the below script that outputs Product_Name, Product_Version and Package_Code.  I need to export to csv Product_Name, Product_Version and Package_Code.  I've attempted this from within the...

View Article

Help with Active Directory writing to Excel

I need help writing a script that reads an excel worksheet called “AD User List” that contains in Column A the Active Directory (AD) acct IDs of all users in our domain. For each AD acct listed in this...

View Article


I seem to be having problems pulling a listing of connected monitor sizes

I'm trying to pull a listing of how many monitors are connected to each computer and the size of each monitor. When I run the script, using my local computer in the input file, the output looks like...

View Article

Help with output of Account name

I have a script to run on the security log to show account name in the log that is outputted. problem is I am not sure how to 'find' and bind this item out of the log $ELogs = Get-EventLog security...

View Article


Image may be NSFW.
Clik here to view.

How can I Remove an Account from "Log on as a service" Local Security Settings?

I am having an issue with a service account that has been granted Log on as a service access. I'd like to remove the sp_admin account seen in the attached screenshot from the Log on as a service....

View Article

Module

where can I find the modules and how do I install them into powershell

View Article

Image may be NSFW.
Clik here to view.

need a utility to edit powershell PS1XML files more easily

hi friendsas I mentioned in my earlier threads I'm going to create new PowerShell formatting files (PS1XML) to customize the output of some common Cmdlets for example Get-Childitem and so on.I've...

View Article
Browsing all 6937 articles
Browse latest View live