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

Populate Manager DN

I have the following Situation:I have users, that have an Extension Attribute called "ExtensionAttribute1" where on the user  the Manager employeID is saved (come from HR).Now i want to search the...

View Article


Running "WinRM QuickConfig" against Remote Machines and Remotely-Enabling,...

I am still learning my way around PowerShell, but getting a bit better everyday, things are looking up. One of the issues that my team and I are facing is Remote Management of domain level machines. A...

View Article


Remote Registry Help

I am trying to start the remote registry service for each PC to fetch a value from the registry but gettign error. At line:1 char:93+ ......

View Article

Powershell and executables

Hello, i am trying to run third party executable to sing my app.I have been hitting the wall all morning. it seems that Powershell does not like .exe :)SO in general i am trying to run following...

View Article

Domain controller NTP Source and time synchronization check

Created 2 scripts, one that will check which time source is being used, and one that measures the time difference. But now it want to combine those script and i'm not sure how to do it. I want the...

View Article


Get-ACL across different domains

Hello everybodySorry for my english in advance!I'm working on a Windows Server 2012 R2 with PowerShell version 4.I've got two different domains (domain1 & domain2). Domain1 trusts domain2 and...

View Article

Help with a PS script.

 Hey Powershell.comI need some help from you guys with a PS script i'm writing.The intended purpose of the script is to run checks on ACLs on folders in our filesystem (some 200k folders).The folder...

View Article

View All Available Azure Virtual Machine Extensions

Q: How can I see a list of all virtual machine extensions available in Azure, as well as the parameters that can be used?A: With the introduction of the virtual machine agent that's available as an...

View Article


Ransomware Leverages Windows PowerShell to Encrypt Files

Security researchers have detected a ransomware variant in the wild that is employing Windows PowerShell, the task automation and configuration management tool for local and remote Windows systems, in...

View Article


filter from powershell output

hi,this is my coomand line to get ad username  get-aduser -Identity test -Properties * | select directreports | % { $_.directreports | % {...

View Article

Pass more than one parameter using getElementByTagName

Hi All,How can I pass two DOM tags looking for the text in both of them so its returned to my file? I'm trying to write the "div" and "p" data to my file. If I have one then it works, why can I not...

View Article

New-ADUser Error

We have a script that runs twice every hour to create/update user accounts.  Until yesterday at 3:00 PM everything has been running fine.  I am now receiving the following error.  I am sorta lost here....

View Article

Uninstalling non-Windows hotfixes

Using Get-HotFix or wmic only shows Windows hotfixes.  If you have, for example, .Net or MS Office hotfixes, these tools do not see them.   Non-windows updates cannot be uninstalled using WUSA.exe....

View Article


Script to detect when Netbios name different than DNS name

Thank you for reading this.I am a PS greenhorn so please help with:I need a PS script which loads a txt list of computers one per line and identifies, redirecting to a text file same format, which...

View Article

how to find what a Url has been changed to

I am new to Powershell and I have a script that I inherited.  The script opens a URL link and downloads files from the web site to a local path.  The problem is that each month, the URL changes so I...

View Article


ControlUp 3.0 - New Citrix XenApp / XenDesktop Real-time metrics and...

Over the last couple of years ControlUp became one of the most popular management platforms for Citrix Admins managing XenApp and XenDesktop farms. ControlUp’s real-time performance views and built-in...

View Article

How do I use PowerShell to upload a VM when I have multiple Azure subscriptions?

As I’ve worked with Microsoft Azure, PowerShell has been a tool that has made my life easier.  When I just managed one subscription, PowerShell was easy because I was able to do a few quick Bing...

View Article


GetSID of the user,object: Registry, WMIC, PowerShell

At times, we are in a situation when need to identify the SID of any object. The security identifier (SID) structure is a variable-length structure used to uniquely identify users or groups.Read More

View Article

Using Power Shell to run scripts on a remote computer

I have been tasked with a job of creating a power shell script that can be run from the command prompt that will make use of Microsoft Word (2013) to open a specified word document and save it as a PDF...

View Article

iterating through an array to gather data for an email to a customer

Ok to start I'm extremely new to powershell. I've taken one class and now my boss thinks I'm proficient. What I am trying to accomplish :dump sql database into an arraysort array by owneriterate...

View Article
Browsing all 6937 articles
Browse latest View live