Quantcast
Channel: Windows PowerShell forum
Browsing all 21975 articles
Browse latest View live
↧

import-csv scripting issue

Hi all,I have an issue with using a csv as input for a script to add multiple workergroups to a xenapp published app. I have created a csv with a custom delimiter ";" because the paramater value needed...

View Article


is msol / 365 get license activation date possible?

HiI have been tasked with finding office 365 license activations.  All our users have theOffice 365 Education for students but only a handful have activated theOffice 365 Education Plus for students....

View Article


How to use PowerShell to track Office 2013 Installations in Office 365

Currently, Microsoft allows Office 365 Admins to see which users have installed Office ProPlus on their computers. This is done on a user by user basis. I'm looking for a way to run a report, possibly...

View Article

PowerShell and Excel - Can't minimize excel

I have a powershell script that pulls some basic information from servers and dumps it to an excel sheet.  It works fine as long as I leave the excel window open.  If I minimize the window I get blanks...

View Article

Counting Number of Times a Server Name Occurs in a CSV File

I am very new at PowerShell, and an intern, so I'm not the best at PowerShell right now.I am importing a .CSV with a list of servers with vulnerabilities. I am getting only the name of the servers, not...

View Article


How to Install/UnInstall Visual studio extension using PowerShell

Hi all.I try to install / uninstall visual studio extension use PowerShell scriptBut I just can find the Install like: start-process $visualextendsionpath.I can't not find the way to uninstall the...

View Article

How to delete empty OUs through command?

I work in a bank and there are a thousands of users with around thousand OUs so i got task to delete empty OUs but its a lot of OUs so its hard to delete manually one by one so please can anyone tell...

View Article

Exchange powershell help

I need to determine if a mailbox does not have their ABP set to 'student'.  I've written a script to determine if they are lacking the correct AD settings to make the ABP assignment happen but I seem...

View Article


Powershell can't reset disk

I was recommended to post this Powershell question here:...

View Article


All Computers and Last Logged on User to those machines from Active Directory.

I need a report or csv with All Computers and Last Logged on User to those machines from Active Directory.Computer Name | Last Logged on UserAny scripts/Ideas.?

View Article

No omitted results

I am using little snippets to detect server roles with powershell and I am having some issues getting results ommited.My Code: Import-module servermanager ; Get-WindowsFeature | where-object...

View Article

Setting 'Apply Group Policy' to Deny for a GPO Group through Powershell

Hi. I got a script that creates OU structure and creates all the groups when we set up new environments.I was hoping I could expand this script to also automate GPO creation. However I've encountered...

View Article

Has there been updates to transcription support in a PS 4 Windows Update?...

I utilise PowerShell transcription support heavily in my PS scripts. Essentially I utilise transcription as a replacement to having a logging framework - all logging is performed via Write-Host,...

View Article


Can you help me please, Screen Create User Powershell

I need to create logins, passwords and permissions in SQL, GUI via Powershell.my code is lost in the line 139.If ($objTextBox.Text -eq '' -and $objTextBox2.Text -eq '' -and $objTextBox3.Text -eq ''...

View Article

Powershell Parsing Question

I am very new to Powershell and was wondering if someone could help me out with parsing the following command as well as provide an explanation regarding the logic.. $BranchNumber = "2.14Main"...

View Article


Image may be NSFW.
Clik here to view.

Add-AdGroupMember cross forest issues

I am trying to add users from domain/forest B to groups in domain/forest AThe below cmdlets achieve that goal however the user gets added and only shows their Windows username from Domain B but that...

View Article

Image may be NSFW.
Clik here to view.

Connecting to REST based web service with powershell

I'm trying to query data from REST based web service with powershell. I have verified with Firefox restclient that the url and credentials I'm using are working:I tried the same thing with...

View Article


List out last logged on users over a periode

Hi,Just to be clear, im not a powershell or script person, so thats why im asking for help here.I want to find a script that can list out the latest logged on users and when they logged out. I want...

View Article

Generating report with enabled users with logon date.

Hello!Im trying to generate a HTML report where i get the output og users that have not been logged in since 1/1/2015. I have managed to make the report and it looks good except for one thing...I want...

View Article

how to get the page permissions

below is my requirement:i will be passing the page name and has a output i need to the list of permissions of the page..

View Article
Browsing all 21975 articles
Browse latest View live


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