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

Sell CVV Good - Dumps TRACK 1&2 - Bank Login - Acc PayPal - WU Transfer - Ship

Buy Original FAKE Passports ,Id Card Drivers License Buy quality real and fake passports,driver's license,id cards, counterfeit moneyBest Quality Novelty real and Fake IDs and Passports,Marriage...

View Article


get-content -wait doesn't work for unknown reason

Hi,I'm using get-content with the parameter -wait as a logfile monitor on remote clients.It looks like this:get-content "$drive2\$progpath\log\message.log" -wait -readcount 0 -tail 10$drive2 is the UNC...

View Article


check if user exist and is active in AD1 or AD2

Hi,I've two AD's. and i have to check if specific user exist and is active in the AD1 or AD2 .how to do it.thank you for your help.

View Article

Automated Server Setup in Windows Server 2012 and Windows 8, Part 2

Let’s continue our discussion from last month (“Automated Server Setup in Windows Server 2012 and Windows 8, Part 1”) about tools that simplify server automation. Recall that, for this discussion, I’m...

View Article

How to modify script to work with a list

I am having trouble modifying an existing script to run from a text list instead of the Powershell VM extension command 'get-vm.'The script I found is this:$spec = new-object...

View Article


change date format

I read text file date format is 31-02-2014 08:00:00,and then i write the date to another text file,the date format is 2014-02-31 08:00:00,how can i change?old format is DD-MM-YYYY hh:mm:ssnew format is...

View Article

Search everything in Exchange

Hi , In the Exchange console there is the find option, this will based on your search show all ( Dynamic Dist. groups, Mail Universal Dist. groups, shared mailbox).what is the powershell script befind...

View Article

Export powershell function

Hi,I wrote several functions in powershell(diff versions) on my day to day tasks. I have a general question. I write a function like,Function Test-function {........} and save it as test.ps1.Now when I...

View Article


Combining data comming from a Query in different SQL servers in the same data...

Hi guys, I need your help in powershell + SQL. My problem is the following. I have a function that query some SQL servers. The query is the same in all cases. Basically in the functions, I do  1. I...

View Article


Read folder name and use it text file

Hello, i need a little help here.I am pretty new to powershell, can write some basic scripts but when comes to matching names of files and folders and after that uding them i am lost.I need s script...

View Article

Windows Defender Built into the Next Version of Windows Server

Windows Defender, Microsoft's long-standing malware protection component of the Windows client, will now come as a default installation of the next version of Windows Server.Read More

View Article

O365 mailbox move

Hi allUsing shell I can move mailboxes to 0365 by running the following cmdlets, I just need to manually add prem and cloud creds when prompted:$LiveCred = Get-Credential (ENTERS CLOUD ADMIN...

View Article

Query AD Field Output From Get-ADUser - Convert DN to Email?

I've got an interesting problem and I cannot find any help via search engines.  Here's the skinny...I have a script that queries Active Directory and finds enabled users inside a specific OU that meet...

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

Cannotchangepassword option PS not working...

HiI am a PS newbie, and I have a problemThe cmd seems to be ok, and I can't understand why it dont...:-S Like I sayd Im a newbie at this.....$user = Get-Content "c:\temp\xxx.txt" |ForEach-Object {...

View Article


Rename workgroup computer and join to domain

What I thought would be a simple task has proved daunting.  I keep running into snags with each approach.  I will start out with my first pass and gather any input.  I am taking a workgroup-based PC,...

View Article

Export csv sort by column

$tag_file = Select-String -pattern "!"  $fname_tagFor ($a=0; $a -le $tag_file.length; $a++){    $a_tag = $tag_file[$a] -split "!"    if($a_tag[1] -eq "1")    {        $type= "P"    }    if($a_tag[1]...

View Article


Be a PowerShell Champion

I need PowerShell, you need PowerShell, we all need PowerShell...but getting the time to invest in learning the technology can be a challenge!  We all have a lot of pressure to be productive with our...

View Article

How To Scan for Expiring Certificates in PowerShell

PowerShell remoting will allow you to locate the expiring certs before they cause your Web site to go down.Read More

View Article

Query for expired certs to CA shows datetime as +6 hours off for...

I am having a problem obtaining the list of expired certs from the previous month. When I query my CA the returned value for NotBefore and NotAfter is +6 hours from the actual time as displayed in the...

View Article
Browsing all 6937 articles
Browse latest View live