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

Getting an error Creating an instance of the COM component with CLSID

I get the following error when I run the following script, please help me find the actual reason for this error:Creating an instance of the COM component with CLSID...

View Article


fifa ultimate team coins uguw dqor mnrg

Because only Samsung Note 2 Cases be close to the emperor ! Then she was silent for a child, gently pull Lin Junyi hand, Bong in his chest, and said, you know, Li Wang is so, is to eradicate you this...

View Article


start-sleep ??

I need to write a script that will do the following. Run 7 days after each reboot.Prompt the user if they want to reboot now. If they answer "no" give them the option to delay 2 hours, 4 hours or 6...

View Article

.ps1 script which should not be opened by others

Hello Guys,Am new to powershell, already started with scripting. for a specific task am using a poweshell script. But when i deliver it to use for all users. I don't want everyone to open the script...

View Article

Array of different psobjects...

I'm trying to export an array but can't get all colums out if they are missing for the first recordExample code to demonstrate the problem$MyArray = @()for ($i=1; $i -le 10; $i++){ $NewRecord =...

View Article


need to read from text file & write another batch file with some text

I have powershell script that export folder names to text file. then search for one file in all that folders, if found delete it. need to create batch file with some other text as well as folder names....

View Article

Powershell and html

Hi all.Please can you help me with the below script. This is basically a service monitoring dashboard. I will admit that im a newbie when it comes to incorporating html with Powershell.So far it all...

View Article

Build your knowledge of PowerShell scripting basics

If you don't know the basics of PowerShell yet, it's time to buckle down and learn how this language can ease Exchange management tasks.Read More

View Article


Using PowerShell and JEA to Secure Windows Server Systems

Microsoft Windows PowerShell and JEA simplify the process of moving from global administrator accounts to limited local accounts, a best practice in securing Windows Server-based systems.Read More

View Article


Tracking Your Day with PowerShell

Not too long ago, I received an email with a snippet of PowerShell code and a request for assistance. The code snippet used a little .NET code to retrieve the process for the currently active window....

View Article

Formatting question

I need help breaking down a return into a single item list.. here is what I am doing $forest=[System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()$forest.sites |Select @{ Name ="Site" ;...

View Article

Extracting Data from one CSV using another

Hello,I am attempting to extract data out of a CSV using another CSV. I have a large amount of users in CSV1, with properties attached to these users. I have another csv2, which contains a list of only...

View Article

Pin items to task bar for all users

I'm trying to come up with a script to pin select shortcuts to the task bar for all users.  I am using the following script but it only does it for the person who is logged on.Any help would be greatly...

View Article


Time your commands

When using Powershell I’ve always found it useful to be able to time how long commands/scripts are running for, invaluable when running long-running scripts. I used to do something similar to this in...

View Article

Help with CSV Output

I am trying to cobble together a script to compare two CSV files and output the difference to a third CSV.  So far it does show me the difference between the two files, but my Output file is not in the...

View Article


Getting Started

I no idea how to begin using this tool.  I found and algorithm to change my password for my office account because I have been having so much trouble getting things done right with Microsoft support....

View Article

UAC and credentials

Hello,i have a question, there is a way to use UAC credential in script ? i explain, i compile my script (gui) and ask for UAC when it lauch. all is working well i can after that lauch command like an...

View Article


louboutin outlet kh2P TkWn 7zvE4

Bursts of coercion pressure in the matrix method enchantment, Pu a contact, Xiao Yang began the arrangement with the top grade cents array of powerful bite direct collapse shattered. coach outlet x,...

View Article

WMI Remote Repair

Hello, I'm looking to write a script to remotely repair WMI.So far this is what I have.Invoke-Command -Computername $PC -scriptblock {net stop winmgmt /y}Invoke-command -Computername $PC -scriptblock...

View Article

Powershell scripts with html - can these be run using IIS?

Simple questionPowershell scripts with html - can these be run using IIS?I have some scripts that are going to be used as a service status dashboard. Thanks

View Article
Browsing all 8411 articles
Browse latest View live