I've been trying to get a "oneliner" to work for the purpose of traversing through a directory, fin…
10 years, 2 months ago
I am attempting to learn/use PowerShell. The following script should be a simple insert of wmi comp…
10 years, 3 months ago
I'm using the PowerGUI Script Editor to work on some scripts, and I'm constantly in fear o…
10 years, 4 months ago
By: Carl Federl
I am now into the world of Powershell. Get-Content gets the contents but how do i read the co…
By: Wobble Chops
I know I'm doing something silly & stupid, but I can't figure out what it is.
Here's the, very…
10 years, 5 months ago
By: Jeffrey Williams 3188
I'm having some troubles with WMI queries.
The queries themselves are fine my problem comes when ru…
10 years, 6 months ago
By: Nicholas Cain
Is the following code OK for trapping errors while stopping/starting services in powershell scr…
10 years, 7 months ago
By: Marios Philippopoulos
I have written a powershell script to search through a folder and find any database backups and res…
By: Robert Klimes
I want to write a function that returns a rowset and in turn feeds that to a loop.
Here is the …
10 years, 9 months ago
Is there a way to suppress this default output that I get while stopping a service?
By: matt stockham
I have the following lines in my powershell script. The sql-script file is in the same directory as…
When running the following I get the error below:
get-wmiobject -ComputerName XXXXX -query "selec…
There's a great article over at Simple-Talk[/url] on how to script out database objects using Power…
10 years, 10 months ago
By: Grant Fritchey
Here is my code
$a = get-content "C:\CheckSQLServer\sql\SQLTokyo.txt"
$a = Read-Ho…
11 years, 2 months ago
Viewing 14 topics - 496 through 509 (of 509 total)
You must be logged in to create new topics.