Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

Display a total in HTML Output

I am trying to generate a report for my boss that shows the total number of stale PC accounts. The problem I am having is that the output does not appear on the HTML. I know the operation works. I...

View Article


Transcript Logging - Powershell

So here's what I have in my Powershell profile, which I snatched from somebody else here on Spiceworks:Powershell## Transcript of session, which is supes useful because I forget...

View Article


Get-adGroup DO while loop

Hey guys, I'm trying to figure a way to check if an AD group already exist after inputting into a variable.I think I know the problem is , I just don't know to fix it. I think the While loop doesn't...

View Article

Image may be NSFW.
Clik here to view.

Powershell WSUS question

I have a question regarding the "Approve-WsusUpdate" command.I have accidentally approved a ton of updates in WSUS and I want to get them back to the default of "NotApproved." I want to do this because...

View Article

Powershell and Visual Studio

Hey all. I have a front end in Visual Studio in VB script for collecting all the data and group membership someone would have to be entered into AD. And I know the powershell commands to get that data...

View Article


Image may be NSFW.
Clik here to view.

Anyone own Learn Windows PowerShell in a Month of Lunches?

What are the first three command lines in it (and do they work)?CLARIFICATORY EDIT: I've no doubt that these first three commands the reviewer refers to do actually work, I just want to know what they...

View Article

PowerShell Book - Reviewers wanted

Hi,I'm working with another chap on my next book. We will have, via the publisher, a tech editor and substantive editor (dealing with the grammar, etc). But what I'd really value is some PowerShell...

View Article

New Azure AD cmdlets

Has anyone tried to use these in anger yet?I have a number of scripts for Azure AD tasks created using the MSOL cmdlets, such as adding domains, retrieving the DNS verification records, confirming the...

View Article


Power dell who has access and when last time accessed files

Hello I have been tasked to find a power shell that allows me to see who has access to files and when the last time they accessed the files.Is there one out there that will do both of theses or do I...

View Article


I wish I had known about this sooner!

Don't laugh, but at the financial institution I work for, we have a telephone banking server. Old school, I know, but its used over a 1,000 times each month. I don't get it, but its true :)We have been...

View Article

Robocopy to Scheduled Task

How can I setup a scheduled task in Windows 2008 server to run a Robocopy command?

View Article

Running a schedlued task as a gMSA account

I have a task that needs to run a batch file on regular users computers. I am trying to get this done as a service so I don't need to worry about password changes of the administrator account. During...

View Article

Failed login attempt script not outputting all attempts

I have a script that I took and modified for my own purposes, and I have it outputting to a text file, then converting it to a CSV so I can manipulate it for reporting and documentation...

View Article


help with out-file

hi guys,need some help with out-file.im wrting a long script and want a log file part of the script:Textget-date | Out-file $desktopdir\logs.txt -append Write-Output "Adding New DNS name:"...

View Article

looking for assistance with my first ever powershell script

Hi folks,I am making my first foray into powershell scripting. Here's what's going on.We have a fax server that provides a fax number to each person in our office and then provides one for the office...

View Article


Cant Install a SQL Server

Hello GuysI got a short question:I want to install with Powershell a SQL Server, and I know it is possible. So I searchedon the Internet how to do that and found this page:...

View Article

Folder Size

Good morning, I am trying to get the folder size for a root folder. I have a script I use (see attached) with a csv path to the root folder (example \\server\shared\root folder1, \\server\shared\root...

View Article


Powershell to look in list and copy files

Hi,getting a bit lost and confused now , i have been trying to create a power shell command so as i can copy some .zip files into another folder and then archive offi have generated the lists of file...

View Article

Powershell with CSV and HTML

Good Morning everyone!I am currently creating a script that pulls multiple reports such as the current SEP date, Last boot time, inactive computers, ect, and the info is divided into different CSV...

View Article

Cleaning up the "Users" folder

We don't use Roaming Profiles, which means that we have lots of folders in our "Users" folders on our PCs that are created when a user may need to log in to a PC once for a specific task.I know i can...

View Article
Browsing all 15370 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>