In this situation, the cmdlet returns no results and you receive the following error message
W takiej sytuacji nie zwraca żadnych wyniki polecenia cmdlet i pojawi się następujący komunikat o błędzie
As an example, you can use the following cmdlet if you want to point to a different group to allow Group creation
Możesz na przykład użyć następującego polecenia cmdlet, aby wskazać inną grupę jako uprawnioną do tworzenia grup
Then, the cmdlet compares this list against the list of attributes that are retrieved for the aggregate schema.
Następnie aplet polecenia porównuje ten wykaz przeciwko listy atrybutów, które są pobierane dla agregacji schematu.
To run a cmdlet and save the result in variable, type a command in the following format, and then press Enter.
Aby uruchomić aplet polecenia i zapisać wynik w zmiennej, wpisz polecenie w następującym formacie, a następnie naciśnij klawisz Enter.
You can do this for an individual user by typing the following cmdlet
Type and enter the following cmdlet
Provides the cmdlet description, syntax, a full list of parameters and their usage, and examples.
Wyświetla opis apletu polecenia, jego składnię, pełną listę parametrów i sposoby ich użycia oraz przykłady.
To resolve the error, store the results of the first cmdlet in a variable, and pipe the variable to the foreach command.
Rozwiązaniem tego problemu jest zapisanie wyników pierwszego apletu polecenia w zmiennej i przesłanie jej do polecenia foreach.
The cmdlet returns a Boolean value, and true means the file exists.
Ten aplet polecenia zwraca wartość logiczną, a wartość true oznacza, że pik istnieje.
After executing a Format- cmdlet, your original objects are lost, and you're left with formatting instructions.
Po wykonaniu polecenia cmdlet Format- oryginalne obiekty zostają utracone i pozostają tylko instrukcje formatujące.
For example, you run the following cmdlet to move computerA from ou1 to ou2
Na przykład można uruchomić polecenie cmdlet następujące do przenoszenia komputera z jednostki JO1 do JO2
If the file does not exist, create it by using the New-Item cmdlet.
Jeśli plik nie istnieje, chcemy go utworzyć przy użyciu apletu polecenia New-Item.
When removal is complete, verify that your selected remote administration tools were removed by running the Get-WindowsFeature cmdlet as shown in step 3.
Po zakończeniu usuwania sprawdź, czy wybrane narzędzia administracji zdalnej zostały usunięte, uruchamiając aplet polecenia Get-WindowsFeature, jak przedstawiono w kroku 3.