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

Execute an elevated script in a non interactive mode

Hello,I'm trying to execute a powershell script to install some Updates for Windows. But when I execute it in a non interactive mode, I have this message : "To perform some operations you must run an...

View Article


Advanced attack group Deep Panda uses PowerShell to breach think tanks

An advanced nation-state attack group in China is spying on new victims, and making use of Windows PowerShell to infiltrate think tanks and leave little evidence of their exploits.Read More 

View Article


Merging Application Objects using Windows PowerShell

Upgrading a Microsoft Dynamics NAV solution is time consuming. You have to identify which changes you have to make, you have to upgrade the application objects and the application code, and you might...

View Article

Is there a way to loop thru Windows 8 Apps and remove them all

Windows apps are annoying and I would like to remove them. Been playing around with Powershell and scripting and I wanted to know if there was a way I could use powershell to loop all the apps and...

View Article

HP Scripting Tools for Windows PowerShell

Are you looking for a way to automate your HP Server configuration tasks? HP Scripting Tools for Windows PowerShell is a powerful set of utilities that can be used to perform various configuration...

View Article


Saving page in file

Good morning,I'm developing a project in Powershell. My code is below. Basically it should log into gmail site and save content to file. But I am not getting save the page of my emails on file. I've...

View Article

Removing ACE from ACL of an OU in Active Directory

I work for a big consultancy firm and our AD consists of multiple domains and over 200,000 users and 100,000 groups. Rescently Microsoft did a scan for us to guage which groups and accounts have...

View Article

Exit a ForEach-object loop if a value is found to be Null

I have a script that I'm writing that goes through a CSV from our HR dept.  They provide me with a list of people who have left but not all of them have an AD account so I need to filter it before I...

View Article


Getting AD Users and deleting their Profiles

Hi, i´m fairly new to scripting and especially new to powershell. i will attend a powershell training in a month but i want to play around a bit on my own ;)'so i have a script which generates AD Users...

View Article


Checking that a file backed up to the NAS exists

I have a backup powershell script that copies files from the server to our NAS, which is remotely located with a login.  I am writing a powershell script to check that the file has been backed up, but...

View Article

What version of PS is supported on WINDOWS SERVER STANDARD?

I have a PS console on a server that is of WINDOWS SERVER STANDARD version. I need to install PS 2 OR 3. Is it supported on this OS? If yes, can someone point me to the installables. I tried...

View Article

Check for existing file

Greetings all,I currently have a script that returns the number of days since the last sucessful Windows backup. We found a couple of servers that don't have Windows backup configured so there is no...

View Article

Implement Easiest Solution to Restore Windows XP BKF Files In Windows 2007 Os!

Before sometimes, I was encountering Windows BKF file corruption problem because my all XP created (.bkf) file has been damaged and dissolved due to unexpected virus attack. After corrupt BKF file, I...

View Article


Azure Automation and PowerShell at PS Bangalore User Group

I will speaking about Azure Automation at the upcoming PS Bangalore User Group (PSBUG) meeting on July 19th, 2014. Also, the theme of this user group is to talk about PowerShell in the context of Azure...

View Article

Azure Maximums and Resource Usage from PowerShell

Have you ever struggled to find out how many VM cores, HDInsight cores, storage accounts, or other Azure resources your subscription is set to allow or how many you actually use? Maybe you want to use...

View Article


Deleting an Office 365 Site Collection using PowerShell

In the last post I showed you how to remove a complete Office 365 SharePoint Online site collection via the web interface. Now I’ll show you to do it with PowerShell. Read More

View Article

Monitoring Local Administrators on Windows Hosts

It is always gratifying when one of my readers comes to me with a problem. I love challenges. This one had to do with one of my old posts surrounding Local Administrators remotely. Of course, the way...

View Article


Another CSV sorting question.

Hi,I am new to powershell but need to sort some data from a csv file but what ever I try, the result is an error. I will try to paste a small part of the csv...

View Article

File size & Directory audit

I have a server full of millions of files with directory structure that looks a little like...

View Article

delete a user in group that is disable

Hi What I want to do is to be able to delete a user in group (OU) that is disable. Someone disabled a user but never deleted the user in anygroupIs it possible to use :get-qadgroupmember MyGroup...

View Article
Browsing all 8411 articles
Browse latest View live


Latest Images