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 ArticleSSAS Cube Annotations
Hi, as you know that each SSAS database Cube has Annotations objects that contains things like, comments, list of SQL table names for mapping and lots of other objects, best way to see them is...
View Articleuser credential prompt
Hi , I have this script to change user password . One user has multiple admin account . So try to change password from powershell script. Here my question is is there any everytime script prompt for...
View ArticleTest-Path from a list
This should be fairly easy and i did similar with test connection. I have a list of home drives, that were established in AD.90% have this set but the folders do not exist. I used $Test = get-content...
View Articlefilter from powershell output
hi,this is my coomand line to get ad username get-aduser -Identity test -Properties * | select directreports | % { $_.directreports | % {...
View ArticleRemote 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 ArticlePowerShell Desired State Configuration Takes on Linux
Microsoft continues to invest in PowerShell, its command-line shell and associated scripting language. PowerShell Desired State Configuration (DSC) can now manage Linux boxes.Read More
View ArticleExecute PowerShell Scripts in Scheduled Tasks using Sitecore PowerShell...
At the Sitecore User Group Conference 2014, I demonstrated how to invoke PowerShell scripts in a Sitecore Scheduled Task using Sitecore PowerShell Extensions, and felt I should pen what I had shown in...
View ArticleSitecore PowerShell Extensions
The module provides various PowerShell Tools & Extensions (Console, Integrated Scripting Environment & plugs into various Sitecore pipelines) allowing for scripting within the Sitecore Desktop...
View ArticleInstall software with powershell
Hi All,I am trying to build a script which would install some softwares one after the other. As the exe's cannot be tuned to use with powershell, I am using something like this, invoke-expression,...
View ArticlePopulate 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 ArticleRunning "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 ArticleDomain 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 ArticleGet-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 ArticleHelp 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 ArticleView 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 ArticleRansomware 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 ArticlePass 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 ArticleNew-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