Ransomware Written In PowerShell (And How To Disable It)
We’re huge fans of the flexibility of Windows’ PowerShell scripting language, but we’ve never contemplated using it to write malware. That hasn’t stopped one group of enterprising criminals building...
View ArticleManaging Internet Information Services with the IIS PowerShell Snap-In
Windows PowerShell has become a must-have tool for IT administrators. One of the latest and greatest PowerShell features is its ability to interact with and manage Microsoft IIS 7. The IIS PowerShell...
View ArticleDComSessionOptions and CimSessionOptions in Workflow
This question is a cross between WMI (via CIM) and Workflow. I hope I picked a reasonable forum.My code looks for a specific service on a set of machines. I am able to get this to work using...
View ArticleFormat-Table confusion
Hi, I'm pretty new to PowerShell, but just when i though i had figured Format-Table out, this issue emerged.. I made some simple examples to illustrate my confusion, and I hope you understand what i...
View ArticleThe Windows PowerShell cmdlets you need to know
When Microsoft launched Windows Server 2012, one of the most talked about changes was the increased reliance on PowerShell scripting. With more than 2,300 cmdlets to pick from, Windows administrators...
View Articleget-service from multiple computers from the AD
Hi,Im back with another formating issue =/the code below selects all computers from a single OU, picks up their name and then tests the connection to them and searches for the VM ware tools service$VMs...
View ArticlePowerShell Basics - Execution Policy and Code Signing Part 1
One will see in many places in Microsoft documentation and in several books out there that PowerShell has security system called Execution Policy, I personally do not agree this is a security measure...
View ArticlePowerShell Basics–Recommendations when Importing Modules
In the last blog post we covered the basics of importing Modules and PSSnapins to extend the shell, this provides us great flexibility in terms of expandability but at the same time depending on how we...
View ArticleRemotePS - File Access denied
Hi Exterps !The environement is Windows 2012 on Hyper-V only.What i try is: Open a remote PS Session and do Get-Child of a network drive[remoteserver]: PS C:\Temp> Get-Childitem...
View ArticleEbook V2 - Error in the chapter "Automatic" PowerShell Variables.
Hi, I read this chapter and I tried this command "Get-Childitem variable: | Sort-Object Name | Select-Object Name, Description -autosize -wrap".This command don't run because the options "-autosize"...
View ArticleProblem with typed variables
Hi,url of page : http: //powershell.com/cs/blogs/ebookv2/archive/2012/02/02/chapter-3-variables.aspx#examining-strongly-typed-variables Examining Strongly Typed Variables. Once you assign a specific...
View ArticleRunning a command in separate powershell window
Hi does anyone knows the solution to this below problem.1. We want to run a command in different powershell window2. once after starting the instance, control to come back to the parent window.3. Like...
View ArticleIntel® vPro™ Technology module for Windows* PowerShell Version 3.2.4
The Windows PowerShell command line shell and scripting language helps IT professionals achieve greater control and productivity. Using a new administrator focused scripting language and consistent...
View ArticleInvoke-RunspaceJob - Parallel Foreach using powershell runspaces
Invoke-RunspaceJob asynchronously performs an operation for each item in a collection of input objects, creating powershell runspaces to perform operations.Execution time for active runspaces can be...
View Articlepsconfiguration
I have created 2 configuration files, and registered both of them. The only difference between the files is I used -psversion in one and specified version 2. I used the same runas accounts and the same...
View ArticleNewbie Scripter College Question need help please
If someone could just point me in the right direction as to how to write this script, I would greatly appreciate it.Q: Write a script using the switch statement to prompt the user for a favorite fruit....
View Articlescript for AD
My final is to write a script for powershell to import all the users in the new network I just built. WE buillt 2 cities, 1 forest and he gave me a list of all the people in the company, he wants me to...
View ArticleList all Shared Mailboxes and the Users / Groups who have access
Well, looks like I've stepped in it again. I am trying to run a command that will list all of the shared mailboxes in the Exchange Org, as well as, list anyone who has full mailbox rights access. The...
View ArticlePowerShell file size scanner
This article describes how to monitor the file size on a server with PowerShell.Read More
View ArticleHow to change give "Author" permissions to a mailbox in Exchange 2010
Here is my issue: We have a shared mailbox that two departments use. let's call it "Inventory Request Mailbox". I've created a outlook form that the users can fill out and then send. This form is...
View Article